/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A 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() 148 struct kvm_regs regs; in test_set_and_verify_various_reg_values()
|
H A D | debug_test.c | 23 struct kvm_regs regs; in test_step_int_1()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | sync_regs_test.c | 44 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() 216 struct kvm_regs regs; in main()
|
H A D | flds_emulation.h | 23 struct kvm_regs regs; in handle_flds_emulation_failure_exit()
|
H A D | userspace_io_test.c | 56 struct kvm_regs regs; in main()
|
H A D | smm_test.c | 134 struct kvm_regs regs; in main()
|
H A D | vmx_preemption_timer_test.c | 158 struct kvm_regs regs1, regs2; in main()
|
/openbmc/linux/tools/arch/arm/include/uapi/asm/ |
H A D | kvm.h | 61 struct kvm_regs { struct 191 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
|
/openbmc/qemu/linux-headers/asm-arm/ |
H A D | kvm.h | 61 struct kvm_regs { struct 191 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
|
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | ucall.c | 50 struct kvm_regs regs; in ucall_arch_get_ucall()
|
H A D | memstress.c | 83 struct kvm_regs regs; in memstress_setup_nested()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | processor.c | 163 struct kvm_regs regs; in vm_arch_vcpu_add() 197 struct kvm_regs regs; in vcpu_args_set()
|
/openbmc/linux/tools/arch/arm64/include/uapi/asm/ |
H A D | kvm.h | 51 struct kvm_regs { struct 219 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
|
/openbmc/linux/arch/arm64/include/uapi/asm/ |
H A D | kvm.h | 51 struct kvm_regs { struct 219 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | guest.c | 195 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in get_core_reg() 218 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in set_core_reg() 536 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs() 541 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs() 552 for (i = 0; i < sizeof(struct kvm_regs) / sizeof(__u32); i++) { in copy_core_reg_indices()
|
/openbmc/qemu/linux-headers/asm-arm64/ |
H A D | kvm.h | 49 struct kvm_regs { struct 222 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
|
/openbmc/qemu/linux-headers/asm-loongarch/ |
H A D | kvm.h | 25 struct kvm_regs { struct
|
/openbmc/linux/tools/arch/mips/include/uapi/asm/ |
H A D | kvm.h | 30 struct kvm_regs { struct
|
/openbmc/linux/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 111 struct kvm_regs { struct 429 struct kvm_regs regs;
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 111 struct kvm_regs { struct 429 struct kvm_regs regs;
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | kvm.h | 34 struct kvm_regs { struct
|
/openbmc/qemu/linux-headers/asm-mips/ |
H A D | kvm.h | 32 struct kvm_regs { struct
|
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 27 struct kvm_regs { struct
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_main.c | 4167 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local 4170 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl() 4171 if (!kvm_regs) in kvm_vcpu_ioctl() 4173 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs); in kvm_vcpu_ioctl() 4177 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs))) in kvm_vcpu_ioctl() 4181 kfree(kvm_regs); in kvm_vcpu_ioctl() 4185 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local 4187 kvm_regs = memdup_user(argp, sizeof(*kvm_regs)); in kvm_vcpu_ioctl() 4188 if (IS_ERR(kvm_regs)) { in kvm_vcpu_ioctl() 4189 r = PTR_ERR(kvm_regs); in kvm_vcpu_ioctl() [all …]
|
/openbmc/linux/tools/arch/s390/include/uapi/asm/ |
H A D | kvm.h | 176 struct kvm_regs { struct
|