Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/testing/selftests/kvm/include/
Dkvm_util.h123 struct kvm_sregs *sregs);
125 struct kvm_sregs *sregs);
127 struct kvm_sregs *sregs);
/Linux-v5.4/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c68 static void compare_sregs(struct kvm_sregs *left, struct kvm_sregs *right) in compare_sregs()
85 struct kvm_sregs sregs; in main()
Dset_sregs_test.c29 struct kvm_sregs sregs; in main()
Dcr4_cpuid_sync_test.c68 struct kvm_sregs sregs; in main()
/Linux-v5.4/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c50 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) in compare_sregs()
71 struct kvm_sregs sregs; in main()
/Linux-v5.4/arch/powerpc/kvm/
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);
De500mc.c215 struct kvm_sregs *sregs) in kvmppc_core_get_sregs_e500mc()
239 struct kvm_sregs *sregs) in kvmppc_core_set_sregs_e500mc()
Dbooke.c1492 struct kvm_sregs *sregs) in get_sregs_base()
1511 struct kvm_sregs *sregs) in set_sregs_base()
1536 struct kvm_sregs *sregs) in get_sregs_arch206()
1548 struct kvm_sregs *sregs) in set_sregs_arch206()
1564 int kvmppc_get_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs) in kvmppc_get_sregs_ivor()
1587 int kvmppc_set_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs) in kvmppc_set_sregs_ivor()
1613 struct kvm_sregs *sregs) in kvm_arch_vcpu_ioctl_get_sregs()
1630 struct kvm_sregs *sregs) in kvm_arch_vcpu_ioctl_set_sregs()
De500.c362 struct kvm_sregs *sregs) in kvmppc_core_get_sregs_e500()
387 struct kvm_sregs *sregs) in kvmppc_core_set_sregs_e500()
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h69 void sregs_dump(FILE *stream, struct kvm_sregs *sregs, uint8_t indent);
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_ppc.h266 int (*get_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
267 int (*set_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
416 int kvmppc_core_get_sregs(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
417 int kvmppc_core_set_sregs(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
419 int kvmppc_get_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
420 int kvmppc_set_sregs_ivor(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
/Linux-v5.4/arch/arm/kvm/
Dguest.c241 struct kvm_sregs *sregs) in kvm_arch_vcpu_ioctl_get_sregs()
247 struct kvm_sregs *sregs) in kvm_arch_vcpu_ioctl_set_sregs()
/Linux-v5.4/arch/x86/include/uapi/asm/
Dkvm.h149 struct kvm_sregs { struct
377 struct kvm_sregs sregs;
/Linux-v5.4/tools/arch/x86/include/uapi/asm/
Dkvm.h149 struct kvm_sregs { struct
377 struct kvm_sregs sregs;
/Linux-v5.4/tools/arch/mips/include/uapi/asm/
Dkvm.h200 struct kvm_sregs { struct
/Linux-v5.4/arch/mips/include/uapi/asm/
Dkvm.h218 struct kvm_sregs { struct
/Linux-v5.4/virt/kvm/
Dkvm_main.c2795 struct kvm_sregs *kvm_sregs = NULL; in kvm_vcpu_ioctl() local
2870 kvm_sregs = kzalloc(sizeof(struct kvm_sregs), in kvm_vcpu_ioctl()
2873 if (!kvm_sregs) in kvm_vcpu_ioctl()
2875 r = kvm_arch_vcpu_ioctl_get_sregs(vcpu, kvm_sregs); in kvm_vcpu_ioctl()
2879 if (copy_to_user(argp, kvm_sregs, sizeof(struct kvm_sregs))) in kvm_vcpu_ioctl()
2885 kvm_sregs = memdup_user(argp, sizeof(*kvm_sregs)); in kvm_vcpu_ioctl()
2886 if (IS_ERR(kvm_sregs)) { in kvm_vcpu_ioctl()
2887 r = PTR_ERR(kvm_sregs); in kvm_vcpu_ioctl()
2888 kvm_sregs = NULL; in kvm_vcpu_ioctl()
2891 r = kvm_arch_vcpu_ioctl_set_sregs(vcpu, kvm_sregs); in kvm_vcpu_ioctl()
[all …]
/Linux-v5.4/arch/arm/include/uapi/asm/
Dkvm.h109 struct kvm_sregs { struct
/Linux-v5.4/tools/arch/arm/include/uapi/asm/
Dkvm.h109 struct kvm_sregs { struct
/Linux-v5.4/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c186 void sregs_dump(FILE *stream, struct kvm_sregs *sregs, in sregs_dump()
614 struct kvm_sregs sregs; in vcpu_setup()
975 struct kvm_sregs sregs; in vcpu_dump()
994 struct kvm_sregs sregs;
/Linux-v5.4/arch/arm64/include/uapi/asm/
Dkvm.h115 struct kvm_sregs { struct
/Linux-v5.4/arch/s390/include/uapi/asm/
Dkvm.h181 struct kvm_sregs { struct
/Linux-v5.4/tools/arch/s390/include/uapi/asm/
Dkvm.h181 struct kvm_sregs { struct
/Linux-v5.4/tools/arch/arm64/include/uapi/asm/
Dkvm.h115 struct kvm_sregs { struct
/Linux-v5.4/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c246 struct kvm_sregs sregs; in vm_vcpu_add_default()

12