Searched refs:b_lru_ref (Results 1 - 2 of 2) sorted by relevance

/linux-master/fs/xfs/
H A Dxfs_buf.h172 atomic_t b_lru_ref; /* lru reclaim ref count */ member in struct:xfs_buf
353 if (!list_empty(&bp->b_lru) || atomic_read(&bp->b_lru_ref) > 1)
355 atomic_set(&bp->b_lru_ref, 0);
H A Dxfs_buf.c146 * b_lru_ref count so that the buffer is freed immediately when the buffer
176 atomic_set(&bp->b_lru_ref, 0);
241 atomic_set(&bp->b_lru_ref, 1);
1097 if (!(bp->b_flags & XBF_STALE) && atomic_read(&bp->b_lru_ref)) {
1876 atomic_set(&bp->b_lru_ref, 0);
1969 * Decrement the b_lru_ref count unless the value is already
1973 if (atomic_add_unless(&bp->b_lru_ref, -1, 0)) {
2454 atomic_set(&bp->b_lru_ref, lru_ref);

Completed in 98 milliseconds