Searched refs:fl_block (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/fs/
H A Dlocks.c187 * In addition, it also protects the fl->fl_block list, and the fl->fl_next
196 * In particular, adding an entry to the fl_block list requires that you hold
247 INIT_LIST_HEAD(&fl->fl_block); locks_init_lock_heads()
286 BUG_ON(!list_empty(&fl->fl_block)); locks_free_lock()
610 list_del_init(&waiter->fl_block); __locks_delete_block()
627 * fl_block list itself is protected by the blocked_lock_lock, but by ensuring
629 * blocked_lock_lock in some cases when we see that the fl_block list is empty.
634 BUG_ON(!list_empty(&waiter->fl_block)); __locks_insert_block()
636 list_add_tail(&waiter->fl_block, &blocker->fl_block); __locks_insert_block()
660 * the flc_lock is always held here. Note that removal from the fl_block locks_wake_up_blocks()
664 if (list_empty(&blocker->fl_block)) locks_wake_up_blocks()
668 while (!list_empty(&blocker->fl_block)) { locks_wake_up_blocks()
671 waiter = list_first_entry(&blocker->fl_block, locks_wake_up_blocks()
672 struct file_lock, fl_block); locks_wake_up_blocks()
2594 list_for_each_entry(bfl, &fl->fl_block, fl_block) locks_show()
/linux-4.1.27/include/linux/
H A Dfs.h967 struct list_head fl_block; /* circular list of blocked processes */ member in struct:file_lock

Completed in 76 milliseconds