/Linux-v4.19/arch/m68k/kernel/ |
D | signal.c | 334 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local 351 if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate)) in rt_restore_fpu_state() 353 if (CPU_IS_060 ? fpstate[2] : fpstate[0]) { in rt_restore_fpu_state() 355 context_size = fpstate[1]; in rt_restore_fpu_state() 358 (fpstate[0] != fpu_version)) in rt_restore_fpu_state() 373 if (!(fpstate[3] == 0x00 || in rt_restore_fpu_state() 374 fpstate[3] == 0x60 || in rt_restore_fpu_state() 375 fpstate[3] == 0xe0)) in rt_restore_fpu_state() 378 if (!(fpstate[3] == 0x00 || in rt_restore_fpu_state() 379 fpstate[3] == 0x05 || in rt_restore_fpu_state() [all …]
|
D | process.c | 163 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory"); in copy_thread() 165 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread.fpstate[2]) { in copy_thread() 188 asm volatile ("frestore %0" : : "m" (p->thread.fpstate[0])); in copy_thread()
|
D | asm-offsets.c | 39 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
/Linux-v4.19/arch/x86/ia32/ |
D | ia32_signal.c | 105 get_user_ex(tmp, &sc->fpstate); in ia32_restore_sigcontext() 175 void __user *fpstate, in ia32_setup_sigcontext() argument 202 put_user_ex(ptr_to_compat(fpstate), &sc->fpstate); in ia32_setup_sigcontext() 217 void __user **fpstate) in get_sigframe() argument 238 *fpstate = (struct _fpstate_32 __user *) sp; in get_sigframe() 239 if (copy_fpstate_to_sigframe(*fpstate, (void __user *)fx_aligned, in get_sigframe() 257 void __user *fpstate = NULL; in ia32_setup_frame() local 270 frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate); in ia32_setup_frame() 278 if (ia32_setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in ia32_setup_frame() 335 void __user *fpstate = NULL; in ia32_setup_rt_frame() local [all …]
|
/Linux-v4.19/arch/x86/um/ |
D | signal.c | 209 &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0], in copy_sc_from_user() 214 err = convert_fxsr_from_user(&fpx, (void *)sc.fpstate); in copy_sc_from_user() 228 err = copy_from_user(regs->regs.fp, (void *)sc.fpstate, in copy_sc_from_user() 284 sc.fpstate = (unsigned long)to_fp; in copy_sc_to_user() 303 err = convert_fxsr_to_user(&to_fp->fpstate, &fpx); in copy_sc_to_user() 307 err |= __put_user(fpx.swd, &to_fp->fpstate.status); in copy_sc_to_user() 308 err |= __put_user(X86_FXSR_MAGIC, &to_fp->fpstate.magic); in copy_sc_to_user() 312 if (copy_to_user(&to_fp->fpstate._fxsr_env[0], &fpx, in copy_sc_to_user() 343 struct _xstate fpstate; member 356 struct _xstate fpstate; member [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | signal.c | 149 get_user_ex(buf_val, &sc->fpstate); in restore_sigcontext() 160 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in setup_sigcontext() argument 209 put_user_ex(fpstate, &sc->fpstate); in setup_sigcontext() 242 void __user **fpstate) in get_sigframe() argument 271 *fpstate = (void __user *)sp; in get_sigframe() 285 copy_fpstate_to_sigframe(*fpstate, (void __user *)buf_fx, math_size) < 0) in get_sigframe() 321 void __user *fpstate = NULL; in __setup_frame() local 323 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate); in __setup_frame() 331 if (setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in __setup_frame() 384 void __user *fpstate = NULL; in __setup_rt_frame() local [all …]
|
/Linux-v4.19/arch/x86/include/asm/fpu/ |
D | internal.h | 37 extern int dump_fpu(struct pt_regs *ptregs, struct user_i387_struct *fpstate); 431 static inline void __copy_kernel_to_fpregs(union fpregs_state *fpstate, u64 mask) in __copy_kernel_to_fpregs() argument 434 copy_kernel_to_xregs(&fpstate->xsave, mask); in __copy_kernel_to_fpregs() 437 copy_kernel_to_fxregs(&fpstate->fxsave); in __copy_kernel_to_fpregs() 439 copy_kernel_to_fregs(&fpstate->fsave); in __copy_kernel_to_fpregs() 443 static inline void copy_kernel_to_fpregs(union fpregs_state *fpstate) in copy_kernel_to_fpregs() argument 455 : : [addr] "m" (fpstate)); in copy_kernel_to_fpregs() 458 __copy_kernel_to_fpregs(fpstate, -1); in copy_kernel_to_fpregs()
|
/Linux-v4.19/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-v4.19/arch/unicore32/include/asm/ |
D | suspend.h | 23 struct fp_state fpstate __attribute__((aligned(8))); member
|
D | thread_info.h | 78 struct fp_state fpstate __attribute__((aligned(8))); member
|
/Linux-v4.19/arch/x86/include/asm/ |
D | sighandling.h | 17 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
|
/Linux-v4.19/arch/unicore32/kernel/ |
D | asm-offsets.c | 49 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() 104 fpstate)); in main()
|
D | process.c | 214 memset(&thread->fpstate, 0, sizeof(struct fp_state)); in flush_thread() 271 memcpy(fp, &thread->fpstate, sizeof(*fp)); in dump_fpu()
|
/Linux-v4.19/arch/arm/nwfpe/ |
D | fpa11.h | 25 #define GET_FPA11() ((FPA11 *)(¤t_thread_info()->fpstate))
|
D | fpmodule.c | 65 nwfpe_init_fpa(&thread->fpstate); in nwfpe_notify()
|
/Linux-v4.19/arch/arm/kernel/ |
D | asm-offsets.c | 66 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() 77 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); in main()
|
D | ptrace.c | 312 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE) in ptrace_getwmmxregs() 326 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) in ptrace_setwmmxregs() 620 &task_thread_info(target)->fpstate, in fpa_get() 634 &thread->fpstate, in fpa_set()
|
D | process.c | 216 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread() 291 memcpy(fp, &thread->fpstate.soft, sizeof (*fp)); in dump_fpu()
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | processor.h | 95 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member
|
/Linux-v4.19/arch/x86/kernel/fpu/ |
D | signal.c | 24 void __user *fpstate, in check_for_xstate() argument 47 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size)) in check_for_xstate()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | thread_info.h | 63 union fp_state fpstate __attribute__((aligned(8))); member
|
/Linux-v4.19/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 3222 esp_at_signal = 1342630420, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 0, 3575 esp_at_signal = 1342630864, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 0,
|