Lines Matching refs:__put_user_error
260 __put_user_error(fpsimd->fpsr, &ctx->fpsr, err); in preserve_fpsimd_context()
261 __put_user_error(fpsimd->fpcr, &ctx->fpcr, err); in preserve_fpsimd_context()
264 __put_user_error(FPSIMD_MAGIC, &ctx->head.magic, err); in preserve_fpsimd_context()
265 __put_user_error(sizeof(struct fpsimd_context), &ctx->head.size, err); in preserve_fpsimd_context()
310 __put_user_error(FPMR_MAGIC, &ctx->head.magic, err); in preserve_fpmr_context()
311 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_fpmr_context()
312 __put_user_error(current->thread.uw.fpmr, &ctx->fpmr, err); in preserve_fpmr_context()
337 __put_user_error(POE_MAGIC, &ctx->head.magic, err); in preserve_poe_context()
338 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_poe_context()
339 __put_user_error(ua_state->por_el0, &ctx->por_el0, err); in preserve_poe_context()
380 __put_user_error(SVE_MAGIC, &ctx->head.magic, err); in preserve_sve_context()
381 __put_user_error(round_up(SVE_SIG_CONTEXT_SIZE(vq), 16), in preserve_sve_context()
383 __put_user_error(vl, &ctx->vl, err); in preserve_sve_context()
384 __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(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()
608 __put_user_error(ZT_MAGIC, &ctx->head.magic, err); in preserve_zt_context()
609 __put_user_error(round_up(ZT_SIG_CONTEXT_SIZE(1), 16), in preserve_zt_context()
611 __put_user_error(1, &ctx->nregs, err); in preserve_zt_context()
679 __put_user_error(GCS_MAGIC, &ctx->head.magic, err); in preserve_gcs_context()
680 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_gcs_context()
681 __put_user_error(gcspr, &ctx->gcspr, err); in preserve_gcs_context()
682 __put_user_error(0, &ctx->reserved, err); in preserve_gcs_context()
683 __put_user_error(current->thread.gcs_el0_mode, in preserve_gcs_context()
1232 __put_user_error(regs->regs[29], &user->next_frame->fp, err); in setup_sigframe()
1233 __put_user_error(regs->regs[30], &user->next_frame->lr, err); in setup_sigframe()
1236 __put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], in setup_sigframe()
1238 __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); in setup_sigframe()
1239 __put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); in setup_sigframe()
1240 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); in setup_sigframe()
1242 __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); in setup_sigframe()
1257 __put_user_error(ESR_MAGIC, &esr_ctx->head.magic, err); in setup_sigframe()
1258 __put_user_error(sizeof(*esr_ctx), &esr_ctx->head.size, err); in setup_sigframe()
1259 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err); in setup_sigframe()
1335 __put_user_error(EXTRA_MAGIC, &extra->head.magic, err); in setup_sigframe()
1336 __put_user_error(EXTRA_CONTEXT_SIZE, &extra->head.size, err); in setup_sigframe()
1337 __put_user_error(extra_datap, &extra->datap, err); in setup_sigframe()
1338 __put_user_error(extra_size, &extra->size, err); in setup_sigframe()
1341 __put_user_error(0, &end->magic, err); in setup_sigframe()
1342 __put_user_error(0, &end->size, err); in setup_sigframe()
1350 __put_user_error(0, &end->magic, err); in setup_sigframe()
1351 __put_user_error(0, &end->size, err); in setup_sigframe()
1506 __put_user_error(0, &frame->uc.uc_flags, err); in setup_rt_frame()
1507 __put_user_error(NULL, &frame->uc.uc_link, err); in setup_rt_frame()