Lines Matching refs:b_state
61 unsigned long b_state; /* buffer state bitmap (see above) */ member
90 if (!test_bit(BH_##bit, &(bh)->b_state)) \
91 set_bit(BH_##bit, &(bh)->b_state); \
95 clear_bit(BH_##bit, &(bh)->b_state); \
99 return test_bit(BH_##bit, &(bh)->b_state); \
108 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
112 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \
147 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS()
155 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS()
160 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate()
169 return (smp_load_acquire(&bh->b_state) & (1UL << BH_Uptodate)) != 0; in buffer_uptodate()
198 unsigned long b_state);
395 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()