/arch/m68k/kernel/ |
D | signal.c | 351 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local 368 if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate)) in rt_restore_fpu_state() 370 if (CPU_IS_060 ? fpstate[2] : fpstate[0]) { in rt_restore_fpu_state() 372 context_size = fpstate[1]; in rt_restore_fpu_state() 375 (fpstate[0] != fpu_version)) in rt_restore_fpu_state() 390 if (!(fpstate[3] == 0x00 || in rt_restore_fpu_state() 391 fpstate[3] == 0x60 || in rt_restore_fpu_state() 392 fpstate[3] == 0xe0)) in rt_restore_fpu_state() 395 if (!(fpstate[3] == 0x00 || in rt_restore_fpu_state() 396 fpstate[3] == 0x05 || in rt_restore_fpu_state() [all …]
|
D | process.c | 173 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory"); in copy_thread() 175 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread.fpstate[2]) { in copy_thread() 198 asm volatile ("frestore %0" : : "m" (p->thread.fpstate[0])); in copy_thread()
|
D | asm-offsets.c | 38 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
/arch/x86/ia32/ |
D | ia32_signal.c | 98 get_user_ex(tmp, &sc->fpstate); in ia32_restore_sigcontext() 179 void __user *fpstate, in ia32_setup_sigcontext() argument 206 put_user_ex(ptr_to_compat(fpstate), &sc->fpstate); in ia32_setup_sigcontext() 221 void __user **fpstate) in get_sigframe() argument 242 *fpstate = (struct _fpstate_32 __user *) sp; in get_sigframe() 243 if (copy_fpstate_to_sigframe(*fpstate, (void __user *)fx_aligned, in get_sigframe() 261 void __user *fpstate = NULL; in ia32_setup_frame() local 274 frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate); in ia32_setup_frame() 282 if (ia32_setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in ia32_setup_frame() 339 void __user *fpstate = NULL; in ia32_setup_rt_frame() local [all …]
|
/arch/x86/kernel/ |
D | signal.c | 111 get_user_ex(buf_val, &sc->fpstate); in restore_sigcontext() 122 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in setup_sigcontext() argument 170 put_user_ex(fpstate, &sc->fpstate); in setup_sigcontext() 203 void __user **fpstate) in get_sigframe() argument 233 *fpstate = (void __user *)sp; in get_sigframe() 247 copy_fpstate_to_sigframe(*fpstate, (void __user *)buf_fx, math_size) < 0) in get_sigframe() 283 void __user *fpstate = NULL; in __setup_frame() local 285 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate); in __setup_frame() 293 if (setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in __setup_frame() 346 void __user *fpstate = NULL; in __setup_rt_frame() local [all …]
|
/arch/x86/include/uapi/asm/ |
D | sigcontext.h | 192 struct _fpstate fpstate; member 229 __u32 fpstate; /* Zero when no FPU/extended context */ member 272 __u64 fpstate; /* Zero when no FPU/extended context */ member 319 struct _fpstate __user *fpstate; member 351 struct _fpstate __user *fpstate; /* Zero when no FPU context */ member
|
/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() 230 err = copy_from_user(&fp, (void *)sc.fpstate, in copy_sc_from_user() 294 sc.fpstate = (unsigned long)to_fp; in copy_sc_to_user() 356 struct _fpstate fpstate; member 369 struct _fpstate fpstate; member 392 err |= copy_sc_to_user(&frame->sc, &frame->fpstate, regs, mask->sig[0]); in setup_signal_stack_sc() 440 err |= copy_ucontext_to_user(&frame->uc, &frame->fpstate, mask, in setup_signal_stack_si() 498 struct _fpstate fpstate; member 526 err |= copy_sc_to_user(&frame->uc.uc_mcontext, &frame->fpstate, regs, in setup_signal_stack_si() [all …]
|
/arch/x86/include/asm/fpu/ |
D | internal.h | 35 extern int dump_fpu(struct pt_regs *ptregs, struct user_i387_struct *fpstate); 429 static inline void __copy_kernel_to_fpregs(union fpregs_state *fpstate) in __copy_kernel_to_fpregs() argument 432 copy_kernel_to_xregs(&fpstate->xsave, -1); in __copy_kernel_to_fpregs() 435 copy_kernel_to_fxregs(&fpstate->fxsave); in __copy_kernel_to_fpregs() 437 copy_kernel_to_fregs(&fpstate->fsave); in __copy_kernel_to_fpregs() 441 static inline void copy_kernel_to_fpregs(union fpregs_state *fpstate) in copy_kernel_to_fpregs() argument 453 : : [addr] "m" (fpstate)); in copy_kernel_to_fpregs() 456 __copy_kernel_to_fpregs(fpstate); in copy_kernel_to_fpregs()
|
/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
|
/arch/x86/include/asm/ |
D | sighandling.h | 17 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
|
/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 | 212 memset(&thread->fpstate, 0, sizeof(struct fp_state)); in flush_thread() 269 memcpy(fp, &thread->fpstate, sizeof(*fp)); in dump_fpu()
|
/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()
|
/arch/m68k/include/asm/ |
D | processor.h | 94 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member
|
/arch/arm/include/asm/ |
D | thread_info.h | 63 union fp_state fpstate __attribute__((aligned(8))); member
|
/arch/x86/kernel/fpu/ |
D | signal.c | 21 void __user *fpstate, in check_for_xstate() argument 44 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size)) in check_for_xstate()
|
/arch/metag/include/asm/ |
D | processor.h | 39 TBICTXEXTFPU fpstate; member
|
/arch/arm/kernel/ |
D | ptrace.c | 310 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE) in ptrace_getwmmxregs() 324 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) in ptrace_setwmmxregs() 624 &task_thread_info(target)->fpstate, in fpa_get() 638 &thread->fpstate, in fpa_set()
|
D | process.c | 285 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread() 360 memcpy(fp, &thread->fpstate.soft, sizeof (*fp)); in dump_fpu()
|
D | asm-offsets.c | 65 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() 76 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); in main()
|