Lines Matching refs:pid_namespace
55 static inline int mk_pid(struct pid_namespace *pid_ns, in mk_pid()
70 struct pid_namespace init_pid_ns = {
144 static void set_last_pid(struct pid_namespace *pid_ns, int base, int pid) in set_last_pid()
154 static int alloc_pidmap(struct pid_namespace *pid_ns) in alloc_pidmap()
216 int next_pidmap(struct pid_namespace *pid_ns, unsigned int last) in next_pidmap()
239 struct pid_namespace *ns; in put_pid()
268 struct pid_namespace *ns = upid->ns; in free_pid()
297 struct pid *alloc_pid(struct pid_namespace *ns) in alloc_pid()
302 struct pid_namespace *tmp; in alloc_pid()
359 void disable_pid_allocation(struct pid_namespace *ns) in disable_pid_allocation()
366 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) in find_pid_ns()
452 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns()
500 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns()
521 struct pid_namespace *ns) in __task_pid_nr_ns()
539 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
545 struct pid_namespace *task_active_pid_ns(struct task_struct *tsk) in task_active_pid_ns()
556 struct pid *find_ge_pid(int nr, struct pid_namespace *ns) in find_ge_pid()