Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/kvm/include/
H A Ducall_common.h23 struct ucall { struct
29 struct ucall *hva; argument
36 void ucall(uint64_t cmd, int nargs, ...);
41 uint64_t get_ucall(struct kvm_vcpu *vcpu, struct ucall *uc);
54 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
55 #define GUEST_SYNC(stage) ucall(UCALL_SYNC, 2, "hello", stage)
56 #define GUEST_SYNC1(arg0) ucall(UCALL_SYNC, 1, arg0)
57 #define GUEST_SYNC2(arg0, arg1) ucall(UCALL_SYNC, 2, arg0, arg1)
59 ucall(UCALL_SYNC, 3, arg0, arg1, arg2)
61 ucall(UCALL_SYNC, 4, arg0, arg1, arg2, arg3)
[all …]
/linux/tools/testing/selftests/kvm/lib/
H A Ducall_common.c14 struct ucall ucalls[KVM_MAX_VCPUS];
31 struct ucall *uc; in ucall_init()
50 static struct ucall *ucall_alloc(void) in ucall_alloc()
52 struct ucall *uc; in ucall_alloc()
76 static void ucall_free(struct ucall *uc) in ucall_free()
85 struct ucall *uc; in ucall_assert()
106 struct ucall *uc; in ucall_fmt()
121 void ucall(uint64_t cmd, int nargs, ...) in ucall() function
123 struct ucall *uc; in ucall()
143 uint64_t get_ucall(struct kvm_vcpu *vcpu, struct ucall *uc) in get_ucall()
[all …]
/linux/tools/testing/selftests/kvm/x86_64/
H A Dkvm_pv_test.c
H A Dkvm_clock_test.c
H A Dvmx_nested_tsc_scaling_test.c
H A Duserspace_msr_exit_test.c
H A Dvmx_close_while_nested_test.c
H A Ducna_injection_test.c
H A Dsvm_vmcall_test.c
H A Dvmx_invalid_nested_guest_state.c
H A Duserspace_io_test.c
H A Dsmaller_maxphyaddr_emulation_test.c
H A Dsvm_int_ctl_test.c
H A Dtsc_scaling_sync.c
H A Dhyperv_extended_hypercalls.c
H A Dmonitor_mwait_test.c
H A Dvmx_apic_access_test.c
H A Dtriple_fault_event_test.c
H A Dvmx_tsc_adjust_test.c
H A Dfix_hypercall_test.c
H A Dset_boot_cpu_id.c
H A Dvmx_dirty_log_test.c
H A Dapic_bus_clock_test.c
/linux/tools/testing/selftests/kvm/
H 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()
H A Dguest_print_test.c129 struct ucall uc; in run_test()
173 struct ucall uc; in test_limits()

123