Lines Matching refs:BDRV_DRAIN_ALL

157     BDRV_DRAIN_ALL,  enumerator
165 case BDRV_DRAIN_ALL: bdrv_drain_all_begin(); break; in do_drain_begin()
174 case BDRV_DRAIN_ALL: bdrv_drain_all_end(); break; in do_drain_end()
267 test_drv_cb_common(blk, BDRV_DRAIN_ALL, true); in test_drv_cb_drain_all()
281 test_drv_cb_common(blk, BDRV_DRAIN_ALL, true); in test_drv_cb_co_drain_all_entry()
321 if (drain_type == BDRV_DRAIN_ALL) { in test_quiesce_common()
337 test_quiesce_common(blk, BDRV_DRAIN_ALL, true); in test_quiesce_drain_all()
351 test_quiesce_common(blk, BDRV_DRAIN_ALL, true); in test_quiesce_co_drain_all_entry()
393 int backing_quiesce = (outer == BDRV_DRAIN_ALL) + in test_nested()
394 (inner == BDRV_DRAIN_ALL); in test_nested()
542 if (drain_type == BDRV_DRAIN_ALL && drain_thread != 0) { in test_iothread_common()
619 test_iothread_common(BDRV_DRAIN_ALL, 0); in test_iothread_drain_all()
620 test_iothread_common(BDRV_DRAIN_ALL, 1); in test_iothread_drain_all()
813 if (drain_type == BDRV_DRAIN_ALL) { in test_blockjob_common_drain_node()
846 if (drain_type == BDRV_DRAIN_ALL) { in test_blockjob_common_drain_node()
907 test_blockjob_common(BDRV_DRAIN_ALL, false, TEST_JOB_SUCCESS); in test_blockjob_drain_all()
917 test_blockjob_common(BDRV_DRAIN_ALL, false, TEST_JOB_FAIL_RUN); in test_blockjob_error_drain_all()
918 test_blockjob_common(BDRV_DRAIN_ALL, false, TEST_JOB_FAIL_PREPARE); in test_blockjob_error_drain_all()
929 test_blockjob_common(BDRV_DRAIN_ALL, true, TEST_JOB_SUCCESS); in test_blockjob_iothread_drain_all()
939 test_blockjob_common(BDRV_DRAIN_ALL, true, TEST_JOB_FAIL_RUN); in test_blockjob_iothread_error_drain_all()
940 test_blockjob_common(BDRV_DRAIN_ALL, true, TEST_JOB_FAIL_PREPARE); in test_blockjob_iothread_error_drain_all()
1119 case BDRV_DRAIN_ALL: in do_test_delete_by_drain()
1145 do_test_delete_by_drain(true, BDRV_DRAIN_ALL); in test_detach_by_drain_all()