Home
last modified time | relevance | path

Searched refs:fpstate (Results 1 – 24 of 24) sorted by relevance

/linux-4.1.27/arch/m68k/kernel/
Dsignal.c351 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 …]
Dprocess.c173 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()
Dasm-offsets.c38 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
/linux-4.1.27/arch/x86/ia32/
Dia32_signal.c197 get_user_ex(tmp, &sc->fpstate); in ia32_restore_sigcontext()
267 void __user *fpstate, in ia32_setup_sigcontext() argument
294 put_user_ex(ptr_to_compat(fpstate), &sc->fpstate); in ia32_setup_sigcontext()
309 void __user **fpstate) in get_sigframe() argument
329 *fpstate = (struct _fpstate_ia32 __user *) sp; in get_sigframe()
330 if (save_xstate_sig(*fpstate, (void __user *)fx_aligned, in get_sigframe()
348 void __user *fpstate = NULL; in ia32_setup_frame() local
361 frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate); in ia32_setup_frame()
369 if (ia32_setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in ia32_setup_frame()
426 void __user *fpstate = NULL; in ia32_setup_rt_frame() local
[all …]
/linux-4.1.27/arch/x86/kernel/
Dsignal.c110 get_user_ex(buf, &sc->fpstate); in restore_sigcontext()
120 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, in setup_sigcontext() argument
168 put_user_ex(fpstate, &sc->fpstate); in setup_sigcontext()
201 void __user **fpstate) in get_sigframe() argument
230 *fpstate = (void __user *)sp; in get_sigframe()
244 save_xstate_sig(*fpstate, (void __user *)buf_fx, math_size) < 0) in get_sigframe()
280 void __user *fpstate = NULL; in __setup_frame() local
282 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate); in __setup_frame()
290 if (setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in __setup_frame()
343 void __user *fpstate = NULL; in __setup_rt_frame() local
[all …]
Dxsave.c106 void __user *fpstate, in check_for_xstate() argument
129 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size)) in check_for_xstate()
/linux-4.1.27/arch/x86/um/
Dsignal.c209 &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0], in copy_sc_from_user()
214 err = convert_fxsr_from_user(&fpx, sc.fpstate); in copy_sc_from_user()
230 err = copy_from_user(&fp, sc.fpstate, in copy_sc_from_user()
294 sc.fpstate = 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()
500 struct _fpstate fpstate; member
527 err |= copy_sc_to_user(&frame->uc.uc_mcontext, &frame->fpstate, regs, in setup_signal_stack_si()
[all …]
/linux-4.1.27/arch/x86/include/uapi/asm/
Dsigcontext.h125 struct _fpstate __user *fpstate; member
187 struct _fpstate __user *fpstate; /* zero when no FPU context */ member
215 struct _fpstate fpstate; member
Dsigcontext32.h72 unsigned int fpstate; /* really (struct _fpstate_ia32 *) */ member
/linux-4.1.27/arch/x86/include/asm/
Dsigcontext.h35 void __user *fpstate; /* zero when no FPU/extended context */ member
75 void __user *fpstate; /* zero when no FPU/extended context */ member
Dsighandling.h17 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
/linux-4.1.27/arch/unicore32/include/asm/
Dsuspend.h23 struct fp_state fpstate __attribute__((aligned(8))); member
Dthread_info.h78 struct fp_state fpstate __attribute__((aligned(8))); member
/linux-4.1.27/arch/unicore32/kernel/
Dasm-offsets.c49 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
104 fpstate)); in main()
Dprocess.c219 memset(&thread->fpstate, 0, sizeof(struct fp_state)); in flush_thread()
276 memcpy(fp, &thread->fpstate, sizeof(*fp)); in dump_fpu()
/linux-4.1.27/arch/arm/nwfpe/
Dfpa11.h25 #define GET_FPA11() ((FPA11 *)(&current_thread_info()->fpstate))
Dfpmodule.c65 nwfpe_init_fpa(&thread->fpstate); in nwfpe_notify()
/linux-4.1.27/arch/arm/kernel/
Dprocess.c191 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()
256 memcpy(fp, &thread->fpstate.soft, sizeof (*fp)); in dump_fpu()
Dptrace.c310 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()
Dasm-offsets.c75 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
86 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); in main()
/linux-4.1.27/arch/m68k/include/asm/
Dprocessor.h94 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member
/linux-4.1.27/arch/arm/include/asm/
Dthread_info.h64 union fp_state fpstate __attribute__((aligned(8))); member
/linux-4.1.27/arch/metag/include/asm/
Dprocessor.h39 TBICTXEXTFPU fpstate; member
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3222 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,