Lines Matching refs:B_WRITING
121 #define B_WRITING 1 macro
727 BUG_ON(!test_bit(B_WRITING, &b->state)); in write_endio()
730 clear_bit(B_WRITING, &b->state); in write_endio()
733 wake_up_bit(&b->state, B_WRITING); in write_endio()
752 wait_on_bit_lock_io(&b->state, B_WRITING, TASK_UNINTERRUPTIBLE); in __write_dirty_buffer()
791 wait_on_bit_io(&b->state, B_WRITING, TASK_UNINTERRUPTIBLE); in __make_buffer_clean()
803 BUG_ON(test_bit(B_WRITING, &b->state)); in __get_unclaimed_buffer()
956 !test_bit(B_WRITING, &b->state)) { in __write_dirty_buffers_async()
961 if (no_wait && test_bit(B_WRITING, &b->state)) in __write_dirty_buffers_async()
1047 test_bit(B_WRITING, &b->state)); in __bufio_new()
1203 !test_bit(B_WRITING, &b->state) && in dm_bufio_release()
1290 if (test_bit(B_WRITING, &b->state)) { in dm_bufio_write_dirty_buffers()
1295 wait_on_bit_io(&b->state, B_WRITING, in dm_bufio_write_dirty_buffers()
1300 wait_on_bit_io(&b->state, B_WRITING, in dm_bufio_write_dirty_buffers()
1305 !test_bit(B_WRITING, &b->state)) in dm_bufio_write_dirty_buffers()
1430 wait_on_bit_io(&b->state, B_WRITING, in dm_bufio_release_move()
1439 wait_on_bit_lock_io(&b->state, B_WRITING, in dm_bufio_release_move()
1452 wait_on_bit_io(&b->state, B_WRITING, in dm_bufio_release_move()
1625 test_bit(B_WRITING, &b->state) || in __try_evict_buffer()