Home
last modified time | relevance | path

Searched refs:kvm_sregs (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c58 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) in compare_sregs()
119 struct kvm_sregs sregs; in test_req_and_verify_all_valid_regs()
145 struct kvm_sregs sregs; in test_set_and_verify_various_reg_values()
H A Dresets.c88 struct kvm_sregs sregs; in assert_clear()
132 struct kvm_sregs sregs; in assert_initial()
/linux/tools/testing/selftests/kvm/x86_64/
H A Dsync_regs_test.c73 static void compare_sregs(struct kvm_sregs *left, struct kvm_sregs *right) in compare_sregs()
254 struct kvm_sregs sregs; in KVM_ONE_VCPU_TEST()
277 struct kvm_sregs sregs; in KVM_ONE_VCPU_TEST()
H A Dset_sregs_test.c26 struct kvm_sregs new; \
77 struct kvm_sregs sregs; in main()
H A Dcr4_cpuid_sync_test.c66 struct kvm_sregs sregs; in main()
H A Dvmx_invalid_nested_guest_state.c56 struct kvm_sregs sregs; in main()
H A Dvmx_exception_with_invalid_guest_state.c58 static struct kvm_sregs sregs; in set_or_clear_invalid_guest_state()
H A Dsev_smoke_test.c
/linux/arch/powerpc/kvm/
H A De500.h135 void kvmppc_get_sregs_e500_tlb(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
136 int kvmppc_set_sregs_e500_tlb(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
H A Dbooke.c1510 struct kvm_sregs *sregs) in get_sregs_base()
1529 struct kvm_sregs *sregs) in set_sregs_base()
1554 struct kvm_sregs *sregs) in get_sregs_arch206()
1566 struct kvm_sregs *sregs) in set_sregs_arch206()
1582 int kvmppc_get_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs) in kvmppc_get_sregs_ivor()
1605 int kvmppc_set_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs) in kvmppc_set_sregs_ivor()
1631 struct kvm_sregs *sregs) in kvm_arch_vcpu_ioctl_get_sregs()
1648 struct kvm_sregs *sregs) in kvm_arch_vcpu_ioctl_set_sregs()
H A De500mc.c220 struct kvm_sregs *sregs) in kvmppc_core_get_sregs_e500mc()
244 struct kvm_sregs *sregs) in kvmppc_core_set_sregs_e500mc()
H A De500.c362 struct kvm_sregs *sregs) in kvmppc_core_get_sregs_e500()
387 struct kvm_sregs *sregs) in kvmppc_core_set_sregs_e500()
/linux/arch/powerpc/include/asm/
H A Dkvm_ppc.h263 int (*get_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
264 int (*set_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
429 int kvmppc_core_get_sregs(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
430 int kvmppc_core_set_sregs(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
432 int kvmppc_get_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
433 int kvmppc_set_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
/linux/tools/arch/mips/include/uapi/asm/
H A Dkvm.h200 struct kvm_sregs { struct
/linux/arch/mips/include/uapi/asm/
H A Dkvm.h216 struct kvm_sregs { struct
/linux/tools/arch/arm/include/uapi/asm/
H A Dkvm.h109 struct kvm_sregs { struct
/linux/virt/kvm/
H A Dkvm_main.c4292 struct kvm_sregs *kvm_sregs = NULL; in kvm_vcpu_ioctl() local
4377 kvm_sregs = kzalloc(sizeof(struct kvm_sregs), GFP_KERNEL); in kvm_vcpu_ioctl()
4379 if (!kvm_sregs) in kvm_vcpu_ioctl()
4381 r = kvm_arch_vcpu_ioctl_get_sregs(vcpu, kvm_sregs); in kvm_vcpu_ioctl()
4385 if (copy_to_user(argp, kvm_sregs, sizeof(struct kvm_sregs))) in kvm_vcpu_ioctl()
4391 kvm_sregs = memdup_user(argp, sizeof(*kvm_sregs)); in kvm_vcpu_ioctl()
4392 if (IS_ERR(kvm_sregs)) { in kvm_vcpu_ioctl()
4393 r = PTR_ERR(kvm_sregs); in kvm_vcpu_ioctl()
4394 kvm_sregs = NULL; in kvm_vcpu_ioctl()
4397 r = kvm_arch_vcpu_ioctl_set_sregs(vcpu, kvm_sregs); in kvm_vcpu_ioctl()
[all …]
/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h46 struct kvm_sregs { struct
/linux/tools/testing/selftests/kvm/lib/s390x/
H A Dprocessor.c168 struct kvm_sregs sregs; in vm_arch_vcpu_add()
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h145 struct kvm_sregs { struct
431 struct kvm_sregs sregs;
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util.h671 static inline void vcpu_sregs_get(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs) in vcpu_sregs_get()
676 static inline void vcpu_sregs_set(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs) in vcpu_sregs_set()
680 static inline int _vcpu_sregs_set(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs) in _vcpu_sregs_set()
/linux/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c65 struct kvm_sregs sregs; in vcpu_worker()
/linux/tools/arch/arm64/include/uapi/asm/
H A Dkvm.h117 struct kvm_sregs { struct
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c77 static void sregs_dump(FILE *stream, struct kvm_sregs *sregs, uint8_t indent) in sregs_dump()
495 struct kvm_sregs sregs; in vcpu_init_sregs()
974 struct kvm_sregs sregs; in __kvm_get_msr_index_list()
/linux/tools/arch/s390/include/uapi/asm/
H A Dkvm.h512 struct kvm_sregs { argument
511 struct kvm_sregs { global() struct
513 crskvm_sregs global() argument

12