Home
last modified time | relevance | path

Searched refs:fpu_guest (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/arch/x86/include/asm/fpu/
Dapi.h138 extern bool fpu_alloc_guest_fpstate(struct fpu_guest *gfpu);
139 extern void fpu_free_guest_fpstate(struct fpu_guest *gfpu);
140 extern int fpu_swap_kvm_fpstate(struct fpu_guest *gfpu, bool enter_guest);
141 extern int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures);
144 extern void fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64 xfd);
147 static inline void fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64 xfd) { } in fpu_update_guest_xfd()
151 extern void fpu_copy_guest_fpstate_to_uabi(struct fpu_guest *gfpu, void *buf, unsigned int size, u3…
152 extern int fpu_copy_uabi_to_guest_fpstate(struct fpu_guest *gfpu, const void *buf, u64 xcr0, u32 *v…
154 static inline void fpstate_set_confidential(struct fpu_guest *gfpu) in fpstate_set_confidential()
159 static inline bool fpstate_is_confidential(struct fpu_guest *gfpu) in fpstate_is_confidential()
Dtypes.h506 struct fpu_guest { struct
/linux-6.1.9/arch/x86/kernel/fpu/
Dcore.c198 static void fpu_init_guest_permissions(struct fpu_guest *gfpu) in fpu_init_guest_permissions()
218 bool fpu_alloc_guest_fpstate(struct fpu_guest *gfpu) in fpu_alloc_guest_fpstate()
257 void fpu_free_guest_fpstate(struct fpu_guest *gfpu) in fpu_free_guest_fpstate()
281 int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures) in fpu_enable_guest_xfd_features()
295 void fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64 xfd) in fpu_update_guest_xfd()
330 int fpu_swap_kvm_fpstate(struct fpu_guest *guest_fpu, bool enter_guest) in fpu_swap_kvm_fpstate()
371 void fpu_copy_guest_fpstate_to_uabi(struct fpu_guest *gfpu, void *buf, in fpu_copy_guest_fpstate_to_uabi()
389 int fpu_copy_uabi_to_guest_fpstate(struct fpu_guest *gfpu, const void *buf, in fpu_copy_uabi_to_guest_fpstate()
Dxstate.h162 extern int __xfd_enable_feature(u64 which, struct fpu_guest *guest_fpu);
166 static inline int __xfd_enable_feature(u64 which, struct fpu_guest *guest_fpu) { in __xfd_enable_feature()
Dxstate.c1495 unsigned int usize, struct fpu_guest *guest_fpu) in fpstate_realloc()
1674 int __xfd_enable_feature(u64 xfd_err, struct fpu_guest *guest_fpu) in __xfd_enable_feature()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h746 struct fpu_guest guest_fpu;