Lines Matching refs:block_flag
296 static volatile char block_flag; variable
675 if (block_flag) in fd_block_done()
678 if (block_flag == 2) { /* writing */ in fd_block_done()
685 block_flag = 0; in fd_block_done()
695 wait_event(wait_fd_block, !block_flag); in raw_read()
708 block_flag = 1; in raw_read()
710 wait_event(wait_fd_block, !block_flag); in raw_read()
727 wait_event(wait_fd_block, !block_flag); in raw_write()
744 block_flag = 2; in raw_write()
759 block_flag = 0; in post_write()
1412 wait_event(wait_fd_block, block_flag != 2); in non_int_flush_track()