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

12

/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Ducall.c50 struct kvm_regs regs;
H A Dmemstress.c83 struct kvm_regs regs;
H A Dprocessor.c29 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent)
635 struct kvm_regs regs;
645 struct kvm_regs regs;
909 struct kvm_regs regs;
942 struct kvm_regs regs;
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dflds_emulation.h23 struct kvm_regs regs;
H A Duserspace_io_test.c56 struct kvm_regs regs;
H A Dsync_regs_test.c45 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right)
255 struct kvm_regs regs;
278 struct kvm_regs regs;
331 struct kvm_regs regs;
362 struct kvm_regs regs;
H A Dsmm_test.c133 struct kvm_regs regs;
H A Dvmx_preemption_timer_test.c157 struct kvm_regs regs1, regs2;
H A Ddebug_regs.c71 struct kvm_regs regs;
H A Damx_test.c214 struct kvm_regs regs1, regs2;
H A Dhyperv_evmcs.c208 struct kvm_regs regs1, regs2;
H A Dstate_test.c235 struct kvm_regs regs1, regs2;
/linux-master/arch/loongarch/include/uapi/asm/
H A Dkvm.h25 struct kvm_regs { struct
50 * Register set = 0: GP registers from kvm_regs (see definitions below).
/linux-master/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c50 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right)
120 struct kvm_regs regs;
146 struct kvm_regs regs;
H A Ddebug_test.c23 struct kvm_regs regs;
H A Dresets.c89 struct kvm_regs regs;
/linux-master/tools/arch/mips/include/uapi/asm/
H A Dkvm.h27 * stored in the lower 32-bits of the struct kvm_regs fields and sign
30 struct kvm_regs { struct
53 * Register set = 0: GP registers from kvm_regs (see definitions below).
75 * KVM_REG_MIPS_GP - General purpose registers from kvm_regs.
/linux-master/arch/mips/include/uapi/asm/
H A Dkvm.h29 * stored in the lower 32-bits of the struct kvm_regs fields and sign
32 struct kvm_regs { struct
55 * Register set = 0: GP registers from kvm_regs (see definitions below).
82 * KVM_REG_MIPS_GP - General purpose registers from kvm_regs.
/linux-master/tools/arch/arm/include/uapi/asm/
H A Dkvm.h37 /* Valid for svc_regs, abt_regs, und_regs, irq_regs in struct kvm_regs */
51 /* Valid only for fiq_regs in struct kvm_regs */
61 struct kvm_regs { struct
191 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4)
/linux-master/arch/arm64/include/uapi/asm/
H A Dkvm.h49 struct kvm_regs { struct
222 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/linux-master/tools/testing/selftests/kvm/lib/s390x/
H A Dprocessor.c167 struct kvm_regs regs;
198 struct kvm_regs regs;
/linux-master/tools/arch/arm64/include/uapi/asm/
H A Dkvm.h49 struct kvm_regs { struct
222 #define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
/linux-master/arch/arm64/kvm/
H A Dguest.c189 * Because the kvm_regs structure is a mix of 32, 64 and
195 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32);
199 /* Our ID is an index into the kvm_regs struct. */
218 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32);
224 /* Our ID is an index into the kvm_regs struct. */
536 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
541 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs)
552 for (i = 0; i < sizeof(struct kvm_regs) / sizeof(__u32); i++) {
/linux-master/arch/riscv/include/uapi/asm/
H A Dkvm.h26 struct kvm_regs { struct
/linux-master/virt/kvm/
H A Dkvm_main.c4427 struct kvm_regs *kvm_regs; local
4430 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT);
4431 if (!kvm_regs)
4433 r = kvm_arch_vcpu_ioctl_get_regs(vcpu, kvm_regs);
4437 if (copy_to_user(argp, kvm_regs, sizeof(struct kvm_regs)))
4441 kfree(kvm_regs);
4445 struct kvm_regs *kvm_reg local
[all...]

Completed in 190 milliseconds

12