Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c96 struct kvm_regs regs; in main()
Devmcs_test.c85 struct kvm_regs regs1, regs2; in main()
Dvmx_preemption_timer_test.c159 struct kvm_regs regs1, regs2; in main()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/
Dkvm.h26 struct kvm_regs { struct
100 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm/asm/
Dkvm.h38 struct kvm_regs { struct
126 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
/kernel/linux/linux-5.10/tools/arch/arm/include/uapi/asm/
Dkvm.h61 struct kvm_regs { struct
191 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c52 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs()
80 struct kvm_regs regs; in main()
/kernel/linux/linux-5.10/arch/arm64/include/uapi/asm/
Dkvm.h50 struct kvm_regs { struct
196 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/kernel/linux/linux-5.10/tools/arch/arm64/include/uapi/asm/
Dkvm.h50 struct kvm_regs { struct
196 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm64/asm/
Dkvm.h39 struct kvm_regs { struct
123 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h91 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c47 struct kvm_regs regs; in get_ucall()
Dprocessor.c89 void regs_dump(FILE *stream, struct kvm_regs *regs, in regs_dump()
586 struct kvm_regs regs; in vm_vcpu_add_default()
859 struct kvm_regs regs; in vcpu_args_set()
892 struct kvm_regs regs; in vcpu_dump()
909 struct kvm_regs regs;
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dguest.c178 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in get_core_reg()
201 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in set_core_reg()
491 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs()
496 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs()
507 for (i = 0; i < sizeof(struct kvm_regs) / sizeof(__u32); i++) { in copy_core_reg_indices()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c187 struct kvm_regs regs; in vm_vcpu_add_default()
217 struct kvm_regs regs; in vcpu_args_set()
/kernel/linux/linux-5.10/tools/arch/x86/include/uapi/asm/
Dkvm.h116 struct kvm_regs { struct
396 struct kvm_regs regs;
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dkvm.h113 struct kvm_regs { struct
329 struct kvm_regs regs;
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dkvm.h116 struct kvm_regs { struct
396 struct kvm_regs regs;
/kernel/linux/linux-5.10/tools/arch/mips/include/uapi/asm/
Dkvm.h30 struct kvm_regs { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dkvm.h24 struct kvm_regs { struct
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dkvm.h34 struct kvm_regs { struct
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h155 void vcpu_regs_get(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
156 void vcpu_regs_set(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c3284 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
3287 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
3288 if (!kvm_regs) in kvm_vcpu_ioctl()
3290 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs); in kvm_vcpu_ioctl()
3294 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs))) in kvm_vcpu_ioctl()
3298 kfree(kvm_regs); in kvm_vcpu_ioctl()
3302 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
3304 kvm_regs = memdup_user(argp, sizeof(*kvm_regs)); in kvm_vcpu_ioctl()
3305 if (IS_ERR(kvm_regs)) { in kvm_vcpu_ioctl()
3306 r = PTR_ERR(kvm_regs); in kvm_vcpu_ioctl()
[all …]
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dkvm.h175 struct kvm_regs { struct

12