Searched refs:block_flag (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/block/
H A Damiflop.c177 static volatile char block_flag; variable
562 if (block_flag) fd_block_done()
565 if (block_flag == 2) { /* writing */ fd_block_done()
572 block_flag = 0; fd_block_done()
582 wait_event(wait_fd_block, !block_flag); raw_read()
595 block_flag = 1; raw_read()
597 wait_event(wait_fd_block, !block_flag); raw_read()
614 wait_event(wait_fd_block, !block_flag); raw_write()
631 block_flag = 2; raw_write()
646 block_flag = 0; post_write()
1291 wait_event(wait_fd_block, block_flag != 2); non_int_flush_track()

Completed in 50 milliseconds