Searched refs:gcs (Results 1 – 4 of 4) sorted by relevance
173 unsigned long gcs, size; in arch_set_shadow_stack_status() local201 gcs = alloc_gcs(0, size); in arch_set_shadow_stack_status()202 if (!gcs) in arch_set_shadow_stack_status()205 task->thread.gcspr_el0 = gcs + size - sizeof(u64); in arch_set_shadow_stack_status()206 task->thread.gcs_base = gcs; in arch_set_shadow_stack_status()
14 obj-$(CONFIG_ARM64_GCS) += gcs.o
302 unsigned long gcs; in copy_thread_gcs() local313 gcs = gcs_alloc_thread_stack(p, args); in copy_thread_gcs()314 if (IS_ERR_VALUE(gcs)) in copy_thread_gcs()315 return PTR_ERR((void *)gcs); in copy_thread_gcs()
246 struct gcs_context __user *gcs; member694 if (user->gcs_size != sizeof(*user->gcs)) in restore_gcs_context()697 __get_user_error(gcspr, &user->gcs->gcspr, err); in restore_gcs_context()698 __get_user_error(enabled, &user->gcs->features_enabled, err); in restore_gcs_context()756 user->gcs = NULL; in parse_user_sigframe()877 if (user->gcs) in parse_user_sigframe()880 user->gcs = (struct gcs_context __user *)head; in parse_user_sigframe()1006 if (err == 0 && system_supports_gcs() && user.gcs) in restore_sigframe()
Completed in 12 milliseconds