Lines Matching refs:b_state
62 unsigned long b_state; /* buffer state bitmap (see above) */ member
94 if (!test_bit(BH_##bit, &(bh)->b_state)) \
95 set_bit(BH_##bit, &(bh)->b_state); \
99 clear_bit(BH_##bit, &(bh)->b_state); \
103 return test_bit(BH_##bit, &(bh)->b_state); \
112 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
116 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \
151 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS()
159 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS()
164 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate()
173 return test_bit_acquire(BH_Uptodate, &bh->b_state); in buffer_uptodate()
203 unsigned long b_state);
393 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()