Home
last modified time | relevance | path

Searched refs:xstate (Results 1 – 15 of 15) sorted by relevance

/linux/arch/sh/kernel/cpu/sh4/
A Dfpu.c248 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
249 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
250 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
286 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
287 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
288 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
330 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
331 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
332 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
368 hx = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
[all …]
/linux/arch/sh/kernel/
A Dprocess.c29 if (src->thread.xstate) { in arch_dup_task_struct()
30 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in arch_dup_task_struct()
32 if (!dst->thread.xstate) in arch_dup_task_struct()
34 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); in arch_dup_task_struct()
42 if (tsk->thread.xstate) { in free_thread_xstate()
43 kmem_cache_free(task_xstate_cachep, tsk->thread.xstate); in free_thread_xstate()
44 tsk->thread.xstate = NULL; in free_thread_xstate()
A Dptrace_32.c178 return membuf_write(&to, target->thread.xstate, in fpregs_get()
197 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set()
200 &target->thread.xstate->softfpu, 0, -1); in fpregs_set()
370 tmp = ((unsigned long *)child->thread.xstate) in arch_ptrace()
405 ((unsigned long *)child->thread.xstate) in arch_ptrace()
A Dprocess_32.c162 prefetch(next_t->xstate); in __switch_to()
A Dsignal_32.c85 return __copy_from_user(&tsk->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu()
109 return __copy_to_user(&sc->sc_fpregs[0], &tsk->thread.xstate->hardfpu, in save_sigcontext_fpu()
/linux/arch/sh/kernel/cpu/sh2a/
A Dfpu.c84 : "0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_fpu()
458 denormal_to_double (&tsk->thread.xstate->hardfpu, in ieee_fpe_handler()
473 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
474 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
475 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
502 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
516 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
517 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
518 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
545 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
[all …]
/linux/arch/sh/kernel/cpu/
A Dfpu.c22 if (!tsk->thread.xstate) { in init_fpu()
23 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu()
25 if (!tsk->thread.xstate) in init_fpu()
30 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu()
34 struct sh_fpu_soft_struct *fp = &tsk->thread.xstate->softfpu; in init_fpu()
/linux/arch/x86/kernel/fpu/
A Dxstate.h274 struct xregs_state *xstate = ((__force struct xregs_state *)buf); in xrstor_from_user_sigframe() local
282 XSTATE_OP(XRSTOR, xstate, lmask, hmask, err); in xrstor_from_user_sigframe()
294 struct xregs_state *xstate = &fpstate->regs.xsave; in os_xrstor_safe() local
303 XSTATE_OP(XRSTORS, xstate, lmask, hmask, err); in os_xrstor_safe()
305 XSTATE_OP(XRSTOR, xstate, lmask, hmask, err); in os_xrstor_safe()
A Dxstate.c371 static __init void os_xrstor_booting(struct xregs_state *xstate) in os_xrstor_booting() argument
379 XSTATE_OP(XRSTORS, xstate, lmask, hmask, err); in os_xrstor_booting()
381 XSTATE_OP(XRSTOR, xstate, lmask, hmask, err); in os_xrstor_booting()
1113 static void copy_feature(bool from_xstate, struct membuf *to, void *xstate, in copy_feature() argument
1116 membuf_write(to, from_xstate ? xstate : init_xstate, size); in copy_feature()
1379 void xsaves(struct xregs_state *xstate, u64 mask) in xsaves() argument
1386 XSTATE_OP(XSAVES, xstate, (u32)mask, (u32)(mask >> 32), err); in xsaves()
1403 void xrstors(struct xregs_state *xstate, u64 mask) in xrstors() argument
1410 XSTATE_OP(XRSTORS, xstate, (u32)mask, (u32)(mask >> 32), err); in xrstors()
A DMakefile6 obj-y += init.o bugs.o core.o regset.o signal.o xstate.o
/linux/Documentation/x86/
A Dindex.rst40 xstate
A Dxstate.rst63 the handler allocates a larger xstate buffer for the task so the large
/linux/arch/sh/include/asm/
A Dprocessor_32.h107 union thread_xstate *xstate; member
/linux/drivers/net/ppp/
A Dppp_generic.c123 unsigned int xstate; /* transmit state bits 68 */ member
814 val = ppp->flags | ppp->xstate | ppp->rstate; in ppp_ioctl()
3036 ppp->xstate &= ~SC_COMP_RUN; in ppp_set_compress()
3099 ppp->xstate &= ~SC_COMP_RUN; in ppp_ccp_peek()
3112 ppp->xstate &= ~SC_COMP_RUN; in ppp_ccp_peek()
3140 ppp->xstate |= SC_COMP_RUN; in ppp_ccp_peek()
3165 void *xstate, *rstate; in ppp_ccp_closed() local
3170 ppp->xstate = 0; in ppp_ccp_closed()
3172 xstate = ppp->xc_state; in ppp_ccp_closed()
3180 if (xstate) { in ppp_ccp_closed()
[all …]
/linux/arch/sh/math-emu/
A Dmath.c495 struct sh_fpu_soft_struct *fpu = &(tsk->thread.xstate->softfpu); in do_fpu_inst()

Completed in 25 milliseconds