Home
last modified time | relevance | path

Searched defs:fpstate (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/kernel/fpu/
H A Dcore.c161 void restore_fpregs_from_fpstate(struct fpstate *fpstate, u64 mask) in restore_fpregs_from_fpstate()
243 struct fpstate *fpstate; in fpu_alloc_guest_fpstate() local
283 struct fpstate *fpstate = gfpu->fpstate; in fpu_free_guest_fpstate() local
343 struct fpstate *fpstate = x86_task_fpu(current)->fpstate; in fpu_sync_guest_vmexit_xfd_state() local
510 static inline void fpstate_init_fxstate(struct fpstate *fpstate) in fpstate_init_fxstate()
519 static inline void fpstate_init_fstate(struct fpstate *fpstate) in fpstate_init_fstate()
532 void fpstate_init_user(struct fpstate *fpstate) in fpstate_init_user()
547 static void __fpstate_reset(struct fpstate *fpstate) in __fpstate_reset()
H A Dxstate.c431 struct fpstate *fpstate) in validate_user_xstate_header()
1144 void __copy_xstate_to_uabi_buf(struct membuf to, struct fpstate *fpstate, in __copy_xstate_to_uabi_buf()
1317 static int copy_uabi_to_xstate(struct fpstate *fpstate, const void *kbuf, in copy_uabi_to_xstate()
1399 int copy_uabi_from_kernel_to_xstate(struct fpstate *fpstate, const void *kbuf, u32 *pkru) in copy_uabi_from_kernel_to_xstate()
1478 void fpstate_clear_xstate_component(struct fpstate *fpstate, unsigned int xfeature) in fpstate_clear_xstate_component()
1495 static bool xstate_op_valid(struct fpstate *fpstate, u64 mask, bool rstor) in xstate_op_valid()
1541 void xfd_validate_state(struct fpstate *fpstate, u64 mask, bool rstor) in xfd_validate_state()
/linux/arch/x86/include/asm/fpu/
H A Dtypes.h377 struct fpstate { struct
379 unsigned int size;
382 unsigned int user_size;
408 * The fpstate has to be there so that argument
412 unsigned int is_confidential : 1;
436 * currently active fpu.fpstate which contains the xfeature masks argument
499 struct fpstate *fpstate; member
561 struct fpstate *fpstate; member
/linux/arch/x86/include/uapi/asm/
H A Dsigcontext.h193 struct _fpstate fpstate; member
230 __u32 fpstate; /* Zero when no FPU/extended context */ member
273 __u64 fpstate; /* Zero when no FPU/extended context */ member
320 struct _fpstate __user *fpstate; member
380 struct _fpstate __user *fpstate; /* Zero when no FPU context */ member
/linux/arch/m68k/kernel/
H A Dsignal.c335 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local
486 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_save_fpu_state() local
/linux/arch/x86/um/os-Linux/
H A Dmcontext.c89 struct _fpstate_64 fpstate; member
/linux/arch/x86/kernel/
H A Dsignal_64.c99 __unsafe_setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in __unsafe_setup_sigcontext()
H A Dsignal_32.c212 void __user *fpstate, in __unsafe_setup_sigcontext32()
/linux/arch/x86/um/
H A Dsignal.c24 struct _fpstate_64 fpstate; member
/linux/arch/arm/include/asm/
H A Dthread_info.h71 union fp_state fpstate __attribute__((aligned(8))); member
/linux/arch/x86/kvm/
H A Dx86.c12789 struct fpstate *fpstate = vcpu->arch.guest_fpu.fpstate; in kvm_xstate_reset() local