Searched refs:block_flag (Results 1 – 1 of 1) sorted by relevance
297 static volatile char block_flag; variable676 if (block_flag) in fd_block_done()679 if (block_flag == 2) { /* writing */ in fd_block_done()686 block_flag = 0; in fd_block_done()696 wait_event(wait_fd_block, !block_flag); in raw_read()709 block_flag = 1; in raw_read()711 wait_event(wait_fd_block, !block_flag); in raw_read()728 wait_event(wait_fd_block, !block_flag); in raw_write()745 block_flag = 2; in raw_write()760 block_flag = 0; in post_write()[all …]