Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/kvm/x86_64/
A Dsync_regs_test.c45 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs()
89 struct kvm_regs regs; in main()
A Duserspace_io_test.c55 struct kvm_regs regs; in main()
A Dsmm_test.c138 struct kvm_regs regs; in main()
A Devmcs_test.c117 struct kvm_regs regs1, regs2; in save_restore_vm()
A Demulator_error_test.c63 struct kvm_regs regs; in process_exit_on_emulation_error()
A Dvmx_preemption_timer_test.c159 struct kvm_regs regs1, regs2; in main()
A Dstate_test.c159 struct kvm_regs regs1, regs2; in main()
/linux/tools/arch/arm/include/uapi/asm/
A Dkvm.h61 struct kvm_regs { struct
191 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
/linux/tools/testing/selftests/kvm/s390x/
A Dsync_regs_test.c53 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs()
81 struct kvm_regs regs; in main()
/linux/tools/arch/arm64/include/uapi/asm/
A Dkvm.h50 struct kvm_regs { struct
204 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/linux/arch/arm64/include/uapi/asm/
A Dkvm.h50 struct kvm_regs { struct
204 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/linux/tools/testing/selftests/kvm/lib/s390x/
A Dprocessor.c162 struct kvm_regs regs; in vm_vcpu_add_default()
192 struct kvm_regs regs; in vcpu_args_set()
/linux/arch/arm64/kvm/
A Dguest.c194 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/tools/testing/selftests/kvm/lib/x86_64/
A Ducall.c47 struct kvm_regs regs; in get_ucall()
A Dprocessor.c54 void regs_dump(FILE *stream, struct kvm_regs *regs, in regs_dump()
656 struct kvm_regs regs; in vm_vcpu_add_default()
973 struct kvm_regs regs; in vcpu_args_set()
1006 struct kvm_regs regs; in vcpu_dump()
1023 struct kvm_regs regs;
/linux/arch/riscv/include/uapi/asm/
A Dkvm.h25 struct kvm_regs { struct
/linux/tools/testing/selftests/kvm/lib/
A Dkvm_util_internal.h106 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
/linux/arch/x86/include/uapi/asm/
A Dkvm.h118 struct kvm_regs { struct
412 struct kvm_regs regs;
/linux/tools/arch/x86/include/uapi/asm/
A Dkvm.h118 struct kvm_regs { struct
412 struct kvm_regs regs;
/linux/tools/arch/mips/include/uapi/asm/
A Dkvm.h30 struct kvm_regs { struct
/linux/virt/kvm/
A Dkvm_main.c3732 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
3735 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
3736 if (!kvm_regs) in kvm_vcpu_ioctl()
3738 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs); in kvm_vcpu_ioctl()
3742 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs))) in kvm_vcpu_ioctl()
3746 kfree(kvm_regs); in kvm_vcpu_ioctl()
3750 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
3752 kvm_regs = memdup_user(argp, sizeof(*kvm_regs)); in kvm_vcpu_ioctl()
3753 if (IS_ERR(kvm_regs)) { in kvm_vcpu_ioctl()
3754 r = PTR_ERR(kvm_regs); in kvm_vcpu_ioctl()
[all …]
/linux/arch/mips/include/uapi/asm/
A Dkvm.h34 struct kvm_regs { struct
/linux/tools/testing/selftests/kvm/include/
A Dkvm_util.h186 void vcpu_regs_get(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
187 void vcpu_regs_set(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs);
/linux/tools/arch/s390/include/uapi/asm/
A Dkvm.h175 struct kvm_regs { struct
/linux/arch/s390/include/uapi/asm/
A Dkvm.h175 struct kvm_regs { struct

Completed in 49 milliseconds

12