Lines Matching refs:task
79 void do_notify_pidfd(struct task_struct *task);
96 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
101 extern void attach_pid(struct task_struct *task, enum pid_type);
102 extern void detach_pid(struct task_struct *task, enum pid_type);
103 extern void change_pid(struct task_struct *task, enum pid_type,
105 extern void exchange_tids(struct task_struct *task, struct task_struct *old);
186 #define do_each_pid_task(pid, type, task) \ argument
189 hlist_for_each_entry_rcu((task), \
196 #define while_each_pid_task(pid, type, task) \ argument
202 #define do_each_pid_thread(pid, type, task) \ argument
203 do_each_pid_task(pid, type, task) { \
204 struct task_struct *tg___ = task; \
205 for_each_thread(tg___, task) {
207 #define while_each_pid_thread(pid, type, task) \ argument
209 task = tg___; \
210 } while_each_pid_task(pid, type, task)
212 static inline struct pid *task_pid(struct task_struct *task) in task_pid() argument
214 return task->thread_pid; in task_pid()
228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);