Lines Matching refs:B_READING
120 #define B_READING 0 macro
739 wait_on_bit_io(&b->state, B_READING, TASK_UNINTERRUPTIBLE); in __make_buffer_clean()
765 BUG_ON(test_bit(B_READING, &b->state)); in __get_unclaimed_buffer()
903 BUG_ON(test_bit(B_READING, &b->state)); in __write_dirty_buffers_async()
1020 b->state = 1 << B_READING; in __bufio_new()
1035 if (nf == NF_GET && unlikely(test_bit(B_READING, &b->state))) in __bufio_new()
1054 BUG_ON(!test_bit(B_READING, &b->state)); in read_endio()
1057 clear_bit(B_READING, &b->state); in read_endio()
1060 wake_up_bit(&b->state, B_READING); in read_endio()
1089 wait_on_bit_io(&b->state, B_READING, TASK_UNINTERRUPTIBLE); in new_read()
1193 !test_bit(B_READING, &b->state) && in dm_bufio_release()
1211 BUG_ON(test_bit(B_READING, &b->state)); in dm_bufio_mark_buffer_dirty()
1261 BUG_ON(test_bit(B_READING, &b->state)); in dm_bufio_write_dirty_buffers()
1374 BUG_ON(test_bit(B_READING, &b->state)); in dm_bufio_release_move()
1513 if (test_bit(B_READING, &b->state) || in __try_evict_buffer()