Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_buf.c162 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()
[all …]
Dxfs_buf.h132 atomic_t b_hold; /* reference count */ member
Dxfs_trace.h293 __entry->hold = atomic_read(&bp->b_hold);
362 __entry->hold = atomic_read(&bp->b_hold);
405 __entry->hold = atomic_read(&bp->b_hold);
449 __entry->buf_hold = atomic_read(&bip->bli_buf->b_hold);