Lines Matching refs:b_state

165 	clear_bit(BH_Wait_IO, &bh->b_state);  in unlock_buffer()
166 clear_bit(BH_Launder, &bh->b_state); in unlock_buffer()
174 clear_bit(BH_Lock, &bh->b_state); in unlock_buffer()
264 if (test_and_set_bit(BH_Lock, &bh->b_state)) in write_some_buffers()
1196 set_bit(BH_Sync, &bh->b_state); in bread()
1322 bh->b_state = 0; in create_buffers()
1380 clear_bit(BH_Uptodate, &bh->b_state); in discard_buffer()
1381 clear_bit(BH_Mapped, &bh->b_state); in discard_buffer()
1382 clear_bit(BH_Req, &bh->b_state); in discard_buffer()
1383 clear_bit(BH_New, &bh->b_state); in discard_buffer()
1384 clear_bit(BH_Delay, &bh->b_state); in discard_buffer()
1508 clear_bit(BH_Req, &old_bh->b_state); in unmap_underlying_metadata()
1573 set_bit(BH_Uptodate, &bh->b_state); in __block_write_full_page()
1574 clear_bit(BH_Dirty, &bh->b_state); in __block_write_full_page()
1613 set_bit(BH_Uptodate, &bh->b_state); in __block_write_full_page()
1614 clear_bit(BH_Dirty, &bh->b_state); in __block_write_full_page()
1652 clear_bit(BH_New, &bh->b_state); in __block_prepare_write()
1660 set_bit(BH_Uptodate, &bh->b_state); in __block_prepare_write()
1673 set_bit(BH_Uptodate, &bh->b_state); in __block_prepare_write()
1720 set_bit(BH_Uptodate, &bh->b_state); in __block_prepare_write()
1748 set_bit(BH_Uptodate, &bh->b_state); in __block_commit_write()
1812 set_bit(BH_Uptodate, &bh->b_state); in block_read_full_page()
2072 set_bit(BH_Uptodate, &bh->b_state); in block_truncate_page()
2182 tmp.b_state = 0; in generic_block_bmap()
2201 bh.b_state = 0; in generic_direct_IO()
2389 tmp->b_state = (1 << BH_Mapped) | (1 << BH_Lock) | (1 << BH_Req); in brw_kiovec()
2392 set_bit(BH_Uptodate, &tmp->b_state); in brw_kiovec()
2393 clear_bit(BH_Dirty, &tmp->b_state); in brw_kiovec()
2395 set_bit(BH_Uptodate, &tmp->b_state); in brw_kiovec()
2467 set_bit(BH_Mapped, &bh->b_state); in brw_page()
2579 if (!(bh->b_state & (1 << BH_Mapped))) { in hash_page_buffers()
2583 bh->b_state = uptodate; in hash_page_buffers()
2687 if (!test_and_set_bit(BH_Wait_IO, &bh->b_state)) { in sync_page_buffers()
2693 if (test_and_set_bit(BH_Lock, &bh->b_state)) { in sync_page_buffers()
2722 #define buffer_busy(bh) (atomic_read(&(bh)->b_count) | ((bh)->b_state & BUFFER_BUSY_BITS))