Lines Matching refs:b_hold
162 atomic_dec(&bp->b_hold); in xfs_buf_stale()
164 ASSERT(atomic_read(&bp->b_hold) >= 1); in xfs_buf_stale()
222 atomic_set(&bp->b_hold, 1); in _xfs_buf_alloc()
611 atomic_inc(&bp->b_hold); in xfs_buf_find()
967 atomic_inc(&bp->b_hold); in xfs_buf_hold()
986 if (atomic_dec_and_test(&bp->b_hold)) { in xfs_buf_rele()
993 ASSERT(atomic_read(&bp->b_hold) > 0); in xfs_buf_rele()
1006 release = atomic_dec_and_lock(&bp->b_hold, &pag->pag_buf_lock); in xfs_buf_rele()
1014 if ((atomic_read(&bp->b_hold) == 1) && !list_empty(&bp->b_lru)) in xfs_buf_rele()
1029 atomic_inc(&bp->b_hold); in xfs_buf_rele()
1591 if (atomic_read(&bp->b_hold) > 1) { in xfs_buftarg_wait_rele()
1875 atomic_inc(&bp->b_hold); in xfs_buf_delwri_queue()