Home
last modified time | relevance | path

Searched refs:b_lru (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_buf.c178 (list_lru_del_obj(&bp->b_target->bt_lru, &bp->b_lru))) in xfs_buf_stale()
243 INIT_LIST_HEAD(&bp->b_lru); in _xfs_buf_alloc()
320 ASSERT(list_empty(&bp->b_lru)); in xfs_buf_free()
1053 ASSERT(list_empty(&bp->b_lru)); in xfs_buf_rele_uncached()
1093 if ((atomic_read(&bp->b_hold) == 1) && !list_empty(&bp->b_lru)) in xfs_buf_rele_cached()
1106 if (list_lru_add_obj(&btp->bt_lru, &bp->b_lru)) { in xfs_buf_rele_cached()
1119 list_lru_del_obj(&btp->bt_lru, &bp->b_lru); in xfs_buf_rele_cached()
1121 ASSERT(list_empty(&bp->b_lru)); in xfs_buf_rele_cached()
1864 struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); in xfs_buftarg_drain_rele()
1927 bp = list_first_entry(&dispose, struct xfs_buf, b_lru); in xfs_buftarg_drain()
[all …]
Dxfs_buf.h180 struct list_head b_lru; /* lru list */ member
353 if (!list_empty(&bp->b_lru) || atomic_read(&bp->b_lru_ref) > 1) in xfs_buf_oneshot()