Lines Matching refs:task
62 static int get_free_idx(struct task_struct* task) in get_free_idx() argument
64 struct thread_struct *t = &task->thread; in get_free_idx()
131 static inline int needs_TLS_update(struct task_struct *task) in needs_TLS_update() argument
138 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in needs_TLS_update()
156 void clear_flushed_tls(struct task_struct *task) in clear_flushed_tls() argument
162 &task->thread.arch.tls_array[i - GDT_ENTRY_TLS_MIN]; in clear_flushed_tls()
202 static int set_tls_entry(struct task_struct* task, struct user_desc *info, in set_tls_entry() argument
205 struct thread_struct *t = &task->thread; in set_tls_entry()
239 static int get_tls_entry(struct task_struct *task, struct user_desc *info, in get_tls_entry() argument
242 struct thread_struct *t = &task->thread; in get_tls_entry()
260 if (unlikely(task == current && in get_tls_entry()