Home
last modified time | relevance | path

Searched refs:ucall (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.3-rc2/tools/testing/selftests/kvm/include/
A Ducall_common.h22 struct ucall { struct
27 struct ucall *hva; argument
34 void ucall(uint64_t cmd, int nargs, ...);
90 #define GUEST_ASSERT_ARG(ucall, i) ((ucall).args[GUEST_ASSERT_BUILTIN_NARGS + i]) argument
92 #define REPORT_GUEST_ASSERT(ucall) \ argument
93 __REPORT_GUEST_ASSERT((ucall), "")
96 __REPORT_GUEST_ASSERT((ucall), \
98 GUEST_ASSERT_ARG((ucall), 0))
101 __REPORT_GUEST_ASSERT((ucall), \
107 __REPORT_GUEST_ASSERT((ucall), \
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/
A Ducall_common.c11 struct ucall ucalls[KVM_MAX_VCPUS];
23 struct ucall *uc; in ucall_init()
41 static struct ucall *ucall_alloc(void) in ucall_alloc()
43 struct ucall *uc; in ucall_alloc()
67 static void ucall_free(struct ucall *uc) in ucall_free()
73 void ucall(uint64_t cmd, int nargs, ...) in ucall() function
75 struct ucall *uc; in ucall()
95 uint64_t get_ucall(struct kvm_vcpu *vcpu, struct ucall *uc) in get_ucall()
97 struct ucall ucall; in get_ucall() local
101 uc = &ucall; in get_ucall()
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dkvm_pv_test.c22 #define PR_MSR(msr) ucall(UCALL_PR_MSR, 1, msr)
62 #define PR_HCALL(hc) ucall(UCALL_PR_HCALL, 1, hc)
98 static void pr_msr(struct ucall *uc) in pr_msr()
105 static void pr_hcall(struct ucall *uc) in pr_hcall()
115 struct ucall uc; in enter_guest()
A Dvmx_nested_tsc_scaling_test.c27 #define GUEST_SLEEP(sec) ucall(UCALL_SYNC, 2, USLEEP, sec)
28 #define GUEST_CHECK(level, freq) ucall(UCALL_SYNC, 2, level, freq)
187 struct ucall uc; in main()
A Dkvm_clock_test.c52 static void handle_sync(struct ucall *uc, struct kvm_clock_data *start, in handle_sync()
72 static void handle_abort(struct ucall *uc) in handle_abort()
110 struct ucall uc; in enter_guest()
A Dvmx_close_while_nested_test.c64 struct ucall uc; in main()
A Dcr4_cpuid_sync_test.c56 struct ucall uc; in main()
A Dsvm_vmcall_test.c51 struct ucall uc; in main()
A Duserspace_msr_exit_test.c399 struct ucall uc; in check_for_guest_assert()
476 struct ucall uc; in process_ucall_done()
493 struct ucall uc = {}; in process_ucall()
608 struct ucall uc; in handle_ucall()
A Dvmx_invalid_nested_guest_state.c59 struct ucall uc; in main()
A Dplatform_info_test.c40 struct ucall uc; in test_msr_platform_info_enabled()
A Ducna_injection_test.c141 struct ucall uc; in run_vcpu_expect_gp()
182 struct ucall uc; in run_ucna_injection()
A Duserspace_io_test.c57 struct ucall uc; in main()
A Dsmaller_maxphyaddr_emulation_test.c52 struct ucall uc; in main()
A Dhyperv_extended_hypercalls.c45 struct ucall uc; in main()
A Dsvm_int_ctl_test.c91 struct ucall uc; in main()
A Dtsc_scaling_sync.c68 struct ucall uc; in run_vcpu()
A Dmonitor_mwait_test.c69 struct ucall uc; in main()
A Dset_boot_cpu_id.c47 struct ucall uc; in run_vcpu()
A Dfix_hypercall_test.c89 struct ucall uc; in enter_guest()
A Dvmx_apic_access_test.c95 struct ucall uc; in main()
A Dtriple_fault_event_test.c64 struct ucall uc; in main()
/linux-6.3-rc2/tools/testing/selftests/kvm/
A Dsystem_counter_offset_test.c72 static void handle_sync(struct ucall *uc, uint64_t start, uint64_t end) in handle_sync()
84 static void handle_abort(struct ucall *uc) in handle_abort()
92 struct ucall uc; in enter_guest()
A DMakefile40 LIBKVM_x86_64 += lib/x86_64/ucall.c
48 LIBKVM_aarch64 += lib/aarch64/ucall.c
53 LIBKVM_s390x += lib/s390x/ucall.c
56 LIBKVM_riscv += lib/riscv/ucall.c
/linux-6.3-rc2/tools/testing/selftests/kvm/aarch64/
A Dpsci_test.c94 struct ucall uc; in enter_guest()
137 struct ucall uc; in host_test_cpu_on()

Completed in 20 milliseconds

123