Lines Matching refs:task
63 static int get_free_idx(struct task_struct* task) in get_free_idx() argument
65 struct thread_struct *t = &task->thread; in get_free_idx()
132 static inline int needs_TLS_update(struct task_struct *task) in needs_TLS_update() argument
139 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update()
157 void clear_flushed_tls(struct task_struct *task) in clear_flushed_tls() argument
163 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls()
203 static int set_tls_entry(struct task_struct* task, struct user_desc *info, in set_tls_entry() argument
206 struct thread_struct *t = &task->thread; in set_tls_entry()
240 static int get_tls_entry(struct task_struct *task, struct user_desc *info, in get_tls_entry() argument
243 struct thread_struct *t = &task->thread; in get_tls_entry()
261 if (unlikely(task == current && in get_tls_entry()