Lines Matching refs:pid_namespace
52 struct pid_namespace *ns;
121 extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns);
128 extern struct pid *find_ge_pid(int nr, struct pid_namespace *);
130 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
133 extern void disable_pid_allocation(struct pid_namespace *ns);
145 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid()
147 struct pid_namespace *ns = NULL; in ns_of_pid()
183 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
266 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
277 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
287 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
297 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()