/linux-6.1.9/tools/testing/selftests/kvm/s390x/ |
D | sync_regs_test.c | 52 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs() 122 struct kvm_regs regs; in test_req_and_verify_all_valid_regs() 151 struct kvm_regs regs; in test_set_and_verify_various_reg_values()
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | sync_regs_test.c | 43 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() 88 struct kvm_regs regs; in main()
|
D | userspace_io_test.c | 54 struct kvm_regs regs; in main()
|
D | smm_test.c | 134 struct kvm_regs regs; in main()
|
D | emulator_error_test.c | 53 struct kvm_regs regs; in process_exit_on_emulation_error()
|
D | vmx_preemption_timer_test.c | 158 struct kvm_regs regs1, regs2; in main()
|
D | state_test.c | 158 struct kvm_regs regs1, regs2; in main()
|
D | evmcs_test.c | 175 struct kvm_regs regs1, regs2; in save_restore_vm()
|
D | debug_regs.c | 71 struct kvm_regs regs; in vcpu_skip_insn()
|
/linux-6.1.9/tools/arch/arm/include/uapi/asm/ |
D | kvm.h | 61 struct kvm_regs { struct 191 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
|
/linux-6.1.9/tools/arch/arm64/include/uapi/asm/ |
D | kvm.h | 50 struct kvm_regs { struct 208 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/s390x/ |
D | processor.c | 162 struct kvm_regs regs; in vm_arch_vcpu_add() 195 struct kvm_regs regs; in vcpu_args_set()
|
/linux-6.1.9/arch/arm64/include/uapi/asm/ |
D | kvm.h | 50 struct kvm_regs { struct 208 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/ |
D | ucall.c | 47 struct kvm_regs regs; in get_ucall()
|
D | perf_test_util.c | 83 struct kvm_regs regs; in perf_test_setup_nested()
|
D | processor.c | 23 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent) in regs_dump() 646 struct kvm_regs regs; in vm_arch_vcpu_add() 831 struct kvm_regs regs; in vcpu_args_set() 864 struct kvm_regs regs; in vcpu_arch_dump()
|
/linux-6.1.9/arch/arm64/kvm/ |
D | guest.c | 194 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in get_core_reg() 217 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in set_core_reg() 529 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs() 534 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs() 545 for (i = 0; i < sizeof(struct kvm_regs) / sizeof(__u32); i++) { in copy_core_reg_indices()
|
/linux-6.1.9/arch/riscv/include/uapi/asm/ |
D | kvm.h | 25 struct kvm_regs { struct
|
/linux-6.1.9/tools/arch/mips/include/uapi/asm/ |
D | kvm.h | 30 struct kvm_regs { struct
|
/linux-6.1.9/arch/mips/include/uapi/asm/ |
D | kvm.h | 34 struct kvm_regs { struct
|
/linux-6.1.9/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 118 struct kvm_regs { struct 431 struct kvm_regs regs;
|
/linux-6.1.9/arch/x86/include/uapi/asm/ |
D | kvm.h | 118 struct kvm_regs { struct 431 struct kvm_regs regs;
|
/linux-6.1.9/virt/kvm/ |
D | kvm_main.c | 4092 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local 4095 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl() 4096 if (!kvm_regs) in kvm_vcpu_ioctl() 4098 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs); in kvm_vcpu_ioctl() 4102 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs))) in kvm_vcpu_ioctl() 4106 kfree(kvm_regs); in kvm_vcpu_ioctl() 4110 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local 4112 kvm_regs = memdup_user(argp, sizeof(*kvm_regs)); in kvm_vcpu_ioctl() 4113 if (IS_ERR(kvm_regs)) { in kvm_vcpu_ioctl() 4114 r = PTR_ERR(kvm_regs); in kvm_vcpu_ioctl() [all …]
|
/linux-6.1.9/tools/arch/s390/include/uapi/asm/ |
D | kvm.h | 176 struct kvm_regs { struct
|
/linux-6.1.9/arch/s390/include/uapi/asm/ |
D | kvm.h | 176 struct kvm_regs { struct
|