Lines Matching refs:pid_t

129 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
175 static inline pid_t pid_nr(struct pid *pid) in pid_nr()
177 pid_t nr = 0; in pid_nr()
183 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
184 pid_t pid_vnr(struct pid *pid);
228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
230 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
240 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
246 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
266 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
271 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
277 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
282 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
287 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
292 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
297 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
299 pid_t pid = 0; in task_ppid_nr_ns()
309 static inline pid_t task_ppid_nr(const struct task_struct *tsk) in task_ppid_nr()
315 static inline pid_t task_pgrp_nr(struct task_struct *tsk) in task_pgrp_nr()