Home
last modified time | relevance | path

Searched refs:b_state (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dbuffer_head.h60 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()
[all …]
Djbd2.h343 bit_spin_lock(BH_JournalHead, &bh->b_state); in jbd_lock_bh_journal_head()
348 bit_spin_unlock(BH_JournalHead, &bh->b_state); in jbd_unlock_bh_journal_head()