Searched refs:blocker (Results 1 – 8 of 8) sorted by relevance
| /linux/include/linux/ |
| H A D | hung_task.h | 46 WARN_ON_ONCE(READ_ONCE(current->blocker)); in hung_task_set_blocker() 55 WRITE_ONCE(current->blocker, lock_ptr | type); in hung_task_set_blocker() 60 WRITE_ONCE(current->blocker, 0UL); in hung_task_clear_blocker() 71 static inline unsigned long hung_task_get_blocker_type(unsigned long blocker) in hung_task_get_blocker_type() argument 73 WARN_ON_ONCE(!blocker); in hung_task_get_blocker_type() 75 return blocker & BLOCKER_TYPE_MASK; in hung_task_get_blocker_type() 78 static inline void *hung_task_blocker_to_lock(unsigned long blocker) in hung_task_blocker_to_lock() argument 80 WARN_ON_ONCE(!blocker); in hung_task_blocker_to_lock() 82 return (void *)(blocker & ~BLOCKER_TYPE_MASK); in hung_task_blocker_to_lock() 91 static inline unsigned long hung_task_get_blocker_type(unsigned long blocker) in hung_task_get_blocker_type() argument [all …]
|
| H A D | sched.h | 1250 unsigned long blocker; member
|
| /linux/kernel/ |
| H A D | hung_task.c | 135 unsigned long owner, blocker, blocker_type; in debug_show_blocker() local 140 blocker = READ_ONCE(task->blocker); in debug_show_blocker() 141 if (!blocker) in debug_show_blocker() 144 blocker_type = hung_task_get_blocker_type(blocker); in debug_show_blocker() 148 owner = mutex_get_owner(hung_task_blocker_to_lock(blocker)); in debug_show_blocker() 151 owner = sem_last_holder(hung_task_blocker_to_lock(blocker)); in debug_show_blocker() 156 hung_task_blocker_to_lock(blocker)); in debug_show_blocker() 160 hung_task_blocker_to_lock(blocker)) ? in debug_show_blocker()
|
| /linux/include/trace/events/ |
| H A D | filelock.h | 72 __field(struct file_lock_core *, blocker) 86 __entry->blocker = fl ? fl->c.flc_blocker : NULL; 98 __entry->i_ino, __entry->blocker, __entry->owner, 129 __field(struct file_lock_core *, blocker) 141 __entry->blocker = fl ? fl->c.flc_blocker : NULL; 151 __entry->i_ino, __entry->blocker, __entry->owner,
|
| /linux/fs/ |
| H A D | locks.c | 700 static void __locks_wake_up_blocks(struct file_lock_core *blocker) in __locks_wake_up_blocks() argument 702 while (!list_empty(&blocker->flc_blocked_requests)) { in __locks_wake_up_blocks() 706 waiter = list_first_entry(&blocker->flc_blocked_requests, in __locks_wake_up_blocks() 797 static void __locks_insert_block(struct file_lock_core *blocker, in __locks_insert_block() argument 806 list_for_each_entry(flc, &blocker->flc_blocked_requests, flc_blocked_member) in __locks_insert_block() 808 blocker = flc; in __locks_insert_block() 811 waiter->flc_blocker = blocker; in __locks_insert_block() 813 &blocker->flc_blocked_requests); in __locks_insert_block() 815 if ((blocker->flc_flags & (FL_POSIX|FL_OFDLCK)) == FL_POSIX) in __locks_insert_block() 826 static void locks_insert_block(struct file_lock_core *blocker, in locks_insert_block() argument [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | cmsg.c | 267 bool blocker, filler; in nfp_bpf_ctrl_op_cache_put() local 269 blocker = nfp_bpf_ctrl_op_cache_invalidate(op); in nfp_bpf_ctrl_op_cache_put() 271 if (blocker || filler) { in nfp_bpf_ctrl_op_cache_put() 278 if (blocker) { in nfp_bpf_ctrl_op_cache_put()
|
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_requeue_pi.c | 323 pthread_t waiter[THREAD_MAX], waker, blocker; in TEST_F() local 354 if (create_rt_thread(&blocker, third_party_blocker, in TEST_F() 384 pthread_join(blocker, NULL); in TEST_F()
|
| /linux/lib/ |
| H A D | Kconfig.debug | 1282 Say Y here to show the blocker task's stacktrace who acquires
|