/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | fpu.c | 88 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu() 138 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_fpu() 234 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) in ieee_fpe_handler() 236 denormal_to_double(&tsk->thread.xstate->hardfpu, in ieee_fpe_handler() 252 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler() 253 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler() 254 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler() 264 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler() 266 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler() 268 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler() [all …]
|
/linux-4.1.27/arch/sh/kernel/ |
D | process.c | 28 if (src->thread.xstate) { in arch_dup_task_struct() 29 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in arch_dup_task_struct() 31 if (!dst->thread.xstate) in arch_dup_task_struct() 33 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); in arch_dup_task_struct() 41 if (tsk->thread.xstate) { in free_thread_xstate() 42 kmem_cache_free(task_xstate_cachep, tsk->thread.xstate); in free_thread_xstate() 43 tsk->thread.xstate = NULL; in free_thread_xstate()
|
D | traps_64.c | 355 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load() 359 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load() 360 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load() 363 current->thread.xstate->hardfpu.fp_regs[destreg] = bufhi; in misaligned_fpu_load() 364 current->thread.xstate->hardfpu.fp_regs[destreg+1] = buflo; in misaligned_fpu_load() 366 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load() 367 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load() 422 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store() 426 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store() 427 bufhi = current->thread.xstate->hardfpu.fp_regs[srcreg+1]; in misaligned_fpu_store() [all …]
|
D | ptrace_32.c | 199 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get() 202 &target->thread.xstate->softfpu, 0, -1); in fpregs_get() 220 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set() 223 &target->thread.xstate->softfpu, 0, -1); in fpregs_set() 401 tmp = ((unsigned long *)child->thread.xstate) in arch_ptrace() 436 ((unsigned long *)child->thread.xstate) in arch_ptrace()
|
D | ptrace_64.c | 91 tmp = ((long *)task->thread.xstate)[addr / sizeof(unsigned long)]; in get_fpu_long() 126 ((long *)task->thread.xstate)[addr / sizeof(unsigned long)] = data; in put_fpu_long() 228 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get() 245 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set()
|
D | process_32.c | 193 prefetch(next_t->xstate); in __switch_to()
|
D | signal_32.c | 84 return __copy_from_user(&tsk->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu() 108 return __copy_to_user(&sc->sc_fpregs[0], &tsk->thread.xstate->hardfpu, in save_sigcontext_fpu()
|
D | signal_64.c | 160 err |= __copy_from_user(¤t->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu() 185 err |= __copy_to_user(&sc->sc_fpregs[0], ¤t->thread.xstate->hardfpu, in setup_sigcontext_fpu()
|
D | process_64.c | 361 memcpy(fpu, &tsk->thread.xstate->hardfpu, sizeof(*fpu)); in dump_fpu()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/ |
D | fpu.c | 55 : "0" ((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu() 87 : "0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_fpu() 459 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_FPU_ERROR)) { in ieee_fpe_handler() 461 denormal_to_double (&tsk->thread.xstate->hardfpu, in ieee_fpe_handler() 476 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler() 477 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler() 478 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler() 488 | tsk->thread.xstate->hardfpu.fp_regs[n+1]; in ieee_fpe_handler() 490 | tsk->thread.xstate->hardfpu.fp_regs[m+1]; in ieee_fpe_handler() 495 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler() [all …]
|
/linux-4.1.27/arch/sh/kernel/cpu/ |
D | fpu.c | 18 if (!tsk->thread.xstate) { in init_fpu() 19 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu() 21 if (!tsk->thread.xstate) in init_fpu() 26 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu() 30 struct sh_fpu_soft_struct *fp = &tsk->thread.xstate->softfpu; in init_fpu()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
D | fpu.c | 57 : "r" (&tsk->thread.xstate->hardfpu) in save_fpu() 100 : "r" (&tsk->thread.xstate->hardfpu) in restore_fpu()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | xsave.h | 241 struct xsave_struct *xstate = ((__force struct xsave_struct *)buf); in xrestore_user() local 249 : "D" (xstate), "a" (lmask), "d" (hmask), "0" (0) in xrestore_user() 254 void *get_xsave_addr(struct xsave_struct *xsave, int xstate);
|
/linux-4.1.27/arch/sh/math-emu/ |
D | math.c | 555 if ((tsk->thread.xstate->softfpu.fpscr & (1 << 17))) { in ieee_fpe_handler() 557 denormal_to_double (&tsk->thread.xstate->softfpu, in ieee_fpe_handler() 559 tsk->thread.xstate->softfpu.fpscr &= in ieee_fpe_handler() 602 struct sh_fpu_soft_struct *fpu = &(tsk->thread.xstate->softfpu); in do_fpu_inst()
|
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_generic.c | 123 unsigned int xstate; /* transmit state bits 68 */ member 672 val = ppp->flags | ppp->xstate | ppp->rstate; in ppp_ioctl() 1272 if ((ppp->xstate & SC_COMP_RUN) && ppp->xc_state && in ppp_send_frame() 2400 ppp->xstate &= ~SC_COMP_RUN; in ppp_set_compress() 2463 ppp->xstate &= ~SC_COMP_RUN; in ppp_ccp_peek() 2476 ppp->xstate &= ~SC_COMP_RUN; in ppp_ccp_peek() 2504 ppp->xstate |= SC_COMP_RUN; in ppp_ccp_peek() 2518 if (ppp->xc_state && (ppp->xstate & SC_COMP_RUN)) in ppp_ccp_peek() 2529 void *xstate, *rstate; in ppp_ccp_closed() local 2534 ppp->xstate = 0; in ppp_ccp_closed() [all …]
|
/linux-4.1.27/arch/sh/include/asm/ |
D | processor_32.h | 113 union thread_xstate *xstate; member
|
D | processor_64.h | 128 union thread_xstate *xstate; member
|
/linux-4.1.27/arch/x86/kernel/ |
D | xsave.c | 716 void *get_xsave_addr(struct xsave_struct *xsave, int xstate) in get_xsave_addr() argument 718 int feature = fls64(xstate) - 1; in get_xsave_addr()
|