Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
122 struct kvm_regs regs; in test_req_and_verify_all_valid_regs()
151 struct kvm_regs regs; in test_set_and_verify_various_reg_values()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c43 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs()
88 struct kvm_regs regs; in main()
Duserspace_io_test.c54 struct kvm_regs regs; in main()
Dsmm_test.c134 struct kvm_regs regs; in main()
Demulator_error_test.c53 struct kvm_regs regs; in process_exit_on_emulation_error()
Dvmx_preemption_timer_test.c158 struct kvm_regs regs1, regs2; in main()
Dstate_test.c158 struct kvm_regs regs1, regs2; in main()
Devmcs_test.c175 struct kvm_regs regs1, regs2; in save_restore_vm()
Ddebug_regs.c71 struct kvm_regs regs; in vcpu_skip_insn()
/linux-6.1.9/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)
/linux-6.1.9/tools/arch/arm64/include/uapi/asm/
Dkvm.h50 struct kvm_regs { struct
208 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/linux-6.1.9/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c162 struct kvm_regs regs; in vm_arch_vcpu_add()
195 struct kvm_regs regs; in vcpu_args_set()
/linux-6.1.9/arch/arm64/include/uapi/asm/
Dkvm.h50 struct kvm_regs { struct
208 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c47 struct kvm_regs regs; in get_ucall()
Dperf_test_util.c83 struct kvm_regs regs; in perf_test_setup_nested()
Dprocessor.c23 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent) in regs_dump()
646 struct kvm_regs regs; in vm_arch_vcpu_add()
831 struct kvm_regs regs; in vcpu_args_set()
864 struct kvm_regs regs; in vcpu_arch_dump()
/linux-6.1.9/arch/arm64/kvm/
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-6.1.9/arch/riscv/include/uapi/asm/
Dkvm.h25 struct kvm_regs { struct
/linux-6.1.9/tools/arch/mips/include/uapi/asm/
Dkvm.h30 struct kvm_regs { struct
/linux-6.1.9/arch/mips/include/uapi/asm/
Dkvm.h34 struct kvm_regs { struct
/linux-6.1.9/tools/arch/x86/include/uapi/asm/
Dkvm.h118 struct kvm_regs { struct
431 struct kvm_regs regs;
/linux-6.1.9/arch/x86/include/uapi/asm/
Dkvm.h118 struct kvm_regs { struct
431 struct kvm_regs regs;
/linux-6.1.9/virt/kvm/
Dkvm_main.c4092 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
4095 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
4096 if (!kvm_regs) in kvm_vcpu_ioctl()
4098 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs); in kvm_vcpu_ioctl()
4102 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs))) in kvm_vcpu_ioctl()
4106 kfree(kvm_regs); in kvm_vcpu_ioctl()
4110 struct kvm_regs *kvm_regs; in kvm_vcpu_ioctl() local
4112 kvm_regs = memdup_user(argp, sizeof(*kvm_regs)); in kvm_vcpu_ioctl()
4113 if (IS_ERR(kvm_regs)) { in kvm_vcpu_ioctl()
4114 r = PTR_ERR(kvm_regs); in kvm_vcpu_ioctl()
[all …]
/linux-6.1.9/tools/arch/s390/include/uapi/asm/
Dkvm.h176 struct kvm_regs { struct
/linux-6.1.9/arch/s390/include/uapi/asm/
Dkvm.h176 struct kvm_regs { struct

12