Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf.c174 atomic_dec(&bp->b_hold); in xfs_buf_stale()
176 ASSERT(atomic_read(&bp->b_hold) >= 1); in xfs_buf_stale()
234 atomic_set(&bp->b_hold, 1); in _xfs_buf_alloc()
627 atomic_inc(&bp->b_hold); in xfs_buf_find()
1011 atomic_inc(&bp->b_hold); in xfs_buf_hold()
1030 if (atomic_dec_and_test(&bp->b_hold)) { in xfs_buf_rele()
1037 ASSERT(atomic_read(&bp->b_hold) > 0); in xfs_buf_rele()
1050 release = atomic_dec_and_lock(&bp->b_hold, &pag->pag_buf_lock); in xfs_buf_rele()
1058 if ((atomic_read(&bp->b_hold) == 1) && !list_empty(&bp->b_lru)) in xfs_buf_rele()
1073 atomic_inc(&bp->b_hold); in xfs_buf_rele()
[all …]
Dxfs_buf.h138 atomic_t b_hold; /* reference count */ member
Dxfs_trace.h300 __entry->hold = atomic_read(&bp->b_hold);
369 __entry->hold = atomic_read(&bp->b_hold);
412 __entry->hold = atomic_read(&bp->b_hold);
456 __entry->buf_hold = atomic_read(&bip->bli_buf->b_hold);