Searched refs:expect_gp (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/x86/ |
H A D | ioperm.c | 78 static void expect_gp(unsigned short port) in expect_gp() function 96 expect_gp(0x80); in main() 97 expect_gp(0xed); in main() 110 expect_gp(0xed); in main() 117 expect_gp(0x80); in main() 118 expect_gp(0xed); in main() 133 expect_gp(0xed); in main() 144 expect_gp(0x80); in main()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | pmu_counters_test.c | 328 #define GUEST_ASSERT_PMC_MSR_ACCESS(insn, msr, expect_gp, vector) \ argument 329 __GUEST_ASSERT(expect_gp ? vector == GP_VECTOR : !vector, \ 331 expect_gp ? "#GP" : "no fault", msr, vector) \ 384 const bool expect_gp = !expect_success && msr != MSR_P6_PERFCTR0 && in guest_rd_wr_counters() local 391 GUEST_ASSERT_PMC_MSR_ACCESS(WRMSR, msr, expect_gp, vector); in guest_rd_wr_counters() 394 GUEST_ASSERT_PMC_MSR_ACCESS(RDMSR, msr, expect_gp, vector); in guest_rd_wr_counters() 397 if (!expect_gp) in guest_rd_wr_counters() 420 GUEST_ASSERT_PMC_MSR_ACCESS(WRMSR, msr, expect_gp, vector); in guest_rd_wr_counters()
|