Lines Matching refs:task
86 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
91 extern void attach_pid(struct task_struct *task, enum pid_type);
92 extern void detach_pid(struct task_struct *task, enum pid_type);
93 extern void change_pid(struct task_struct *task, enum pid_type,
175 #define do_each_pid_task(pid, type, task) \ argument
178 hlist_for_each_entry_rcu((task), \
185 #define while_each_pid_task(pid, type, task) \ argument
191 #define do_each_pid_thread(pid, type, task) \ argument
192 do_each_pid_task(pid, type, task) { \
193 struct task_struct *tg___ = task; \
196 #define while_each_pid_thread(pid, type, task) \ argument
197 } while_each_thread(tg___, task); \
198 task = tg___; \
199 } while_each_pid_task(pid, type, task)