Lines Matching defs:b_state
60 unsigned long b_state; /* buffer state bitmap (see above) */
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); \
120 * do something in addition to setting a b_state bit.
149 if (test_bit(BH_Uptodate, &bh->b_state))
157 set_bit(BH_Uptodate, &bh->b_state);
162 clear_bit(BH_Uptodate, &bh->b_state);
171 return test_bit_acquire(BH_Uptodate, &bh->b_state);
205 unsigned long blocksize, unsigned long b_state);
394 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state));