Lines Matching refs:test_blockjob_common
892 static void test_blockjob_common(enum drain_type drain_type, bool use_iothread, in test_blockjob_common() function
903 test_blockjob_common(BDRV_DRAIN_ALL, false, TEST_JOB_SUCCESS); in test_blockjob_drain_all()
908 test_blockjob_common(BDRV_DRAIN, false, TEST_JOB_SUCCESS); in test_blockjob_drain()
913 test_blockjob_common(BDRV_DRAIN_ALL, false, TEST_JOB_FAIL_RUN); in test_blockjob_error_drain_all()
914 test_blockjob_common(BDRV_DRAIN_ALL, false, TEST_JOB_FAIL_PREPARE); in test_blockjob_error_drain_all()
919 test_blockjob_common(BDRV_DRAIN, false, TEST_JOB_FAIL_RUN); in test_blockjob_error_drain()
920 test_blockjob_common(BDRV_DRAIN, false, TEST_JOB_FAIL_PREPARE); in test_blockjob_error_drain()
925 test_blockjob_common(BDRV_DRAIN_ALL, true, TEST_JOB_SUCCESS); in test_blockjob_iothread_drain_all()
930 test_blockjob_common(BDRV_DRAIN, true, TEST_JOB_SUCCESS); in test_blockjob_iothread_drain()
935 test_blockjob_common(BDRV_DRAIN_ALL, true, TEST_JOB_FAIL_RUN); in test_blockjob_iothread_error_drain_all()
936 test_blockjob_common(BDRV_DRAIN_ALL, true, TEST_JOB_FAIL_PREPARE); in test_blockjob_iothread_error_drain_all()
941 test_blockjob_common(BDRV_DRAIN, true, TEST_JOB_FAIL_RUN); in test_blockjob_iothread_error_drain()
942 test_blockjob_common(BDRV_DRAIN, true, TEST_JOB_FAIL_PREPARE); in test_blockjob_iothread_error_drain()