| /tools/testing/selftests/kvm/include/ |
| A D | ucall_common.h | 56 #define GUEST_SYNC1(arg0) ucall(UCALL_SYNC, 1, arg0) argument 57 #define GUEST_SYNC2(arg0, arg1) ucall(UCALL_SYNC, 2, arg0, arg1) argument 58 #define GUEST_SYNC3(arg0, arg1, arg2) \ argument 59 ucall(UCALL_SYNC, 3, arg0, arg1, arg2) 60 #define GUEST_SYNC4(arg0, arg1, arg2, arg3) \ argument 61 ucall(UCALL_SYNC, 4, arg0, arg1, arg2, arg3) 62 #define GUEST_SYNC5(arg0, arg1, arg2, arg3, arg4) \ argument 63 ucall(UCALL_SYNC, 5, arg0, arg1, arg2, arg3, arg4) 64 #define GUEST_SYNC6(arg0, arg1, arg2, arg3, arg4, arg5) \ argument 65 ucall(UCALL_SYNC, 6, arg0, arg1, arg2, arg3, arg4, arg5)
|
| A D | kvm_util.h | 378 static inline int __vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in __vm_enable_cap() argument 380 struct kvm_enable_cap enable_cap = { .cap = cap, .args = { arg0 } }; in __vm_enable_cap() 384 static inline void vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in vm_enable_cap() argument 386 struct kvm_enable_cap enable_cap = { .cap = cap, .args = { arg0 } }; in vm_enable_cap() 729 uint64_t arg0) in vcpu_enable_cap() argument 731 struct kvm_enable_cap enable_cap = { .cap = cap, .args = { arg0 } }; in vcpu_enable_cap()
|
| /tools/arch/x86/include/asm/ |
| A D | rmwcc.h | 15 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument 16 __GEN_RMWcc(op " " arg0, var, cc) 18 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument 19 __GEN_RMWcc(op " %1, " arg0, var, cc, vcon (val))
|
| /tools/testing/selftests/x86/ |
| A D | ptrace_syscall.c | 46 uint32_t nr, arg0, arg1, arg2, arg3, arg4, arg5; member 63 "+b" (args->arg0), "+c" (args->arg1), "+d" (args->arg2), in do_full_int80() 123 .arg0 = 10, .arg1 = 11, .arg2 = 12, in test_sys32_regs() 130 args.arg0 != 10 || args.arg1 != 11 || args.arg2 != 12 || in test_sys32_regs() 141 args.arg0 = getpid(); in test_sys32_regs() 145 args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || in test_sys32_regs()
|
| /tools/testing/selftests/kvm/lib/arm64/ |
| A D | processor.c | 593 #define __smccc_call(insn, function_id, arg0, arg1, arg2, arg3, arg4, arg5, \ argument 610 : [function_id] "r"(function_id), [arg0] "r"(arg0), \ 616 void smccc_hvc(uint32_t function_id, uint64_t arg0, uint64_t arg1, in smccc_hvc() argument 620 __smccc_call(hvc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_hvc() 624 void smccc_smc(uint32_t function_id, uint64_t arg0, uint64_t arg1, in smccc_smc() argument 628 __smccc_call(smc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_smc()
|
| /tools/testing/selftests/kvm/include/riscv/ |
| A D | sbi.h | 124 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0,
|
| /tools/testing/selftests/kvm/include/arm64/ |
| A D | processor.h | 285 void smccc_hvc(uint32_t function_id, uint64_t arg0, uint64_t arg1, 296 void smccc_smc(uint32_t function_id, uint64_t arg0, uint64_t arg1,
|
| /tools/testing/selftests/kvm/lib/riscv/ |
| A D | processor.c | 462 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0, in sbi_ecall() argument 467 register uintptr_t a0 asm ("a0") = (uintptr_t)(arg0); in sbi_ecall()
|