Lines Matching refs:__put_user_error
255 __put_user_error(fpsimd->fpsr, &ctx->fpsr, err); in preserve_fpsimd_context()
256 __put_user_error(fpsimd->fpcr, &ctx->fpcr, err); in preserve_fpsimd_context()
259 __put_user_error(FPSIMD_MAGIC, &ctx->head.magic, err); in preserve_fpsimd_context()
260 __put_user_error(sizeof(struct fpsimd_context), &ctx->head.size, err); in preserve_fpsimd_context()
296 __put_user_error(FPMR_MAGIC, &ctx->head.magic, err); in preserve_fpmr_context()
297 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_fpmr_context()
298 __put_user_error(current->thread.uw.fpmr, &ctx->fpmr, err); in preserve_fpmr_context()
323 __put_user_error(POE_MAGIC, &ctx->head.magic, err); in preserve_poe_context()
324 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_poe_context()
325 __put_user_error(ua_state->por_el0, &ctx->por_el0, err); in preserve_poe_context()
366 __put_user_error(SVE_MAGIC, &ctx->head.magic, err); in preserve_sve_context()
367 __put_user_error(round_up(SVE_SIG_CONTEXT_SIZE(vq), 16), in preserve_sve_context()
369 __put_user_error(vl, &ctx->vl, err); in preserve_sve_context()
370 __put_user_error(flags, &ctx->flags, err); in preserve_sve_context()
500 __put_user_error(TPIDR2_MAGIC, &ctx->head.magic, err); in preserve_tpidr2_context()
501 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_tpidr2_context()
502 __put_user_error(current->thread.tpidr2_el0, &ctx->tpidr2, err); in preserve_tpidr2_context()
536 __put_user_error(ZA_MAGIC, &ctx->head.magic, err); in preserve_za_context()
537 __put_user_error(round_up(ZA_SIG_CONTEXT_SIZE(vq), 16), in preserve_za_context()
539 __put_user_error(vl, &ctx->vl, err); in preserve_za_context()
623 __put_user_error(ZT_MAGIC, &ctx->head.magic, err); in preserve_zt_context()
624 __put_user_error(round_up(ZT_SIG_CONTEXT_SIZE(1), 16), in preserve_zt_context()
626 __put_user_error(1, &ctx->nregs, err); in preserve_zt_context()
1105 __put_user_error(regs->regs[29], &user->next_frame->fp, err); in setup_sigframe()
1106 __put_user_error(regs->regs[30], &user->next_frame->lr, err); in setup_sigframe()
1109 __put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], in setup_sigframe()
1111 __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); in setup_sigframe()
1112 __put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); in setup_sigframe()
1113 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); in setup_sigframe()
1115 __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); in setup_sigframe()
1130 __put_user_error(ESR_MAGIC, &esr_ctx->head.magic, err); in setup_sigframe()
1131 __put_user_error(sizeof(*esr_ctx), &esr_ctx->head.size, err); in setup_sigframe()
1132 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err); in setup_sigframe()
1202 __put_user_error(EXTRA_MAGIC, &extra->head.magic, err); in setup_sigframe()
1203 __put_user_error(EXTRA_CONTEXT_SIZE, &extra->head.size, err); in setup_sigframe()
1204 __put_user_error(extra_datap, &extra->datap, err); in setup_sigframe()
1205 __put_user_error(extra_size, &extra->size, err); in setup_sigframe()
1208 __put_user_error(0, &end->magic, err); in setup_sigframe()
1209 __put_user_error(0, &end->size, err); in setup_sigframe()
1217 __put_user_error(0, &end->magic, err); in setup_sigframe()
1218 __put_user_error(0, &end->size, err); in setup_sigframe()
1324 __put_user_error(0, &frame->uc.uc_flags, err); in setup_rt_frame()
1325 __put_user_error(NULL, &frame->uc.uc_link, err); in setup_rt_frame()