Home
last modified time | relevance | path

Searched refs:b_list (Results 1 – 3 of 3) sorted by relevance

/linux/fs/lockd/
H A Dsvclock.c94 if (list_empty(&block->b_list)) { in nlmsvc_insert_block_locked()
97 list_del_init(&block->b_list); in nlmsvc_insert_block_locked()
105 b = list_entry(pos, struct nlm_block, b_list); in nlmsvc_insert_block_locked()
114 list_add_tail(&block->b_list, pos); in nlmsvc_insert_block_locked()
132 if (!list_empty(&block->b_list)) { in nlmsvc_remove_block()
133 list_del_init(&block->b_list); in nlmsvc_remove_block()
156 list_for_each_entry(block, &nlm_blocked, b_list) { in nlmsvc_lookup_block()
192 list_for_each_entry(block, &nlm_blocked, b_list) { in nlmsvc_find_block()
239 INIT_LIST_HEAD(&block->b_list); in nlmsvc_create_block()
332 if (list_empty(&block->b_list)) in nlmsvc_traverse_blocks()
[all …]
H A Dlockd.h159 struct list_head b_list; /* linked list */ member
210 struct list_head b_list; /* linked list of all blocks */ member
/linux/fs/xfs/
H A Dxfs_buf.c282 INIT_LIST_HEAD(&bp->b_list); in xfs_buf_alloc()
1782 list_del_init(&bp->b_list); in xfs_buf_list_del()
1783 wake_up_var(&bp->b_list); in xfs_buf_list_del()
1799 bp = list_first_entry(list, struct xfs_buf, b_list); in xfs_buf_delwri_cancel()
1848 if (list_empty(&bp->b_list)) { in xfs_buf_delwri_queue()
1850 list_add_tail(&bp->b_list, list); in xfs_buf_delwri_queue()
1873 while (!list_empty(&bp->b_list)) { in xfs_buf_delwri_queue_here()
1875 wait_var_event(&bp->b_list, list_empty(&bp->b_list)); in xfs_buf_delwri_queue_here()
1895 struct xfs_buf *ap = container_of(a, struct xfs_buf, b_list); in xfs_buf_cmp()
1896 struct xfs_buf *bp = container_of(b, struct xfs_buf, b_list); in xfs_buf_cmp()
[all …]