/arch/x86/include/asm/ |
D | sigcontext.h | 130 void __user *fpstate; /* zero when no FPU/extended context */ member 158 struct _fpstate __user *fpstate; member 225 void __user *fpstate; /* zero when no FPU/extended context */ member 259 struct _fpstate __user *fpstate; /* zero when no FPU context */ member 279 struct _fpstate fpstate; member
|
D | sigcontext32.h | 72 unsigned int fpstate; /* really (struct _fpstate_ia32 *) */ member
|
D | xsave.h | 34 void __user *fpstate,
|
/arch/m68k/kernel/ |
D | signal.c | 253 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local 270 if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate)) in rt_restore_fpu_state() 272 if (CPU_IS_060 ? fpstate[2] : fpstate[0]) { in rt_restore_fpu_state() 274 context_size = fpstate[1]; in rt_restore_fpu_state() 276 if (!CPU_IS_060 && (fpstate[0] != fpu_version)) in rt_restore_fpu_state() 291 if (!(fpstate[3] == 0x00 || in rt_restore_fpu_state() 292 fpstate[3] == 0x60 || in rt_restore_fpu_state() 293 fpstate[3] == 0xe0)) in rt_restore_fpu_state() 309 __copy_from_user(fpstate + 4, (long __user *)&uc->uc_fpstate + 1, in rt_restore_fpu_state() 314 ".chip 68k" : : "m" (*fpstate)); in rt_restore_fpu_state() [all …]
|
D | process.c | 266 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory"); in copy_thread() 268 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread.fpstate[2]) in copy_thread() 274 asm volatile ("frestore %0" : : "m" (p->thread.fpstate[0])); in copy_thread()
|
D | asm-offsets.c | 40 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
/arch/x86/ia32/ |
D | ia32_signal.c | 240 err |= __get_user(tmp, &sc->fpstate); in ia32_restore_sigcontext() 317 void __user *fpstate, in ia32_setup_sigcontext() argument 347 err |= __put_user(ptr_to_compat(fpstate), &sc->fpstate); in ia32_setup_sigcontext() 361 void **fpstate) in get_sigframe() argument 382 *fpstate = (struct _fpstate_ia32 *) sp; in get_sigframe() 383 if (save_i387_xstate_ia32(*fpstate) < 0) in get_sigframe() 400 void __user *fpstate = NULL; in ia32_setup_frame() local 413 frame = get_sigframe(ka, regs, sizeof(*frame), &fpstate); in ia32_setup_frame() 421 if (ia32_setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in ia32_setup_frame() 479 void __user *fpstate = NULL; in ia32_setup_rt_frame() local [all …]
|
/arch/m68knommu/kernel/ |
D | signal.c | 223 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_restore_fpu_state() local 240 if (__get_user(*(long *)fpstate, (long *)&uc->uc_fpstate)) in rt_restore_fpu_state() 242 if (fpstate[0]) { in rt_restore_fpu_state() 243 context_size = fpstate[1]; in rt_restore_fpu_state() 246 if (fpstate[0] != fpu_version) in rt_restore_fpu_state() 260 __copy_from_user(fpstate + 4, (long *)&uc->uc_fpstate + 1, in rt_restore_fpu_state() 265 ".chip 68k" : : "m" (*fpstate)); in rt_restore_fpu_state() 458 unsigned char fpstate[FPCONTEXT_SIZE]; in rt_save_fpu_state() local 475 : : "m" (*fpstate) : "memory"); in rt_save_fpu_state() 477 err |= __put_user(*(long *)fpstate, (long *)&uc->uc_fpstate); in rt_save_fpu_state() [all …]
|
D | process.c | 233 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory"); in copy_thread() 235 if (p->thread.fpstate[0]) in copy_thread() 241 asm volatile ("frestore %0" : : "m" (p->thread.fpstate[0])); in copy_thread()
|
D | asm-offsets.c | 48 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
/arch/x86/kernel/ |
D | signal.c | 121 err |= __get_user(buf, &sc->fpstate); in restore_sigcontext() 129 setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in setup_sigcontext() argument 180 err |= __put_user(fpstate, &sc->fpstate); in setup_sigcontext() 220 void **fpstate) in get_sigframe() argument 248 *fpstate = (struct _fpstate *) sp; in get_sigframe() 249 if (save_i387_xstate(*fpstate) < 0) in get_sigframe() 270 void __user *fpstate = NULL; in __setup_frame() local 272 frame = get_sigframe(ka, regs, sizeof(*frame), &fpstate); in __setup_frame() 280 if (setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in __setup_frame() 332 void __user *fpstate = NULL; in __setup_rt_frame() local [all …]
|
D | xsave.c | 29 void __user *fpstate, in check_for_xstate() argument 57 err = __get_user(magic2, (__u32 *) (((void *)fpstate) + in check_for_xstate()
|
/arch/um/sys-x86_64/ |
D | signal.c | 165 struct _fpstate fpstate; member 211 err |= copy_sc_to_user(&frame->uc.uc_mcontext, &frame->fpstate, regs, in setup_signal_stack_si() 213 err |= __put_user(&frame->fpstate, &frame->uc.uc_mcontext.fpstate); in setup_signal_stack_si() 281 &frame->fpstate)) in sys_rt_sigreturn()
|
/arch/um/sys-i386/ |
D | signal.c | 183 &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0], in copy_sc_from_user() 188 err = convert_fxsr_from_user(&fpx, sc.fpstate); in copy_sc_from_user() 203 err = copy_from_user(&fp, sc.fpstate, in copy_sc_from_user() 250 sc.fpstate = to_fp; in copy_sc_to_user() 306 struct _fpstate fpstate; member 319 struct _fpstate fpstate; member 415 err |= copy_ucontext_to_user(&frame->uc, &frame->fpstate, mask, in setup_signal_stack_si()
|
/arch/ia64/ia32/ |
D | ia32_signal.c | 49 struct _fpstate_ia32 fpstate; member 62 struct _fpstate_ia32 fpstate; member 599 setup_sigcontext_ia32 (struct sigcontext_ia32 __user *sc, struct _fpstate_ia32 __user *fpstate, in setup_sigcontext_ia32() argument 634 if ( save_ia32_fpstate_live(fpstate) < 0 ) in setup_sigcontext_ia32() 637 err |= __put_user((u32)(u64)fpstate, &sc->fpstate); in setup_sigcontext_ia32() 640 tmp = save_i387(fpstate); in setup_sigcontext_ia32() 644 err |= __put_user(tmp ? fpstate : NULL, &sc->fpstate); in setup_sigcontext_ia32() 728 err |= get_user(fpstate_ptr, &(sc->fpstate)); in restore_sigcontext_ia32() 738 err |= __get_user(buf, &sc->fpstate); in restore_sigcontext_ia32() 807 err |= setup_sigcontext_ia32(&frame->sc, &frame->fpstate, regs, set->sig[0]); in setup_frame_ia32() [all …]
|
D | elfcore32.h | 117 struct ia32_user_i387_struct *fpstate = (void*)fpu; in elf_core_copy_task_fpregs() local 125 save_ia32_fpstate(tsk, (struct ia32_user_i387_struct __user *) fpstate); in elf_core_copy_task_fpregs()
|
D | ia32priv.h | 118 unsigned int fpstate; /* really (struct _fpstate_ia32 *) */ member
|
/arch/arm/kernel/ |
D | asm-offsets.c | 53 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() 59 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); in main()
|
D | ptrace.c | 583 return copy_to_user(ufp, &task_thread_info(tsk)->fpstate, in ptrace_getfpregs() 594 return copy_from_user(&thread->fpstate, ufp, in ptrace_setfpregs() 610 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE) in ptrace_getwmmxregs() 624 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) in ptrace_setwmmxregs()
|
D | process.c | 361 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread() 405 memcpy(fp, &thread->fpstate.soft, sizeof (*fp)); in dump_fpu()
|
/arch/arm/nwfpe/ |
D | fpa11.h | 25 #define GET_FPA11() ((FPA11 *)(¤t_thread_info()->fpstate))
|
D | fpmodule.c | 64 nwfpe_init_fpa(&thread->fpstate); in nwfpe_notify()
|
/arch/m68k/include/asm/ |
D | processor_mm.h | 70 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member
|
D | processor_no.h | 72 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
|