Lines Matching refs:head
184 __put_user_error(FPSIMD_MAGIC, &ctx->head.magic, err); in preserve_fpsimd_context()
185 __put_user_error(sizeof(struct fpsimd_context), &ctx->head.size, err); in preserve_fpsimd_context()
197 __get_user_error(magic, &ctx->head.magic, err); in restore_fpsimd_context()
198 __get_user_error(size, &ctx->head.size, err); in restore_fpsimd_context()
246 __put_user_error(SVE_MAGIC, &ctx->head.magic, err); in preserve_sve_context()
248 &ctx->head.size, err); in preserve_sve_context()
290 if (sve.head.size <= sizeof(*user->sve)) { in restore_sve_fpsimd_context()
298 if (sve.head.size < SVE_SIG_CONTEXT_SIZE(vq)) in restore_sve_fpsimd_context()
368 __put_user_error(ZA_MAGIC, &ctx->head.magic, err); in preserve_za_context()
370 &ctx->head.size, err); in preserve_za_context()
401 if (za.head.size <= sizeof(*user->za)) { in restore_za_context()
408 if (za.head.size < ZA_SIG_CONTEXT_SIZE(vq)) in restore_za_context()
452 struct _aarch64_ctx __user *head; in parse_user_sigframe() local
476 if (limit - offset < sizeof(*head)) in parse_user_sigframe()
482 head = (struct _aarch64_ctx __user *)(base + offset); in parse_user_sigframe()
483 __get_user_error(magic, &head->magic, err); in parse_user_sigframe()
484 __get_user_error(size, &head->size, err); in parse_user_sigframe()
507 user->fpsimd = (struct fpsimd_context __user *)head; in parse_user_sigframe()
524 user->sve = (struct sve_context __user *)head; in parse_user_sigframe()
537 user->za = (struct za_context __user *)head; in parse_user_sigframe()
547 userp = (char const __user *)head; in parse_user_sigframe()
606 if (size < sizeof(*head)) in parse_user_sigframe()
801 __put_user_error(ESR_MAGIC, &esr_ctx->head.magic, err); in setup_sigframe()
802 __put_user_error(sizeof(*esr_ctx), &esr_ctx->head.size, err); in setup_sigframe()
845 __put_user_error(EXTRA_MAGIC, &extra->head.magic, err); in setup_sigframe()
846 __put_user_error(EXTRA_CONTEXT_SIZE, &extra->head.size, err); in setup_sigframe()