Lines Matching refs:b_state
62 unsigned long b_state; /* buffer state bitmap (see above) */ member
91 if (!test_bit(BH_##bit, &(bh)->b_state)) \
92 set_bit(BH_##bit, &(bh)->b_state); \
96 clear_bit(BH_##bit, &(bh)->b_state); \
100 return test_bit(BH_##bit, &(bh)->b_state); \
109 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
113 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \
148 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS()
156 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS()
161 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate()
170 return test_bit_acquire(BH_Uptodate, &bh->b_state); in buffer_uptodate()
200 unsigned long b_state);
390 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()