Lines Matching refs:blocker

749 static void __locks_wake_up_blocks(struct file_lock_core *blocker)  in __locks_wake_up_blocks()  argument
751 while (!list_empty(&blocker->flc_blocked_requests)) { in __locks_wake_up_blocks()
755 waiter = list_first_entry(&blocker->flc_blocked_requests, in __locks_wake_up_blocks()
846 static void __locks_insert_block(struct file_lock_core *blocker, in __locks_insert_block() argument
855 list_for_each_entry(flc, &blocker->flc_blocked_requests, flc_blocked_member) in __locks_insert_block()
857 blocker = flc; in __locks_insert_block()
860 waiter->flc_blocker = blocker; in __locks_insert_block()
862 &blocker->flc_blocked_requests); in __locks_insert_block()
864 if ((blocker->flc_flags & (FL_POSIX|FL_OFDLCK)) == FL_POSIX) in __locks_insert_block()
875 static void locks_insert_block(struct file_lock_core *blocker, in locks_insert_block() argument
881 __locks_insert_block(blocker, waiter, conflict); in locks_insert_block()
890 static void locks_wake_up_blocks(struct file_lock_core *blocker) in locks_wake_up_blocks() argument
899 if (list_empty(&blocker->flc_blocked_requests)) in locks_wake_up_blocks()
903 __locks_wake_up_blocks(blocker); in locks_wake_up_blocks()
1076 static struct file_lock_core *what_owner_is_waiting_for(struct file_lock_core *blocker) in what_owner_is_waiting_for() argument
1080 hash_for_each_possible(blocked_hash, flc, flc_link, posix_owner_key(blocker)) { in what_owner_is_waiting_for()
1081 if (posix_same_owner(flc, blocker)) { in what_owner_is_waiting_for()
1095 struct file_lock_core *blocker = &block_fl->c; in posix_locks_deadlock() local
1107 while ((blocker = what_owner_is_waiting_for(blocker))) { in posix_locks_deadlock()
1110 if (posix_same_owner(caller, blocker)) in posix_locks_deadlock()