/Linux-v6.1/arch/x86/kernel/fpu/ |
D | xstate.h | 146 static inline void xfd_validate_state(struct fpstate *fpstate, u64 mask, bool rstor) { } in xfd_validate_state() 150 static inline void xfd_update_state(struct fpstate *fpstate) in xfd_update_state() 164 static inline void xfd_update_state(struct fpstate *fpstate) { } in xfd_update_state() 177 static inline void os_xsave(struct fpstate *fpstate) in os_xsave() 198 static inline void os_xrstor(struct fpstate *fpstate, u64 mask) in os_xrstor() 208 static inline void os_xrstor_supervisor(struct fpstate *fpstate) in os_xrstor_supervisor() 263 struct fpstate *fpstate = current->thread.fpu.fpstate; in xsave_to_user_sigframe() local 307 static inline int os_xrstor_safe(struct fpstate *fpstate, u64 mask) in os_xrstor_safe()
|
D | signal.c | 32 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 450 static inline unsigned int xstate_sigframe_size(struct fpstate *fpstate) in xstate_sigframe_size()
|
D | core.c | 136 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 484 static inline void fpstate_init_fxstate(struct fpstate *fpstate) in fpstate_init_fxstate() 493 static inline void fpstate_init_fstate(struct fpstate *fpstate) in fpstate_init_fstate() 506 void fpstate_init_user(struct fpstate *fpstate) in fpstate_init_user() 521 static void __fpstate_reset(struct fpstate *fpstate, u64 xfd) in __fpstate_reset()
|
D | xstate.c | 400 struct fpstate *fpstate) in validate_user_xstate_header() 1058 void __copy_xstate_to_uabi_buf(struct membuf to, struct fpstate *fpstate, in __copy_xstate_to_uabi_buf() 1203 static int copy_uabi_to_xstate(struct fpstate *fpstate, const void *kbuf, in copy_uabi_to_xstate() 1271 int copy_uabi_from_kernel_to_xstate(struct fpstate *fpstate, const void *kbuf) in copy_uabi_from_kernel_to_xstate() 1281 int copy_sigframe_from_user_to_xstate(struct fpstate *fpstate, in copy_sigframe_from_user_to_xstate() 1367 static bool xstate_op_valid(struct fpstate *fpstate, u64 mask, bool rstor) in xstate_op_valid() 1413 void xfd_validate_state(struct fpstate *fpstate, u64 mask, bool rstor) in xfd_validate_state()
|
/Linux-v6.1/arch/x86/include/asm/fpu/ |
D | types.h | 344 struct fpstate { struct 346 unsigned int size; 349 unsigned int user_size; 375 * The fpstate has to be there so that argument 401 * currently active fpu.fpstate which contains the xfeature masks argument 464 struct fpstate *fpstate; member 533 struct fpstate *fpstate; member
|
/Linux-v6.1/arch/x86/ia32/ |
D | ia32_signal.c | 158 void __user *fpstate, in __unsafe_setup_sigcontext32() 204 void __user **fpstate) in get_sigframe()
|
/Linux-v6.1/arch/x86/um/ |
D | signal.c | 344 struct _xstate fpstate; member 357 struct _xstate fpstate; member 486 struct _xstate fpstate; member
|
/Linux-v6.1/arch/x86/include/uapi/asm/ |
D | sigcontext.h | 193 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-v6.1/tools/testing/selftests/x86/ |
D | corrupt_xstate_header.c | 48 uint8_t *fpstate = (uint8_t *)uc->uc_mcontext.fpregs; in sigusr1() local
|
/Linux-v6.1/arch/x86/kernel/ |
D | signal.c | 145 __unsafe_setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in __unsafe_setup_sigcontext() 242 void __user **fpstate) in get_sigframe()
|
/Linux-v6.1/arch/m68k/kernel/ |
D | signal.c | 333 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local 484 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_save_fpu_state() local
|
/Linux-v6.1/arch/m68k/include/asm/ |
D | processor.h | 114 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member
|
/Linux-v6.1/arch/arm/include/asm/ |
D | thread_info.h | 71 union fp_state fpstate __attribute__((aligned(8))); member
|
/Linux-v6.1/arch/x86/kvm/ |
D | x86.c | 12049 struct fpstate *fpstate = vcpu->arch.guest_fpu.fpstate; in kvm_vcpu_reset() local
|