Home
last modified time | relevance | path

Searched refs:test_for_exception (Results 1 – 8 of 8) sorted by relevance

/kvm-unit-tests/x86/
H A Dlam.c89 fault = test_for_exception(GP_VECTOR, do_mov, ptr); in test_ptr()
94 fault = test_for_exception(GP_VECTOR, do_mov, ptr); in test_ptr()
105 fault = test_for_exception(GP_VECTOR, do_mov, ptr); in test_ptr()
H A Dpmu_lbr.c42 return test_for_exception(GP_VECTOR, init_lbr, &index); in test_init_lbr_from_exception()
H A Dapic.c91 return test_for_exception(GP_VECTOR, do_write_apicbase, &data); in test_write_apicbase_exception()
191 report(test_for_exception(GP_VECTOR, do_write_apicbase, &value), in test_apicbase()
195 report(test_for_exception(GP_VECTOR, do_write_apicbase, &value), in test_apicbase()
223 report(!test_for_exception(GP_VECTOR, do_write_apic_id, &newid) && in __test_apic_id()
230 report(test_for_exception(GP_VECTOR, do_write_apic_id, &newid), in __test_apic_id()
H A Dpmu.c627 exc = test_for_exception(GP_VECTOR, do_rdpmc_fast, &cnt); in check_rdpmc()
643 exc = test_for_exception(GP_VECTOR, do_rdpmc_fast, &cnt); in check_rdpmc()
883 report(test_for_exception(GP_VECTOR, in check_gp_counters_write_width()
H A Dvmx.c1366 report(test_for_exception(GP_VECTOR, &do_vmxon_off, NULL), in test_vmx_feature_control()
1370 report(test_for_exception(GP_VECTOR, &do_vmxon_off, NULL), in test_vmx_feature_control()
1382 report(test_for_exception(GP_VECTOR, &do_write_feature_control, NULL), in test_vmx_feature_control()
H A Dvmx_tests.c3171 fault = test_for_exception(GP_VECTOR, &ds_invvpid, in invvpid_test_gp()
3180 fault = test_for_exception(SS_VECTOR, &ss_invvpid, in invvpid_test_ss()
3190 fault = test_for_exception(PF_VECTOR, &ds_invvpid, vpage); in invvpid_test_pf()
3222 fault = test_for_exception(UD_VECTOR, &try_compat_invvpid, NULL); in invvpid_test_compatibility_mode()
3231 fault = test_for_exception(UD_VECTOR, &ds_invvpid, NULL); in invvpid_test_not_in_vmx_operation()
3263 fault = test_for_exception(GP_VECTOR, ds_invvpid, operand); in invvpid_test_lam()
/kvm-unit-tests/lib/x86/
H A Ddesc.h260 bool test_for_exception(unsigned int ex, void (*trigger_func)(void *data),
H A Ddesc.c480 bool test_for_exception(unsigned int ex, void (*trigger_func)(void *data), in test_for_exception() function