Lines Matching refs:blocker

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
832 __locks_insert_block(blocker, waiter, conflict); in locks_insert_block()
841 static void locks_wake_up_blocks(struct file_lock_core *blocker) in locks_wake_up_blocks() argument
850 if (list_empty(&blocker->flc_blocked_requests)) in locks_wake_up_blocks()
854 __locks_wake_up_blocks(blocker); in locks_wake_up_blocks()
1027 static struct file_lock_core *what_owner_is_waiting_for(struct file_lock_core *blocker) in what_owner_is_waiting_for() argument
1031 hash_for_each_possible(blocked_hash, flc, flc_link, posix_owner_key(blocker)) { in what_owner_is_waiting_for()
1032 if (posix_same_owner(flc, blocker)) { in what_owner_is_waiting_for()
1046 struct file_lock_core *blocker = &block_fl->c; in posix_locks_deadlock() local
1058 while ((blocker = what_owner_is_waiting_for(blocker))) { in posix_locks_deadlock()
1061 if (posix_same_owner(caller, blocker)) in posix_locks_deadlock()