Lines Matching defs:blocker
719 /* Remove waiter from blocker's block list.
720 * When blocker ends up pointing to itself then the list is empty.
730 static void __locks_wake_up_blocks(struct file_lock *blocker)
732 while (!list_empty(&blocker->fl_blocked_requests)) {
735 waiter = list_first_entry(&blocker->fl_blocked_requests,
803 /* Insert waiter into blocker's block list.
818 static void __locks_insert_block(struct file_lock *blocker,
827 list_for_each_entry(fl, &blocker->fl_blocked_requests, fl_blocked_member)
829 blocker = fl;
832 waiter->fl_blocker = blocker;
833 list_add_tail(&waiter->fl_blocked_member, &blocker->fl_blocked_requests);
834 if (IS_POSIX(blocker) && !IS_OFDLCK(blocker))
838 * waiter, but might not conflict with blocker, or the requests
845 static void locks_insert_block(struct file_lock *blocker,
851 __locks_insert_block(blocker, waiter, conflict);
856 * Wake up processes blocked waiting for blocker.
860 static void locks_wake_up_blocks(struct file_lock *blocker)
869 if (list_empty(&blocker->fl_blocked_requests))
873 __locks_wake_up_blocks(blocker);
1166 * blocker's list of waiters and the global blocked_hash.