Lines Matching refs:task
59 static inline bool task_gcs_el0_enabled(struct task_struct *task) in task_gcs_el0_enabled() argument
61 return task->thread.gcs_el0_mode & PR_SHADOW_STACK_ENABLE; in task_gcs_el0_enabled()
64 void gcs_set_el0_mode(struct task_struct *task);
65 void gcs_free(struct task_struct *task);
70 static inline int gcs_check_locked(struct task_struct *task, in gcs_check_locked() argument
73 unsigned long cur_val = task->thread.gcs_el0_mode; in gcs_check_locked()
75 cur_val &= task->thread.gcs_el0_locked; in gcs_check_locked()
76 new_val &= task->thread.gcs_el0_locked; in gcs_check_locked()
86 static inline bool task_gcs_el0_enabled(struct task_struct *task) in task_gcs_el0_enabled() argument
91 static inline void gcs_set_el0_mode(struct task_struct *task) { } in gcs_set_el0_mode() argument
92 static inline void gcs_free(struct task_struct *task) { } in gcs_free() argument
99 static inline int gcs_check_locked(struct task_struct *task, in gcs_check_locked() argument