Searched refs:tjob (Results 1 – 2 of 2) sorted by relevance
555 TestBlockJob *tjob; in test_attach_blockjob() local561 tjob = block_job_create("job0", &test_job_driver, NULL, bs, in test_attach_blockjob()564 job_start(&tjob->common.job); in test_attach_blockjob()566 while (tjob->n == 0) { in test_attach_blockjob()572 tjob->n = 0; in test_attach_blockjob()573 while (tjob->n == 0) { in test_attach_blockjob()579 tjob->n = 0; in test_attach_blockjob()580 while (tjob->n == 0) { in test_attach_blockjob()586 tjob->n = 0; in test_attach_blockjob()587 while (tjob->n == 0) { in test_attach_blockjob()[all …]
723 TestBlockJob *tjob; in test_blockjob_common_drain_node() local767 tjob = block_job_create("job0", &test_job_driver, NULL, src, in test_blockjob_common_drain_node()770 tjob->bs = src; in test_blockjob_common_drain_node()771 job = &tjob->common; in test_blockjob_common_drain_node()781 tjob->run_ret = -EIO; in test_blockjob_common_drain_node()784 tjob->prepare_ret = -EIO; in test_blockjob_common_drain_node()794 while (!tjob->running) { in test_blockjob_common_drain_node()802 g_assert_true(tjob->running); in test_blockjob_common_drain_node()