Lines Matching refs:list
16 * Converted file_lock_table to a linked list from an array, which eliminates
28 * Scrapped free list which is redundant now that we allocate locks
73 * Tidied up block list handling. Added '/proc/locks' interface.
90 * Changed FL_POSIX locks to use the block list in the same way as FL_FLOCK
95 * Made the block list a circular list to minimise searching in the list.
109 * Use generic list implementation from <linux/list.h>.
202 * keep a list on each CPU, with each list protected by its own spinlock.
205 * Note that alterations to the list also require that the relevant flc_lock is
234 * In addition, it also protects the fl->fl_blocked_requests list, and the
281 locks_dump_ctx_list(struct list_head *list, char *list_type)
285 list_for_each_entry(fl, list, fl_list) {
308 locks_check_ctx_file_list(struct file *filp, struct list_head *list,
314 list_for_each_entry(fl, list, fl_list)
597 * old entry, then it used "priv" and inserted it into the fasync list.
687 * is done while holding the flc_lock, and new insertions into the list
719 /* Remove waiter from blocker's block list.
720 * When blocker ends up pointing to itself then the list is empty.
772 * was recently added to that list it must have been in a locked region
780 * no new locks can be inserted into its fl_blocked_requests list, and
781 * can avoid doing anything further if the list is empty.
803 /* Insert waiter into blocker's block list.
804 * We use a circular list so that processes can be easily woken up in
809 * fl_blocked_requests list itself is protected by the blocked_lock_lock,
812 * fl_blocked_requests list is empty.
814 * Rather than just adding to the list, we check for conflicts with any existing
863 * Avoid taking global lock if list is empty. This is safe since new
864 * blocked requests are only added to the list under the flc_lock, and
866 * fl_blocked_requests list does not require the flc_lock, so we must
1166 * blocker's list of waiters and the global blocked_hash.
1179 * locks list must be done while holding the same lock!
1222 /* If the next lock in the list has entirely bigger
1259 /* If the next lock in the list has a higher end
1405 * Searches the inode's list of locks to find any POSIX locks which conflict.
1420 * Search the lock list for this inode for any POSIX locks.
1443 * Searches the inode's list of locks to find any POSIX locks which conflict.