Lines Matching full:qs
19 QOSState *qs = g_new0(QOSState, 1); in qtest_vboot() local
22 qs->qts = qtest_init(cmdline); in qtest_vboot()
23 qs->ops = ops; in qtest_vboot()
25 ops->alloc_init(&qs->alloc, qs->qts, ALLOC_NO_FLAGS); in qtest_vboot()
26 qs->pcibus = ops->qpci_new(qs->qts, &qs->alloc); in qtest_vboot()
30 return qs; in qtest_vboot()
39 QOSState *qs; in qtest_boot() local
43 qs = qtest_vboot(ops, cmdline_fmt, ap); in qtest_boot()
46 return qs; in qtest_boot()
52 void qtest_common_shutdown(QOSState *qs) in qtest_common_shutdown() argument
54 if (qs->ops) { in qtest_common_shutdown()
55 if (qs->pcibus && qs->ops->qpci_free) { in qtest_common_shutdown()
56 qs->ops->qpci_free(qs->pcibus); in qtest_common_shutdown()
57 qs->pcibus = NULL; in qtest_common_shutdown()
60 alloc_destroy(&qs->alloc); in qtest_common_shutdown()
61 qtest_quit(qs->qts); in qtest_common_shutdown()
62 g_free(qs); in qtest_common_shutdown()
65 void qtest_shutdown(QOSState *qs) in qtest_shutdown() argument
67 if (qs->ops && qs->ops->shutdown) { in qtest_shutdown()
68 qs->ops->shutdown(qs); in qtest_shutdown()
70 qtest_common_shutdown(qs); in qtest_shutdown()