Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/arm/kvm/
Dguest.c46 struct kvm_regs *regs = &vcpu->arch.ctxt.gp_regs; in get_core_reg()
63 struct kvm_regs *regs = &vcpu->arch.ctxt.gp_regs; in set_core_reg()
96 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs()
101 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs()
157 return sizeof(struct kvm_regs) / sizeof(u32); in num_core_regs()
183 for (i = 0; i < sizeof(struct kvm_regs)/sizeof(u32); i++) { in kvm_arm_copy_reg_indices()
Dreset.c25 static struct kvm_regs cortexa_regs_reset = {
43 struct kvm_regs *reset_regs; in kvm_reset_vcpu()
Demulate.c24 (offsetof(struct kvm_regs, _reg) / sizeof(u32))
/Linux-v5.4/arch/arm64/kvm/
Dreset.c39 static const struct kvm_regs default_regs_reset = {
44 static const struct kvm_regs default_regs_reset32 = {
260 const struct kvm_regs *cpu_reset; in kvm_reset_vcpu()
Dguest.c131 struct kvm_regs *regs = vcpu_gp_regs(vcpu); in get_core_reg()
153 struct kvm_regs *regs = vcpu_gp_regs(vcpu); in set_core_reg()
436 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs()
441 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs()
452 for (i = 0; i < sizeof(struct kvm_regs) / sizeof(__u32); i++) { in copy_core_reg_indices()
/Linux-v5.4/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c40 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs()
84 struct kvm_regs regs; in main()
Dsmm_test.c92 struct kvm_regs regs; in main()
Devmcs_test.c76 struct kvm_regs regs1, regs2; in main()
Dstate_test.c124 struct kvm_regs regs1, regs2; in main()
/Linux-v5.4/arch/arm/include/uapi/asm/
Dkvm.h61 struct kvm_regs { struct
190 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
/Linux-v5.4/tools/arch/arm/include/uapi/asm/
Dkvm.h61 struct kvm_regs { struct
190 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
/Linux-v5.4/arch/arm64/include/uapi/asm/
Dkvm.h50 struct kvm_regs { struct
180 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/Linux-v5.4/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c42 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs()
70 struct kvm_regs regs; in main()
/Linux-v5.4/tools/arch/arm64/include/uapi/asm/
Dkvm.h50 struct kvm_regs { struct
180 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/Linux-v5.4/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c44 struct kvm_regs regs; in get_ucall()
Dprocessor.c94 void regs_dump(FILE *stream, struct kvm_regs *regs, in regs_dump()
652 struct kvm_regs regs; in vm_vcpu_add_default()
925 struct kvm_regs regs; in vcpu_args_set()
974 struct kvm_regs regs; in vcpu_dump()
991 struct kvm_regs regs;
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h68 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
/Linux-v5.4/tools/testing/selftests/kvm/include/
Dkvm_util.h119 void vcpu_regs_get(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
120 void vcpu_regs_set(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
/Linux-v5.4/arch/x86/include/uapi/asm/
Dkvm.h116 struct kvm_regs { struct
376 struct kvm_regs regs;
/Linux-v5.4/tools/arch/x86/include/uapi/asm/
Dkvm.h116 struct kvm_regs { struct
376 struct kvm_regs regs;
/Linux-v5.4/virt/kvm/
Dkvm_main.c2839 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
2842 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
2843 if (!kvm_regs) in kvm_vcpu_ioctl()
2845 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs); in kvm_vcpu_ioctl()
2849 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs))) in kvm_vcpu_ioctl()
2853 kfree(kvm_regs); in kvm_vcpu_ioctl()
2857 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
2860 kvm_regs = memdup_user(argp, sizeof(*kvm_regs)); in kvm_vcpu_ioctl()
2861 if (IS_ERR(kvm_regs)) { in kvm_vcpu_ioctl()
2862 r = PTR_ERR(kvm_regs); in kvm_vcpu_ioctl()
[all …]
/Linux-v5.4/tools/arch/mips/include/uapi/asm/
Dkvm.h30 struct kvm_regs { struct
/Linux-v5.4/arch/mips/include/uapi/asm/
Dkvm.h34 struct kvm_regs { struct
/Linux-v5.4/arch/s390/include/uapi/asm/
Dkvm.h175 struct kvm_regs { struct
/Linux-v5.4/tools/arch/s390/include/uapi/asm/
Dkvm.h175 struct kvm_regs { struct

12