Lines Matching refs:__put_user_error
261 __put_user_error(fpsimd->fpsr, &ctx->fpsr, err); in preserve_fpsimd_context()
262 __put_user_error(fpsimd->fpcr, &ctx->fpcr, err); in preserve_fpsimd_context()
265 __put_user_error(FPSIMD_MAGIC, &ctx->head.magic, err); in preserve_fpsimd_context()
266 __put_user_error(sizeof(struct fpsimd_context), &ctx->head.size, err); in preserve_fpsimd_context()
311 __put_user_error(FPMR_MAGIC, &ctx->head.magic, err); in preserve_fpmr_context()
312 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_fpmr_context()
313 __put_user_error(current->thread.uw.fpmr, &ctx->fpmr, err); in preserve_fpmr_context()
338 __put_user_error(POE_MAGIC, &ctx->head.magic, err); in preserve_poe_context()
339 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_poe_context()
340 __put_user_error(ua_state->por_el0, &ctx->por_el0, err); in preserve_poe_context()
381 __put_user_error(SVE_MAGIC, &ctx->head.magic, err); in preserve_sve_context()
382 __put_user_error(round_up(SVE_SIG_CONTEXT_SIZE(vq), 16), in preserve_sve_context()
384 __put_user_error(vl, &ctx->vl, err); in preserve_sve_context()
385 __put_user_error(flags, &ctx->flags, err); in preserve_sve_context()
511 __put_user_error(TPIDR2_MAGIC, &ctx->head.magic, err); in preserve_tpidr2_context()
512 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_tpidr2_context()
513 __put_user_error(tpidr2_el0, &ctx->tpidr2, err); in preserve_tpidr2_context()
547 __put_user_error(ZA_MAGIC, &ctx->head.magic, err); in preserve_za_context()
548 __put_user_error(round_up(ZA_SIG_CONTEXT_SIZE(vq), 16), in preserve_za_context()
550 __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()
694 __put_user_error(GCS_MAGIC, &ctx->head.magic, err); in preserve_gcs_context()
695 __put_user_error(sizeof(*ctx), &ctx->head.size, err); in preserve_gcs_context()
696 __put_user_error(gcspr, &ctx->gcspr, err); in preserve_gcs_context()
697 __put_user_error(0, &ctx->reserved, err); in preserve_gcs_context()
698 __put_user_error(current->thread.gcs_el0_mode, in preserve_gcs_context()
1247 __put_user_error(regs->regs[29], &user->next_frame->fp, err); in setup_sigframe()
1248 __put_user_error(regs->regs[30], &user->next_frame->lr, err); in setup_sigframe()
1251 __put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], in setup_sigframe()
1253 __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); in setup_sigframe()
1254 __put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); in setup_sigframe()
1255 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); in setup_sigframe()
1257 __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); in setup_sigframe()
1272 __put_user_error(ESR_MAGIC, &esr_ctx->head.magic, err); in setup_sigframe()
1273 __put_user_error(sizeof(*esr_ctx), &esr_ctx->head.size, err); in setup_sigframe()
1274 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err); in setup_sigframe()
1350 __put_user_error(EXTRA_MAGIC, &extra->head.magic, err); in setup_sigframe()
1351 __put_user_error(EXTRA_CONTEXT_SIZE, &extra->head.size, err); in setup_sigframe()
1352 __put_user_error(extra_datap, &extra->datap, err); in setup_sigframe()
1353 __put_user_error(extra_size, &extra->size, err); in setup_sigframe()
1356 __put_user_error(0, &end->magic, err); in setup_sigframe()
1357 __put_user_error(0, &end->size, err); in setup_sigframe()
1365 __put_user_error(0, &end->magic, err); in setup_sigframe()
1366 __put_user_error(0, &end->size, err); in setup_sigframe()
1521 __put_user_error(0, &frame->uc.uc_flags, err); in setup_rt_frame()
1522 __put_user_error(NULL, &frame->uc.uc_link, err); in setup_rt_frame()