Lines Matching refs:b_state
61 unsigned long b_state; /* buffer state bitmap (see above) */ member
93 if (!test_bit(BH_##bit, &(bh)->b_state)) \
94 set_bit(BH_##bit, &(bh)->b_state); \
98 clear_bit(BH_##bit, &(bh)->b_state); \
102 return test_bit(BH_##bit, &(bh)->b_state); \
111 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
115 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \
150 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS()
158 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS()
163 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate()
172 return test_bit_acquire(BH_Uptodate, &bh->b_state); in buffer_uptodate()
204 unsigned long blocksize, unsigned long b_state);
427 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()