Searched refs:GUEST_ASSERT_EQ (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/tools/testing/selftests/kvm/aarch64/ |
D | debug-exceptions.c | 112 GUEST_ASSERT_EQ(sw_bp_addr, PC(sw_bp)); in guest_code() 120 GUEST_ASSERT_EQ(hw_bp_addr, PC(hw_bp)); in guest_code() 128 GUEST_ASSERT_EQ(hw_bp_addr, PC(bp_svc)); in guest_code() 129 GUEST_ASSERT_EQ(svc_addr, PC(bp_svc) + 4); in guest_code() 137 GUEST_ASSERT_EQ(sw_bp_addr, PC(bp_brk)); in guest_code() 138 GUEST_ASSERT_EQ(hw_bp_addr, PC(bp_brk)); in guest_code() 146 GUEST_ASSERT_EQ(write_data, 'x'); in guest_code() 147 GUEST_ASSERT_EQ(wp_data_addr, PC(write_data)); in guest_code() 160 GUEST_ASSERT_EQ(ss_addr[0], PC(ss_start)); in guest_code() 161 GUEST_ASSERT_EQ(ss_addr[1], PC(ss_start) + 4); in guest_code() [all …]
|
D | vgic_irq.c | 191 GUEST_ASSERT_EQ(gic_read_ap1r0(), 0); in guest_irq_generic_handler() 260 GUEST_ASSERT_EQ(irq_handled, 0); in test_inject_fail() 288 GUEST_ASSERT_EQ(irq_handled, num); in guest_inject() 290 GUEST_ASSERT_EQ(irqnr_received[i], 1); in guest_inject() 343 GUEST_ASSERT_EQ(gic_read_ap1r0(), 0); in guest_restore_active() 394 GUEST_ASSERT_EQ(tmp, intid); in test_inject_preemption() 411 GUEST_ASSERT_EQ(gic_read_ap1r0(), 0); in test_inject_preemption()
|
/linux-5.19.10/tools/testing/selftests/kvm/x86_64/ |
D | tsc_msrs_test.c | 25 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), val); in guest_code() 26 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 31 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), val); in guest_code() 32 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 38 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), val); in guest_code() 39 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 43 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in guest_code() 44 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 53 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in guest_code() 54 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() [all …]
|
D | fix_hypercall_test.c | 68 GUEST_ASSERT_EQ(exp, obs); in assert_hypercall_insn()
|
/linux-5.19.10/tools/testing/selftests/kvm/s390x/ |
D | tprot.c | 171 GUEST_ASSERT_EQ(set_storage_key(page_store_prot, 0x10), 0); in guest_code() 172 GUEST_ASSERT_EQ(set_storage_key(page_fetch_prot, 0x98), 0); in guest_code()
|
D | memop.c | 334 GUEST_ASSERT_EQ(not_mapped, 0); in set_storage_key_range()
|
/linux-5.19.10/tools/testing/selftests/kvm/include/ |
D | ucall_common.h | 57 #define GUEST_ASSERT_EQ(a, b) __GUEST_ASSERT((a) == (b), #a " == " #b, 2, a, b) macro
|