Home
last modified time | relevance | path

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

/Linux-v6.1/fs/xfs/
Dxfs_buf.c173 atomic_dec(&bp->b_hold); in xfs_buf_stale()
175 ASSERT(atomic_read(&bp->b_hold) >= 1); in xfs_buf_stale()
233 atomic_set(&bp->b_hold, 1); in _xfs_buf_alloc()
582 if (!bp || !atomic_inc_not_zero(&bp->b_hold)) { in xfs_buf_lookup()
644 atomic_inc(&bp->b_hold); in xfs_buf_find_insert()
984 atomic_inc(&bp->b_hold); in xfs_buf_hold()
1003 if (atomic_dec_and_test(&bp->b_hold)) { in xfs_buf_rele()
1010 ASSERT(atomic_read(&bp->b_hold) > 0); in xfs_buf_rele()
1023 release = atomic_dec_and_lock(&bp->b_hold, &pag->pag_buf_lock); in xfs_buf_rele()
1031 if ((atomic_read(&bp->b_hold) == 1) && !list_empty(&bp->b_lru)) in xfs_buf_rele()
[all …]
Dxfs_buf.h145 atomic_t b_hold; /* reference count */ member
Dxfs_trace.h428 __entry->hold = atomic_read(&bp->b_hold);
499 __entry->hold = atomic_read(&bp->b_hold);
542 __entry->hold = atomic_read(&bp->b_hold);
586 __entry->buf_hold = atomic_read(&bip->bli_buf->b_hold);