Lines Matching refs:b_list
187 INIT_LIST_HEAD(&bp->b_list); in xfs_buf_alloc()
1567 if (!list_empty(&bp->b_list)) { in xfs_buf_delwri_queue()
1570 list_move_tail(&bp->b_list, &btp->bt_delwri_queue); in xfs_buf_delwri_queue()
1578 list_add_tail(&bp->b_list, &btp->bt_delwri_queue); in xfs_buf_delwri_queue()
1591 if ((bp->b_flags & XBF_DELWRI) && !list_empty(&bp->b_list)) { in xfs_buf_delwri_dequeue()
1593 list_del_init(&bp->b_list); in xfs_buf_delwri_dequeue()
1630 list_move(&bp->b_list, &btp->bt_delwri_queue); in xfs_buf_delwri_promote()
1651 list_for_each_entry_safe(bp, n, &target->bt_delwri_queue, b_list) { in xfs_buf_delwri_split()
1663 list_move_tail(&bp->b_list, list); in xfs_buf_delwri_split()
1684 struct xfs_buf *ap = container_of(a, struct xfs_buf, b_list); in xfs_buf_cmp()
1685 struct xfs_buf *bp = container_of(b, struct xfs_buf, b_list); in xfs_buf_cmp()
1726 bp = list_first_entry(&tmp, struct xfs_buf, b_list); in xfsbufd()
1727 list_del_init(&bp->b_list); in xfsbufd()
1766 bp = list_first_entry(&tmp_list, struct xfs_buf, b_list); in xfs_flush_buftarg()
1768 list_del_init(&bp->b_list); in xfs_flush_buftarg()
1771 list_add(&bp->b_list, &wait_list); in xfs_flush_buftarg()
1780 bp = list_first_entry(&wait_list, struct xfs_buf, b_list); in xfs_flush_buftarg()
1782 list_del_init(&bp->b_list); in xfs_flush_buftarg()