Searched refs:fpstate (Results 1 - 25 of 25) sorted by last modified time

/arch/unicore32/include/asm/
H A Dsuspend.h23 struct fp_state fpstate __attribute__((aligned(8))); member in struct:swsusp_arch_regs
H A Dthread_info.h18 #include <asm/fpstate.h>
80 struct fp_state fpstate __attribute__((aligned(8))); member in struct:thread_info
/arch/unicore32/kernel/
H A Dasm-offsets.c50 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate));
105 fpstate));
H A Dprocess.c219 memset(&thread->fpstate, 0, sizeof(struct fp_state));
276 memcpy(fp, &thread->fpstate, sizeof(*fp));
/arch/x86/ia32/
H A Dia32_signal.c198 get_user_ex(tmp, &sc->fpstate);
270 void __user *fpstate,
297 put_user_ex(ptr_to_compat(fpstate), &sc->fpstate);
312 void __user **fpstate)
332 *fpstate = (struct _fpstate_ia32 __user *) sp;
333 if (save_xstate_sig(*fpstate, (void __user *)fx_aligned,
351 void __user *fpstate = NULL; local
364 frame = get_sigframe(ksig, regs, sizeof(*frame), &fpstate);
372 if (ia32_setup_sigcontext(&frame->sc, fpstate, reg
269 ia32_setup_sigcontext(struct sigcontext_ia32 __user *sc, void __user *fpstate, struct pt_regs *regs, unsigned int mask) argument
310 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size, void __user **fpstate) argument
429 void __user *fpstate = NULL; local
[all...]
/arch/x86/include/asm/
H A Dsigcontext.h29 * fpstate is really (struct _fpstate *) or (struct _xstate *)
35 void __user *fpstate; /* zero when no FPU/extended context */ member in struct:sigcontext
69 * fpstate is really (struct _fpstate *) or (struct _xstate *)
75 void __user *fpstate; /* zero when no FPU/extended context */ member in struct:sigcontext
H A Dsighandling.h19 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
/arch/x86/include/uapi/asm/
H A Dsigcontext.h14 * are used to extended the fpstate pointer in the sigcontext, which now
15 * includes the extended state information along with fpstate information.
20 * extended state information in the memory layout pointed by the fpstate
26 * fpstate pointer in the sigcontext.
125 struct _fpstate __user *fpstate; member in struct:sigcontext
187 struct _fpstate __user *fpstate; /* zero when no FPU context */ member in struct:sigcontext
209 * Extended state pointed by the fpstate pointer in the sigcontext.
210 * In addition to the fpstate, information encoded in the xstate_hdr
215 struct _fpstate fpstate; member in struct:_xstate
H A Dsigcontext32.h72 unsigned int fpstate; /* really (struct _fpstate_ia32 *) */ member in struct:sigcontext_ia32
/arch/x86/kernel/
H A Dsignal.c111 get_user_ex(buf, &sc->fpstate);
121 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate, argument
169 put_user_ex(fpstate, &sc->fpstate);
202 void __user **fpstate)
231 *fpstate = (void __user *)sp;
245 save_xstate_sig(*fpstate, (void __user *)buf_fx, math_size) < 0)
281 void __user *fpstate = NULL; local
283 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate);
291 if (setup_sigcontext(&frame->sc, fpstate, reg
201 get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size, void __user **fpstate) argument
344 void __user *fpstate = NULL; local
476 void __user *fpstate = NULL; local
[all...]
H A Dxsave.c102 * user fpstate pointer in the sigcontext.
105 void __user *fpstate,
125 * fpstate layout with out copying the extended state information
128 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size))
428 * pointed by the fpstate pointer in the sigcontext.
104 check_for_xstate(struct i387_fxsave_struct __user *buf, void __user *fpstate, struct _fpx_sw_bytes *fx_sw) argument
/arch/x86/um/
H A Dsignal.c209 &((struct _fpstate __user *)sc.fpstate)->_fxsr_env[0],
214 err = convert_fxsr_from_user(&fpx, sc.fpstate);
230 err = copy_from_user(&fp, sc.fpstate,
294 sc.fpstate = to_fp;
356 struct _fpstate fpstate; member in struct:sigframe
369 struct _fpstate fpstate; member in struct:rt_sigframe
392 err |= copy_sc_to_user(&frame->sc, &frame->fpstate, regs, mask->sig[0]);
440 err |= copy_ucontext_to_user(&frame->uc, &frame->fpstate, mask,
500 struct _fpstate fpstate; member in struct:rt_sigframe
527 err |= copy_sc_to_user(&frame->uc.uc_mcontext, &frame->fpstate, reg
[all...]
/arch/m68k/include/asm/
H A Dprocessor.h94 unsigned char fpstate[FPSTATESIZE]; /* floating point state */ member in struct:thread_struct
/arch/m68k/kernel/
H A Dasm-offsets.c38 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate));
H A Dprocess.c173 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory");
175 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread.fpstate[2]) {
198 asm volatile ("frestore %0" : : "m" (p->thread.fpstate[0]));
H A Dsignal.c19 * (Note: fpstate in the signal context is completely ignored for the emulator
351 unsigned char fpstate[FPCONTEXT_SIZE]; local
368 if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate))
370 if (CPU_IS_060 ? fpstate[2] : fpstate[0]) {
372 context_size = fpstate[1];
375 (fpstate[0] != fpu_version))
390 if (!(fpstate[3] == 0x00 ||
391 fpstate[3] == 0x60 ||
392 fpstate[
502 unsigned char fpstate[FPCONTEXT_SIZE]; local
[all...]
/arch/metag/include/asm/
H A Dprocessor.h39 TBICTXEXTFPU fpstate; member in struct:meta_fpu_context
/arch/arm/include/asm/
H A Dkvm_host.h27 #include <asm/fpstate.h>
H A Dthread_info.h16 #include <asm/fpstate.h>
66 union fp_state fpstate __attribute__((aligned(8))); member in struct:thread_info
H A Ducontext.h4 #include <asm/fpstate.h>
/arch/arm/kernel/
H A Dasm-offsets.c65 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate));
76 DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt));
H A Dprocess.c460 memset(&thread->fpstate, 0, sizeof(union fp_state));
525 memcpy(fp, &thread->fpstate.soft, sizeof (*fp));
H A Dptrace.c310 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE)
324 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE)
624 &task_thread_info(target)->fpstate,
638 &thread->fpstate,
762 * For the FPA regs in fpstate, the real fields are a mixture
/arch/arm/nwfpe/
H A Dfpa11.h25 #define GET_FPA11() ((FPA11 *)(&current_thread_info()->fpstate))
H A Dfpmodule.c65 nwfpe_init_fpa(&thread->fpstate);

Completed in 748 milliseconds