Lines Matching refs:B_READING
310 #define B_READING 0 macro
1492 wait_on_bit_io(&b->state, B_READING, TASK_UNINTERRUPTIBLE); in __make_buffer_clean()
1510 unlikely(test_bit(B_READING, &b->state))) in is_clean()
1519 if (WARN_ON_ONCE(test_bit(B_READING, &b->state))) in is_dirty()
1685 if (WARN_ON_ONCE(test_bit(B_READING, &b->state))) in cleaned()
1797 b->state = 1 << B_READING; in __bufio_new()
1823 if (nf == NF_GET && unlikely(test_bit_acquire(B_READING, &b->state))) { in __bufio_new()
1839 BUG_ON(!test_bit(B_READING, &b->state)); in read_endio()
1842 clear_bit(B_READING, &b->state); in read_endio()
1845 wake_up_bit(&b->state, B_READING); in read_endio()
1883 if (nf == NF_GET && unlikely(test_bit_acquire(B_READING, &b->state))) { in new_read()
1912 wait_on_bit_io(&b->state, B_READING, TASK_UNINTERRUPTIBLE); in new_read()
2044 !test_bit_acquire(B_READING, &b->state) && in dm_bufio_release()
2073 BUG_ON(test_bit(B_READING, &b->state)); in dm_bufio_mark_partial_buffer_dirty()
2145 BUG_ON(test_bit(B_READING, &b->state)); in dm_bufio_write_dirty_buffers()
2708 if (test_bit_acquire(B_READING, &b->state) || in select_for_evict()