Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/arch/x86/kernel/fpu/
Dxstate.h147 static inline void xfd_validate_state(struct fpstate *fpstate, u64 mask, bool rstor) { } in xfd_validate_state()
157 static inline void xfd_update_state(struct fpstate *fpstate) in xfd_update_state()
171 static inline void xfd_update_state(struct fpstate *fpstate) { } in xfd_update_state()
184 static inline void os_xsave(struct fpstate *fpstate) in os_xsave()
205 static inline void os_xrstor(struct fpstate *fpstate, u64 mask) in os_xrstor()
215 static inline void os_xrstor_supervisor(struct fpstate *fpstate) in os_xrstor_supervisor()
270 struct fpstate *fpstate = current->thread.fpu.fpstate; in xsave_to_user_sigframe() local
314 static inline int os_xrstor_safe(struct fpstate *fpstate, u64 mask) in os_xrstor_safe()
Dsignal.c32 void __user *fpstate = fxbuf; in check_xstate_in_sigframe() local
106 struct fpstate *fpstate) in save_sw_bytes()
118 struct fpstate *fpstate) in save_xstate_epilog()
191 struct fpstate *fpstate = tsk->thread.fpu.fpstate; in copy_fpstate_to_sigframe() local
447 static inline unsigned int xstate_sigframe_size(struct fpstate *fpstate) in xstate_sigframe_size()
Dcore.c136 void restore_fpregs_from_fpstate(struct fpstate *fpstate, u64 mask) in restore_fpregs_from_fpstate()
220 struct fpstate *fpstate; in fpu_alloc_guest_fpstate() local
482 static inline void fpstate_init_fxstate(struct fpstate *fpstate) in fpstate_init_fxstate()
491 static inline void fpstate_init_fstate(struct fpstate *fpstate) in fpstate_init_fstate()
504 void fpstate_init_user(struct fpstate *fpstate) in fpstate_init_user()
519 static void __fpstate_reset(struct fpstate *fpstate, u64 xfd) in __fpstate_reset()
Dxstate.c404 struct fpstate *fpstate) in validate_user_xstate_header()
1066 void __copy_xstate_to_uabi_buf(struct membuf to, struct fpstate *fpstate, in __copy_xstate_to_uabi_buf()
1239 static int copy_uabi_to_xstate(struct fpstate *fpstate, const void *kbuf, in copy_uabi_to_xstate()
1321 int copy_uabi_from_kernel_to_xstate(struct fpstate *fpstate, const void *kbuf, u32 *pkru) in copy_uabi_from_kernel_to_xstate()
1417 static bool xstate_op_valid(struct fpstate *fpstate, u64 mask, bool rstor) in xstate_op_valid()
1463 void xfd_validate_state(struct fpstate *fpstate, u64 mask, bool rstor) in xfd_validate_state()
/kernel/linux/linux-6.6/arch/x86/include/asm/fpu/
Dtypes.h356 struct fpstate { struct
358 unsigned int size;
361 unsigned int user_size;
387 * The fpstate has to be there so that argument
413 * currently active fpu.fpstate which contains the xfeature masks argument
476 struct fpstate *fpstate; member
545 struct fpstate *fpstate; member
/kernel/linux/linux-5.10/arch/x86/ia32/
Dia32_signal.c159 void __user *fpstate, in __unsafe_setup_sigcontext32()
205 void __user **fpstate) in get_sigframe()
/kernel/linux/linux-6.6/arch/x86/um/
Dsignal.c344 struct _xstate fpstate; member
357 struct _xstate fpstate; member
486 struct _xstate fpstate; member
/kernel/linux/linux-5.10/arch/x86/um/
Dsignal.c343 struct _xstate fpstate; member
356 struct _xstate fpstate; member
485 struct _xstate fpstate; member
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
Dcorrupt_xstate_header.c48 uint8_t *fpstate = (uint8_t *)uc->uc_mcontext.fpregs; in sigusr1() local
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/
Dsigcontext.h102 struct _fpstate fpstate; member
126 __u32 fpstate; member
157 __u64 fpstate; member
183 struct _fpstate __user * fpstate; member
218 struct _fpstate __user * fpstate; member
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
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
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
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
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dsigcontext.h102 struct _fpstate fpstate; member
126 __u32 fpstate; member
157 __u64 fpstate; member
183 struct _fpstate __user * fpstate; member
218 struct _fpstate __user * fpstate; member
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
Dinternal.h407 static inline void __copy_kernel_to_fpregs(union fpregs_state *fpstate, u64 mask) in __copy_kernel_to_fpregs()
419 static inline void copy_kernel_to_fpregs(union fpregs_state *fpstate) in copy_kernel_to_fpregs()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsignal.c144 __unsafe_setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in __unsafe_setup_sigcontext()
234 void __user **fpstate) in get_sigframe()
/kernel/linux/linux-6.6/arch/x86/kernel/
Dsignal.c76 void __user **fpstate) in get_sigframe()
Dsignal_64.c99 __unsafe_setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in __unsafe_setup_sigcontext()
Dsignal_32.c208 void __user *fpstate, in __unsafe_setup_sigcontext32()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dprocessor.h89 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member
/kernel/linux/linux-6.6/arch/m68k/include/asm/
Dprocessor.h114 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dsignal.c333 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local
484 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_save_fpu_state() local
/kernel/linux/linux-6.6/arch/m68k/kernel/
Dsignal.c333 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local
484 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_save_fpu_state() local
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dsignal.c25 void __user *fpstate, in check_for_xstate()
/kernel/linux/linux-6.6/arch/arm/include/asm/
Dthread_info.h71 union fp_state fpstate __attribute__((aligned(8))); member
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dthread_info.h71 union fp_state fpstate __attribute__((aligned(8))); member

12