Lines Matching refs:__put_user

114 		    __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0),  in copy_fpu_to_sigcontext()
117 err |= __put_user(current->thread.fpu.fcc, fcc); in copy_fpu_to_sigcontext()
118 err |= __put_user(current->thread.fpu.fcsr, fcsr); in copy_fpu_to_sigcontext()
151 err |= __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0), in copy_lsx_to_sigcontext()
153 err |= __put_user(get_fpr64(&current->thread.fpu.fpr[i], 1), in copy_lsx_to_sigcontext()
156 err |= __put_user(current->thread.fpu.fcc, fcc); in copy_lsx_to_sigcontext()
157 err |= __put_user(current->thread.fpu.fcsr, fcsr); in copy_lsx_to_sigcontext()
192 err |= __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0), in copy_lasx_to_sigcontext()
194 err |= __put_user(get_fpr64(&current->thread.fpu.fpr[i], 1), in copy_lasx_to_sigcontext()
196 err |= __put_user(get_fpr64(&current->thread.fpu.fpr[i], 2), in copy_lasx_to_sigcontext()
198 err |= __put_user(get_fpr64(&current->thread.fpu.fpr[i], 3), in copy_lasx_to_sigcontext()
201 err |= __put_user(current->thread.fpu.fcc, fcc); in copy_lasx_to_sigcontext()
202 err |= __put_user(current->thread.fpu.fcsr, fcsr); in copy_lasx_to_sigcontext()
239 err |= __put_user(current->thread.lbt.scr0, &regs[0]); in copy_lbt_to_sigcontext()
240 err |= __put_user(current->thread.lbt.scr1, &regs[1]); in copy_lbt_to_sigcontext()
241 err |= __put_user(current->thread.lbt.scr2, &regs[2]); in copy_lbt_to_sigcontext()
242 err |= __put_user(current->thread.lbt.scr3, &regs[3]); in copy_lbt_to_sigcontext()
243 err |= __put_user(current->thread.lbt.eflags, eflags); in copy_lbt_to_sigcontext()
267 return __put_user(current->thread.fpu.ftop, ftop); in copy_ftop_to_sigcontext()
383 err |= __put_user(csr, fcsr); in fcsr_pending()
409 err |= __put_user(FPU_CTX_MAGIC, &info->magic); in protected_save_fpu_context()
410 err |= __put_user(extctx->fpu.size, &info->size); in protected_save_fpu_context()
415 err = __put_user(0, &regs[0]) | in protected_save_fpu_context()
416 __put_user(0, &regs[31]) | in protected_save_fpu_context()
417 __put_user(0, fcc) | in protected_save_fpu_context()
418 __put_user(0, fcsr); in protected_save_fpu_context()
481 err |= __put_user(LSX_CTX_MAGIC, &info->magic); in protected_save_lsx_context()
482 err |= __put_user(extctx->lsx.size, &info->size); in protected_save_lsx_context()
487 err = __put_user(0, &regs[0]) | in protected_save_lsx_context()
488 __put_user(0, &regs[32*2-1]) | in protected_save_lsx_context()
489 __put_user(0, fcc) | in protected_save_lsx_context()
490 __put_user(0, fcsr); in protected_save_lsx_context()
559 err |= __put_user(LASX_CTX_MAGIC, &info->magic); in protected_save_lasx_context()
560 err |= __put_user(extctx->lasx.size, &info->size); in protected_save_lasx_context()
565 err = __put_user(0, &regs[0]) | in protected_save_lasx_context()
566 __put_user(0, &regs[32*4-1]) | in protected_save_lasx_context()
567 __put_user(0, fcc) | in protected_save_lasx_context()
568 __put_user(0, fcsr); in protected_save_lasx_context()
639 err |= __put_user(LBT_CTX_MAGIC, &info->magic); in protected_save_lbt_context()
640 err |= __put_user(extctx->lbt.size, &info->size); in protected_save_lbt_context()
645 err = __put_user(0, &regs[0]) | __put_user(0, eflags); in protected_save_lbt_context()
694 err |= __put_user(regs->csr_era, &sc->sc_pc); in setup_sigcontext()
695 err |= __put_user(extctx->flags, &sc->sc_flags); in setup_sigcontext()
697 err |= __put_user(0, &sc->sc_regs[0]); in setup_sigcontext()
699 err |= __put_user(regs->regs[i], &sc->sc_regs[i]); in setup_sigcontext()
715 err |= __put_user(0, &info->magic); in setup_sigcontext()
716 err |= __put_user(0, &info->size); in setup_sigcontext()
975 err |= __put_user(0, &frame->rs_uctx.uc_flags); in setup_rt_frame()
976 err |= __put_user(NULL, &frame->rs_uctx.uc_link); in setup_rt_frame()