Lines Matching refs:pid_ns
170 void zap_pid_ns_processes(struct pid_namespace *pid_ns)
179 disable_pid_allocation(pid_ns);
206 idr_for_each_entry_continue(&pid_ns->idr, pid, nr) {
231 * to pid_ns->child_reaper. Thus pidns->child_reaper needs to
234 * The code relies on the pid_ns->child_reaper ignoring
249 if (pid_ns->pid_allocated == init_pids)
272 if (pid_ns->reboot)
273 current->signal->group_exit_code = pid_ns->reboot;
275 acct_exit_ns(pid_ns);
283 struct pid_namespace *pid_ns = task_active_pid_ns(current);
287 if (write && !checkpoint_restore_ns_capable(pid_ns->user_ns))
290 next = idr_get_cursor(&pid_ns->idr) - 1;
295 idr_set_cursor(&pid_ns->idr, next + 1);
314 int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd)
316 if (pid_ns == &init_pid_ns)
322 pid_ns->reboot = SIGHUP;
327 pid_ns->reboot = SIGINT;
334 send_sig(SIGKILL, pid_ns->child_reaper, 1);
424 struct pid_namespace *pid_ns, *p;
427 pid_ns = p = to_pid_ns(ns)->parent;
436 return &get_pid_ns(pid_ns)->ns;