/Linux-v5.4/arch/arm/kvm/ |
D | guest.c | 46 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()
|
D | reset.c | 25 static struct kvm_regs cortexa_regs_reset = { 43 struct kvm_regs *reset_regs; in kvm_reset_vcpu()
|
D | emulate.c | 24 (offsetof(struct kvm_regs, _reg) / sizeof(u32))
|
/Linux-v5.4/arch/arm64/kvm/ |
D | reset.c | 39 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()
|
D | guest.c | 131 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/ |
D | sync_regs_test.c | 40 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() 84 struct kvm_regs regs; in main()
|
D | smm_test.c | 92 struct kvm_regs regs; in main()
|
D | evmcs_test.c | 76 struct kvm_regs regs1, regs2; in main()
|
D | state_test.c | 124 struct kvm_regs regs1, regs2; in main()
|
/Linux-v5.4/arch/arm/include/uapi/asm/ |
D | kvm.h | 61 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/ |
D | kvm.h | 61 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/ |
D | kvm.h | 50 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/ |
D | sync_regs_test.c | 42 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/ |
D | kvm.h | 50 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/ |
D | ucall.c | 44 struct kvm_regs regs; in get_ucall()
|
D | processor.c | 94 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/ |
D | kvm_util_internal.h | 68 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
|
/Linux-v5.4/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 119 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/ |
D | kvm.h | 116 struct kvm_regs { struct 376 struct kvm_regs regs;
|
/Linux-v5.4/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 116 struct kvm_regs { struct 376 struct kvm_regs regs;
|
/Linux-v5.4/virt/kvm/ |
D | kvm_main.c | 2839 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/ |
D | kvm.h | 30 struct kvm_regs { struct
|
/Linux-v5.4/arch/mips/include/uapi/asm/ |
D | kvm.h | 34 struct kvm_regs { struct
|
/Linux-v5.4/arch/s390/include/uapi/asm/ |
D | kvm.h | 175 struct kvm_regs { struct
|
/Linux-v5.4/tools/arch/s390/include/uapi/asm/ |
D | kvm.h | 175 struct kvm_regs { struct
|