Home
last modified time | relevance | path

Searched refs:kvm_regs (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c52 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 Ddebug_test.c23 struct kvm_regs regs; in test_step_int_1()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dsync_regs_test.c44 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs()
216 struct kvm_regs regs; in main()
H A Dflds_emulation.h23 struct kvm_regs regs; in handle_flds_emulation_failure_exit()
H A Duserspace_io_test.c56 struct kvm_regs regs; in main()
H A Dsmm_test.c134 struct kvm_regs regs; in main()
H A Dvmx_preemption_timer_test.c158 struct kvm_regs regs1, regs2; in main()
/openbmc/linux/tools/arch/arm/include/uapi/asm/
H A Dkvm.h61 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 Dkvm.h61 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 Ducall.c50 struct kvm_regs regs; in ucall_arch_get_ucall()
H A Dmemstress.c83 struct kvm_regs regs; in memstress_setup_nested()
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/
H A Dprocessor.c163 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 Dkvm.h51 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 Dkvm.h51 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 Dguest.c195 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 Dkvm.h49 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 Dkvm.h25 struct kvm_regs { struct
/openbmc/linux/tools/arch/mips/include/uapi/asm/
H A Dkvm.h30 struct kvm_regs { struct
/openbmc/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h111 struct kvm_regs { struct
429 struct kvm_regs regs;
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dkvm.h111 struct kvm_regs { struct
429 struct kvm_regs regs;
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dkvm.h34 struct kvm_regs { struct
/openbmc/qemu/linux-headers/asm-mips/
H A Dkvm.h32 struct kvm_regs { struct
/openbmc/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h27 struct kvm_regs { struct
/openbmc/linux/virt/kvm/
H A Dkvm_main.c4167 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 Dkvm.h176 struct kvm_regs { struct

123