Lines Matching refs:b_state
60 unsigned long b_state; /* buffer state bitmap (see above) */ member
92 if (!test_bit(BH_##bit, &(bh)->b_state)) \
93 set_bit(BH_##bit, &(bh)->b_state); \
97 clear_bit(BH_##bit, &(bh)->b_state); \
101 return test_bit(BH_##bit, &(bh)->b_state); \
110 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
114 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \
149 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS()
157 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS()
162 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate()
171 return test_bit_acquire(BH_Uptodate, &bh->b_state); in buffer_uptodate()
204 unsigned long blocksize, unsigned long b_state);
419 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()