Searched refs:fpu_guest (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/arch/x86/include/asm/fpu/ |
D | api.h | 150 extern bool fpu_alloc_guest_fpstate(struct fpu_guest *gfpu); 151 extern void fpu_free_guest_fpstate(struct fpu_guest *gfpu); 152 extern int fpu_swap_kvm_fpstate(struct fpu_guest *gfpu, bool enter_guest); 153 extern int fpu_enable_guest_xfd_features(struct fpu_guest *guest_fpu, u64 xfeatures); 156 extern void fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64 xfd); 159 static inline void fpu_update_guest_xfd(struct fpu_guest *guest_fpu, u64 xfd) { } in fpu_update_guest_xfd() 163 extern void fpu_copy_guest_fpstate_to_uabi(struct fpu_guest *gfpu, void *buf, 165 extern int fpu_copy_uabi_to_guest_fpstate(struct fpu_guest *gfpu, const void *buf, u64 xcr0, u32 *v… 167 static inline void fpstate_set_confidential(struct fpu_guest *gfpu) in fpstate_set_confidential() 172 static inline bool fpstate_is_confidential(struct fpu_guest *gfpu) in fpstate_is_confidential()
|
D | types.h | 520 struct fpu_guest { struct
|
/linux-6.12.1/arch/x86/kernel/fpu/ |
D | core.c | 198 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() 390 int fpu_copy_uabi_to_guest_fpstate(struct fpu_guest *gfpu, const void *buf, in fpu_copy_uabi_to_guest_fpstate()
|
D | xstate.h | 163 extern int __xfd_enable_feature(u64 which, struct fpu_guest *guest_fpu); 169 static inline int __xfd_enable_feature(u64 which, struct fpu_guest *guest_fpu) { in __xfd_enable_feature()
|
D | xstate.c | 1520 unsigned int usize, struct fpu_guest *guest_fpu) in fpstate_realloc() 1696 int __xfd_enable_feature(u64 xfd_err, struct fpu_guest *guest_fpu) in __xfd_enable_feature()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | kvm_host.h | 827 struct fpu_guest guest_fpu;
|