Lines Matching defs:test

40 static void null_test(struct svm_test *test)  in null_test()
44 static bool null_check(struct svm_test *test) in null_check()
49 static void prepare_no_vmrun_int(struct svm_test *test) in prepare_no_vmrun_int()
54 static bool check_no_vmrun_int(struct svm_test *test) in check_no_vmrun_int()
59 static void test_vmrun(struct svm_test *test) in test_vmrun()
64 static bool check_vmrun(struct svm_test *test) in check_vmrun()
69 static void prepare_rsm_intercept(struct svm_test *test) in prepare_rsm_intercept()
76 static void test_rsm_intercept(struct svm_test *test) in test_rsm_intercept()
81 static bool check_rsm_intercept(struct svm_test *test) in check_rsm_intercept()
86 static bool finished_rsm_intercept(struct svm_test *test) in finished_rsm_intercept()
115 static void prepare_cr3_intercept(struct svm_test *test) in prepare_cr3_intercept()
121 static void test_cr3_intercept(struct svm_test *test) in test_cr3_intercept()
126 static bool check_cr3_intercept(struct svm_test *test) in check_cr3_intercept()
131 static bool check_cr3_nointercept(struct svm_test *test) in check_cr3_nointercept()
138 struct svm_test *test = _test; in corrupt_cr3_intercept_bypass() local
149 static void prepare_cr3_intercept_bypass(struct svm_test *test) in prepare_cr3_intercept_bypass()
156 static void test_cr3_intercept_bypass(struct svm_test *test) in test_cr3_intercept_bypass()
169 static void prepare_dr_intercept(struct svm_test *test) in prepare_dr_intercept()
176 static void test_dr_intercept(struct svm_test *test) in test_dr_intercept()
255 static bool dr_intercept_finished(struct svm_test *test) in dr_intercept_finished()
278 static bool check_dr_intercept(struct svm_test *test) in check_dr_intercept()
288 static void prepare_next_rip(struct svm_test *test) in prepare_next_rip()
294 static void test_next_rip(struct svm_test *test) in test_next_rip()
301 static bool check_next_rip(struct svm_test *test) in check_next_rip()
311 static void prepare_msr_intercept(struct svm_test *test) in prepare_msr_intercept()
319 static void test_msr_intercept(struct svm_test *test) in test_msr_intercept()
365 static bool msr_intercept_finished(struct svm_test *test) in msr_intercept_finished()
425 static bool check_msr_intercept(struct svm_test *test) in check_msr_intercept()
431 static void prepare_mode_switch(struct svm_test *test) in prepare_mode_switch()
440 static void test_mode_switch(struct svm_test *test) in test_mode_switch()
495 static bool mode_switch_finished(struct svm_test *test) in mode_switch_finished()
534 static bool check_mode_switch(struct svm_test *test) in check_mode_switch()
541 static void prepare_ioio(struct svm_test *test) in prepare_ioio()
549 static void test_ioio(struct svm_test *test) in test_ioio()
620 static bool ioio_finished(struct svm_test *test) in ioio_finished()
645 static bool check_ioio(struct svm_test *test) in check_ioio()
651 static void prepare_asid_zero(struct svm_test *test) in prepare_asid_zero()
656 static void test_asid_zero(struct svm_test *test) in test_asid_zero()
661 static bool check_asid_zero(struct svm_test *test) in check_asid_zero()
666 static void sel_cr0_bug_prepare(struct svm_test *test) in sel_cr0_bug_prepare()
671 static bool sel_cr0_bug_finished(struct svm_test *test) in sel_cr0_bug_finished()
676 static void sel_cr0_bug_test(struct svm_test *test) in sel_cr0_bug_test()
694 static bool sel_cr0_bug_check(struct svm_test *test) in sel_cr0_bug_check()
708 static void tsc_adjust_prepare(struct svm_test *test) in tsc_adjust_prepare()
718 static void tsc_adjust_test(struct svm_test *test) in tsc_adjust_test()
736 static bool tsc_adjust_check(struct svm_test *test) in tsc_adjust_check()
750 static void svm_tsc_scale_guest(struct svm_test *test) in svm_tsc_scale_guest()
808 static void latency_prepare(struct svm_test *test) in latency_prepare()
818 static void latency_test(struct svm_test *test) in latency_test()
841 static bool latency_finished(struct svm_test *test) in latency_finished()
866 static bool latency_finished_clean(struct svm_test *test) in latency_finished_clean()
872 static bool latency_check(struct svm_test *test) in latency_check()
881 static void lat_svm_insn_prepare(struct svm_test *test) in lat_svm_insn_prepare()
890 static bool lat_svm_insn_finished(struct svm_test *test) in lat_svm_insn_finished()
938 static bool lat_svm_insn_check(struct svm_test *test) in lat_svm_insn_check()
957 #define report_svm_guest(cond, test, fmt, args...) \ argument
975 static void pending_event_prepare(struct svm_test *test) in pending_event_prepare()
996 static void pending_event_test(struct svm_test *test) in pending_event_test()
1001 static bool pending_event_finished(struct svm_test *test) in pending_event_finished()
1040 static bool pending_event_check(struct svm_test *test) in pending_event_check()
1045 static void pending_event_cli_prepare(struct svm_test *test) in pending_event_cli_prepare()
1059 static void pending_event_cli_prepare_gif_clear(struct svm_test *test) in pending_event_cli_prepare_gif_clear()
1064 static void pending_event_cli_test(struct svm_test *test) in pending_event_cli_test()
1084 static bool pending_event_cli_finished(struct svm_test *test) in pending_event_cli_finished()
1128 static bool pending_event_cli_check(struct svm_test *test) in pending_event_cli_check()
1143 static void interrupt_prepare(struct svm_test *test) in interrupt_prepare()
1151 static void interrupt_test(struct svm_test *test) in interrupt_test()
1204 static bool interrupt_finished(struct svm_test *test) in interrupt_finished()
1246 static bool interrupt_check(struct svm_test *test) in interrupt_check()
1258 static void nmi_prepare(struct svm_test *test) in nmi_prepare()
1266 static void nmi_test(struct svm_test *test) in nmi_test()
1281 static bool nmi_finished(struct svm_test *test) in nmi_finished()
1317 static bool nmi_check(struct svm_test *test) in nmi_check()
1326 struct svm_test *test = _test; in nmi_message_thread() local
1343 static void nmi_hlt_test(struct svm_test *test) in nmi_hlt_test()
1374 static bool nmi_hlt_finished(struct svm_test *test) in nmi_hlt_finished()
1408 static bool nmi_hlt_check(struct svm_test *test) in nmi_hlt_check()
1413 static void vnmi_prepare(struct svm_test *test) in vnmi_prepare()
1426 static void vnmi_test(struct svm_test *test) in vnmi_test()
1435 static bool vnmi_finished(struct svm_test *test) in vnmi_finished()
1483 static bool vnmi_check(struct svm_test *test) in vnmi_check()
1495 static void exc_inject_prepare(struct svm_test *test) in exc_inject_prepare()
1503 static void exc_inject_test(struct svm_test *test) in exc_inject_test()
1508 static bool exc_inject_finished(struct svm_test *test) in exc_inject_finished()
1551 static bool exc_inject_check(struct svm_test *test) in exc_inject_check()
1565 static void virq_inject_prepare(struct svm_test *test) in virq_inject_prepare()
1577 static void virq_inject_test(struct svm_test *test) in virq_inject_test()
1604 static bool virq_inject_finished(struct svm_test *test) in virq_inject_finished()
1679 static bool virq_inject_check(struct svm_test *test) in virq_inject_check()
1684 static void virq_inject_within_shadow_prepare(struct svm_test *test) in virq_inject_within_shadow_prepare()
1694 static void virq_inject_within_shadow_prepare_gif_clear(struct svm_test *test) in virq_inject_within_shadow_prepare_gif_clear()
1699 static bool virq_inject_within_shadow_finished(struct svm_test *test) in virq_inject_within_shadow_finished()
1718 static bool virq_inject_within_shadow_check(struct svm_test *test) in virq_inject_within_shadow_check()
1753 static void reg_corruption_prepare(struct svm_test *test) in reg_corruption_prepare()
1768 static void reg_corruption_test(struct svm_test *test) in reg_corruption_test()
1786 static bool reg_corruption_finished(struct svm_test *test) in reg_corruption_finished()
1815 static bool reg_corruption_check(struct svm_test *test) in reg_corruption_check()
1827 static void init_startup_prepare(struct svm_test *test) in init_startup_prepare()
1851 static bool init_startup_finished(struct svm_test *test) in init_startup_finished()
1856 static bool init_startup_check(struct svm_test *test) in init_startup_check()
1863 static void init_intercept_prepare(struct svm_test *test) in init_intercept_prepare()
1869 static void init_intercept_test(struct svm_test *test) in init_intercept_test()
1874 static bool init_intercept_finished(struct svm_test *test) in init_intercept_finished()
1892 static bool init_intercept_check(struct svm_test *test) in init_intercept_check()
1948 static void host_rflags_prepare(struct svm_test *test) in host_rflags_prepare()
1955 static void host_rflags_prepare_gif_clear(struct svm_test *test) in host_rflags_prepare_gif_clear()
1961 static void host_rflags_test(struct svm_test *test) in host_rflags_test()
1976 static bool host_rflags_finished(struct svm_test *test) in host_rflags_finished()
2046 static bool host_rflags_check(struct svm_test *test) in host_rflags_check()
2063 static void svm_cr4_osxsave_test_guest(struct svm_test *test) in svm_cr4_osxsave_test_guest()
2091 static void basic_guest_main(struct svm_test *test) in basic_guest_main()
2617 static void vmload_vmsave_guest_main(struct svm_test *test) in vmload_vmsave_guest_main()
2680 static void prepare_vgif_enabled(struct svm_test *test) in prepare_vgif_enabled()
2685 static void test_vgif(struct svm_test *test) in test_vgif()
2690 static bool vgif_finished(struct svm_test *test) in vgif_finished()
2740 static bool vgif_check(struct svm_test *test) in vgif_check()
2749 static void pause_filter_test_guest_main(struct svm_test *test) in pause_filter_test_guest_main()
3087 static void svm_intr_intercept_mix_if_guest(struct svm_test *test) in svm_intr_intercept_mix_if_guest()
3113 static void svm_intr_intercept_mix_gif_guest(struct svm_test *test) in svm_intr_intercept_mix_gif_guest()
3146 static void svm_intr_intercept_mix_gif_guest2(struct svm_test *test) in svm_intr_intercept_mix_gif_guest2()
3173 static void svm_intr_intercept_mix_nmi_guest(struct svm_test *test) in svm_intr_intercept_mix_nmi_guest()
3203 static void svm_intr_intercept_mix_smi_guest(struct svm_test *test) in svm_intr_intercept_mix_smi_guest()
3301 static void shutdown_intercept_test_guest(struct svm_test *test) in shutdown_intercept_test_guest()