Lines Matching refs:pid_t
22 * Storing pid_t values in the kernel and referring to them later has a
130 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
175 static inline pid_t pid_nr(struct pid *pid)
177 pid_t nr = 0;
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)
235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
240 static inline pid_t task_pid_vnr(struct task_struct *tsk)
246 static inline pid_t task_tgid_nr(struct task_struct *tsk)
266 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
271 static inline pid_t task_pgrp_vnr(struct task_struct *tsk)
277 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
282 static inline pid_t task_session_vnr(struct task_struct *tsk)
287 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
292 static inline pid_t task_tgid_vnr(struct task_struct *tsk)
297 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns)
299 pid_t pid = 0;
309 static inline pid_t task_ppid_nr(const struct task_struct *tsk)
315 static inline pid_t task_pgrp_nr(struct task_struct *tsk)