/linux/tools/testing/selftests/kvm/x86_64/ |
A D | sync_regs_test.c | 45 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() 89 struct kvm_regs regs; in main()
|
A D | userspace_io_test.c | 55 struct kvm_regs regs; in main()
|
A D | smm_test.c | 138 struct kvm_regs regs; in main()
|
A D | evmcs_test.c | 117 struct kvm_regs regs1, regs2; in save_restore_vm()
|
A D | emulator_error_test.c | 63 struct kvm_regs regs; in process_exit_on_emulation_error()
|
A D | vmx_preemption_timer_test.c | 159 struct kvm_regs regs1, regs2; in main()
|
A D | state_test.c | 159 struct kvm_regs regs1, regs2; in main()
|
/linux/tools/arch/arm/include/uapi/asm/ |
A D | kvm.h | 61 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 D | sync_regs_test.c | 53 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 D | kvm.h | 50 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 D | kvm.h | 50 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 D | processor.c | 162 struct kvm_regs regs; in vm_vcpu_add_default() 192 struct kvm_regs regs; in vcpu_args_set()
|
/linux/arch/arm64/kvm/ |
A D | guest.c | 194 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 D | ucall.c | 47 struct kvm_regs regs; in get_ucall()
|
A D | processor.c | 54 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 D | kvm.h | 25 struct kvm_regs { struct
|
/linux/tools/testing/selftests/kvm/lib/ |
A D | kvm_util_internal.h | 106 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
|
/linux/arch/x86/include/uapi/asm/ |
A D | kvm.h | 118 struct kvm_regs { struct 412 struct kvm_regs regs;
|
/linux/tools/arch/x86/include/uapi/asm/ |
A D | kvm.h | 118 struct kvm_regs { struct 412 struct kvm_regs regs;
|
/linux/tools/arch/mips/include/uapi/asm/ |
A D | kvm.h | 30 struct kvm_regs { struct
|
/linux/virt/kvm/ |
A D | kvm_main.c | 3732 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 D | kvm.h | 34 struct kvm_regs { struct
|
/linux/tools/testing/selftests/kvm/include/ |
A D | kvm_util.h | 186 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 D | kvm.h | 175 struct kvm_regs { struct
|
/linux/arch/s390/include/uapi/asm/ |
A D | kvm.h | 175 struct kvm_regs { struct
|