Go to the documentation of this file.
75 static inline struct pid *get_pid(
struct pid *
pid)
149 static inline bool is_child_reaper(
struct pid *pid)
165 static inline pid_t pid_nr(
struct pid *pid)
176 #define do_each_pid_task(pid, type, task) \
178 struct hlist_node *pos___; \
180 hlist_for_each_entry_rcu((task), pos___, \
181 &(pid)->tasks[type], pids[type].node) {
187 #define while_each_pid_task(pid, type, task) \
188 if (type == PIDTYPE_PID) \
193 #define do_each_pid_thread(pid, type, task) \
194 do_each_pid_task(pid, type, task) { \
195 struct task_struct *tg___ = task; \
198 #define while_each_pid_thread(pid, type, task) \
199 } while_each_thread(tg___, task); \
201 } while_each_pid_task(pid, type, task)