Lines Matching refs:g_assert_cmpint

69     g_assert_cmpint(s->drain_count, >, 0);  in bdrv_test_close()
230 g_assert_cmpint(s->drain_count, ==, 0); in test_drv_cb_common()
231 g_assert_cmpint(backing_s->drain_count, ==, 0); in test_drv_cb_common()
235 g_assert_cmpint(s->drain_count, ==, 1); in test_drv_cb_common()
236 g_assert_cmpint(backing_s->drain_count, ==, !!recursive); in test_drv_cb_common()
240 g_assert_cmpint(s->drain_count, ==, 0); in test_drv_cb_common()
241 g_assert_cmpint(backing_s->drain_count, ==, 0); in test_drv_cb_common()
247 g_assert_cmpint(aio_ret, ==, -EINPROGRESS); in test_drv_cb_common()
249 g_assert_cmpint(s->drain_count, ==, 0); in test_drv_cb_common()
250 g_assert_cmpint(backing_s->drain_count, ==, 0); in test_drv_cb_common()
254 g_assert_cmpint(aio_ret, ==, 0); in test_drv_cb_common()
255 g_assert_cmpint(s->drain_count, ==, 1); in test_drv_cb_common()
256 g_assert_cmpint(backing_s->drain_count, ==, !!recursive); in test_drv_cb_common()
260 g_assert_cmpint(s->drain_count, ==, 0); in test_drv_cb_common()
261 g_assert_cmpint(backing_s->drain_count, ==, 0); in test_drv_cb_common()
316 g_assert_cmpint(bs->quiesce_counter, ==, 0); in test_quiesce_common()
317 g_assert_cmpint(backing->quiesce_counter, ==, 0); in test_quiesce_common()
322 g_assert_cmpint(bs->quiesce_counter, ==, 2); in test_quiesce_common()
324 g_assert_cmpint(bs->quiesce_counter, ==, 1); in test_quiesce_common()
326 g_assert_cmpint(backing->quiesce_counter, ==, !!recursive); in test_quiesce_common()
330 g_assert_cmpint(bs->quiesce_counter, ==, 0); in test_quiesce_common()
331 g_assert_cmpint(backing->quiesce_counter, ==, 0); in test_quiesce_common()
396 g_assert_cmpint(bs->quiesce_counter, ==, 0); in test_nested()
397 g_assert_cmpint(backing->quiesce_counter, ==, 0); in test_nested()
398 g_assert_cmpint(s->drain_count, ==, 0); in test_nested()
399 g_assert_cmpint(backing_s->drain_count, ==, 0); in test_nested()
404 g_assert_cmpint(bs->quiesce_counter, ==, 2 + !!backing_quiesce); in test_nested()
405 g_assert_cmpint(backing->quiesce_counter, ==, backing_quiesce); in test_nested()
406 g_assert_cmpint(s->drain_count, ==, 1); in test_nested()
407 g_assert_cmpint(backing_s->drain_count, ==, !!backing_quiesce); in test_nested()
412 g_assert_cmpint(bs->quiesce_counter, ==, 0); in test_nested()
413 g_assert_cmpint(backing->quiesce_counter, ==, 0); in test_nested()
414 g_assert_cmpint(s->drain_count, ==, 0); in test_nested()
415 g_assert_cmpint(backing_s->drain_count, ==, 0); in test_nested()
437 g_assert_cmpint(bs_a->quiesce_counter, ==, 0); in test_graph_change_drain_all()
438 g_assert_cmpint(a_s->drain_count, ==, 0); in test_graph_change_drain_all()
443 g_assert_cmpint(bs_a->quiesce_counter, ==, 1); in test_graph_change_drain_all()
444 g_assert_cmpint(a_s->drain_count, ==, 1); in test_graph_change_drain_all()
453 g_assert_cmpint(bs_a->quiesce_counter, ==, 1); in test_graph_change_drain_all()
454 g_assert_cmpint(bs_b->quiesce_counter, ==, 1); in test_graph_change_drain_all()
455 g_assert_cmpint(a_s->drain_count, ==, 1); in test_graph_change_drain_all()
456 g_assert_cmpint(b_s->drain_count, ==, 1); in test_graph_change_drain_all()
461 g_assert_cmpint(bs_a->quiesce_counter, ==, 1); in test_graph_change_drain_all()
462 g_assert_cmpint(bs_b->quiesce_counter, ==, 1); in test_graph_change_drain_all()
463 g_assert_cmpint(a_s->drain_count, ==, 1); in test_graph_change_drain_all()
464 g_assert_cmpint(b_s->drain_count, ==, 1); in test_graph_change_drain_all()
468 g_assert_cmpint(bs_b->quiesce_counter, ==, 1); in test_graph_change_drain_all()
469 g_assert_cmpint(b_s->drain_count, ==, 1); in test_graph_change_drain_all()
474 g_assert_cmpint(bs_b->quiesce_counter, ==, 0); in test_graph_change_drain_all()
475 g_assert_cmpint(b_s->drain_count, ==, 0); in test_graph_change_drain_all()
493 g_assert_cmpint(*data->aio_ret, ==, 0); in test_iothread_drain_co_entry()
566 g_assert_cmpint(aio_ret, ==, -EINPROGRESS); in test_iothread_common()
591 g_assert_cmpint(bs->in_flight, ==, 0); in test_iothread_common()
595 g_assert_cmpint(aio_ret, ==, 0); in test_iothread_common()
800 g_assert_cmpint(job->job.pause_count, ==, 0); in test_blockjob_common_drain_node()
811 g_assert_cmpint(job->job.pause_count, ==, 2); in test_blockjob_common_drain_node()
813 g_assert_cmpint(job->job.pause_count, ==, 1); in test_blockjob_common_drain_node()
834 g_assert_cmpint(job->job.pause_count, ==, 0); in test_blockjob_common_drain_node()
844 g_assert_cmpint(job->job.pause_count, ==, 2); in test_blockjob_common_drain_node()
846 g_assert_cmpint(job->job.pause_count, ==, 1); in test_blockjob_common_drain_node()
867 g_assert_cmpint(job->job.pause_count, ==, 0); in test_blockjob_common_drain_node()
875 g_assert_cmpint(ret, ==, (result == TEST_JOB_SUCCESS ? 0 : -EIO)); in test_blockjob_common_drain_node()
1006 g_assert_cmpint(bs->refcnt, ==, 1); in test_co_delete_by_drain()
1081 g_assert_cmpint(bs->refcnt, ==, 1); in do_test_delete_by_drain()
1082 g_assert_cmpint(child_bs->refcnt, ==, 1); in do_test_delete_by_drain()
1083 g_assert_cmpint(null_bs->refcnt, ==, 1); in do_test_delete_by_drain()
1170 g_assert_cmpint(ret, ==, 0); in detach_by_parent_aio_cb()
1273 g_assert_cmpint(parent_a->refcnt, ==, 1); in test_detach_indirect()
1274 g_assert_cmpint(parent_b->refcnt, ==, 1); in test_detach_indirect()
1275 g_assert_cmpint(a->refcnt, ==, 3); in test_detach_indirect()
1276 g_assert_cmpint(b->refcnt, ==, 2); in test_detach_indirect()
1277 g_assert_cmpint(c->refcnt, ==, 1); in test_detach_indirect()
1302 g_assert_cmpint(parent_a->refcnt, ==, 1); in test_detach_indirect()
1303 g_assert_cmpint(parent_b->refcnt, ==, 1); in test_detach_indirect()
1304 g_assert_cmpint(a->refcnt, ==, 3); in test_detach_indirect()
1305 g_assert_cmpint(b->refcnt, ==, 1); in test_detach_indirect()
1306 g_assert_cmpint(c->refcnt, ==, 2); in test_detach_indirect()
1312 g_assert_cmpint(parent_a->quiesce_counter, ==, 1); in test_detach_indirect()
1313 g_assert_cmpint(parent_b->quiesce_counter, ==, 3); in test_detach_indirect()
1314 g_assert_cmpint(a->quiesce_counter, ==, 1); in test_detach_indirect()
1315 g_assert_cmpint(b->quiesce_counter, ==, 1); in test_detach_indirect()
1316 g_assert_cmpint(c->quiesce_counter, ==, 1); in test_detach_indirect()
1326 g_assert_cmpint(a->refcnt, ==, 1); in test_detach_indirect()
1327 g_assert_cmpint(b->refcnt, ==, 1); in test_detach_indirect()
1328 g_assert_cmpint(c->refcnt, ==, 1); in test_detach_indirect()
1360 g_assert_cmpint(base->quiesce_counter, ==, 1); in test_append_to_drained()
1361 g_assert_cmpint(base_s->drain_count, ==, 1); in test_append_to_drained()
1362 g_assert_cmpint(base->in_flight, ==, 0); in test_append_to_drained()
1366 g_assert_cmpint(base->in_flight, ==, 0); in test_append_to_drained()
1367 g_assert_cmpint(overlay->in_flight, ==, 0); in test_append_to_drained()
1369 g_assert_cmpint(base->quiesce_counter, ==, 1); in test_append_to_drained()
1370 g_assert_cmpint(base_s->drain_count, ==, 1); in test_append_to_drained()
1371 g_assert_cmpint(overlay->quiesce_counter, ==, 1); in test_append_to_drained()
1372 g_assert_cmpint(overlay_s->drain_count, ==, 1); in test_append_to_drained()
1376 g_assert_cmpint(base->quiesce_counter, ==, 0); in test_append_to_drained()
1377 g_assert_cmpint(base_s->drain_count, ==, 0); in test_append_to_drained()
1378 g_assert_cmpint(overlay->quiesce_counter, ==, 0); in test_append_to_drained()
1379 g_assert_cmpint(overlay_s->drain_count, ==, 0); in test_append_to_drained()