/linux/tools/testing/selftests/kvm/s390x/ |
H A D | sync_regs_test.c | 58 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 D | resets.c | 88 struct kvm_sregs sregs; in assert_clear() 132 struct kvm_sregs sregs; in assert_initial()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | sync_regs_test.c | 73 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 D | set_sregs_test.c | 26 struct kvm_sregs new; \ 77 struct kvm_sregs sregs; in main()
|
H A D | cr4_cpuid_sync_test.c | 66 struct kvm_sregs sregs; in main()
|
H A D | vmx_invalid_nested_guest_state.c | 56 struct kvm_sregs sregs; in main()
|
H A D | vmx_exception_with_invalid_guest_state.c | 58 static struct kvm_sregs sregs; in set_or_clear_invalid_guest_state()
|
H A D | sev_smoke_test.c |
|
/linux/arch/powerpc/kvm/ |
H A D | e500.h | 135 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 D | booke.c | 1510 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 D | e500mc.c | 220 struct kvm_sregs *sregs) in kvmppc_core_get_sregs_e500mc() 244 struct kvm_sregs *sregs) in kvmppc_core_set_sregs_e500mc()
|
H A D | e500.c | 362 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 D | kvm_ppc.h | 263 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 D | kvm.h | 200 struct kvm_sregs { struct
|
/linux/arch/mips/include/uapi/asm/ |
H A D | kvm.h | 216 struct kvm_sregs { struct
|
/linux/tools/arch/arm/include/uapi/asm/ |
H A D | kvm.h | 109 struct kvm_sregs { struct
|
/linux/virt/kvm/ |
H A D | kvm_main.c | 4292 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 D | kvm.h | 46 struct kvm_sregs { struct
|
/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | processor.c | 168 struct kvm_sregs sregs; in vm_arch_vcpu_add()
|
/linux/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 145 struct kvm_sregs { struct 431 struct kvm_sregs sregs;
|
/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util.h | 671 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 D | max_guest_memory_test.c | 65 struct kvm_sregs sregs; in vcpu_worker()
|
/linux/tools/arch/arm64/include/uapi/asm/ |
H A D | kvm.h | 117 struct kvm_sregs { struct
|
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 77 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 D | kvm.h | 512 struct kvm_sregs { argument 511 struct kvm_sregs { global() struct 513 crskvm_sregs global() argument
|