pid_ns           1176 drivers/staging/gasket/gasket_core.c 	struct pid_namespace *pid_ns = task_active_pid_ns(current);
pid_ns           1177 drivers/staging/gasket/gasket_core.c 	bool is_root = ns_capable(pid_ns->user_ns, CAP_SYS_ADMIN);
pid_ns           1255 drivers/staging/gasket/gasket_core.c 	struct pid_namespace *pid_ns = task_active_pid_ns(current);
pid_ns           1256 drivers/staging/gasket/gasket_core.c 	bool is_root = ns_capable(pid_ns->user_ns, CAP_SYS_ADMIN);
pid_ns            138 fs/fuse/dev.c  	req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns);
pid_ns            464 fs/fuse/dev.c  	req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns);
pid_ns           2343 fs/fuse/file.c 		fl->fl_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns);
pid_ns           2406 fs/fuse/file.c 	pid_t pid_nr = pid_nr_ns(pid, fc->pid_ns);
pid_ns            519 fs/fuse/fuse_i.h 	struct pid_namespace *pid_ns;
pid_ns            627 fs/fuse/inode.c 	fc->pid_ns = get_pid_ns(task_active_pid_ns(current));
pid_ns            640 fs/fuse/inode.c 		put_pid_ns(fc->pid_ns);
pid_ns             33 fs/proc/root.c 	struct pid_namespace	*pid_ns;
pid_ns             87 fs/proc/root.c 			       struct pid_namespace *pid_ns,
pid_ns             93 fs/proc/root.c 		pid_ns->pid_gid = make_kgid(user_ns, ctx->gid);
pid_ns             95 fs/proc/root.c 		pid_ns->hide_pid = ctx->hidepid;
pid_ns            100 fs/proc/root.c 	struct pid_namespace *pid_ns = get_pid_ns(s->s_fs_info);
pid_ns            104 fs/proc/root.c 	proc_apply_options(s, fc, pid_ns, current_user_ns());
pid_ns            160 fs/proc/root.c 	return get_tree_keyed(fc, proc_fill_super, ctx->pid_ns);
pid_ns            167 fs/proc/root.c 	put_pid_ns(ctx->pid_ns);
pid_ns            186 fs/proc/root.c 	ctx->pid_ns = get_pid_ns(task_active_pid_ns(current));
pid_ns            188 fs/proc/root.c 	fc->user_ns = get_user_ns(ctx->pid_ns->user_ns);
pid_ns            317 fs/proc/root.c 	if (ctx->pid_ns != ns) {
pid_ns            318 fs/proc/root.c 		put_pid_ns(ctx->pid_ns);
pid_ns            320 fs/proc/root.c 		ctx->pid_ns = ns;
pid_ns             64 include/linux/pid_namespace.h extern void zap_pid_ns_processes(struct pid_namespace *pid_ns);
pid_ns             65 include/linux/pid_namespace.h extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd);
pid_ns             93 include/linux/pid_namespace.h static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd)
pid_ns             15 include/linux/tsacct_kern.h 			  struct pid_namespace *pid_ns,
pid_ns             19 include/linux/tsacct_kern.h 				 struct pid_namespace *pid_ns,
pid_ns           1290 ipc/msg.c      	struct pid_namespace *pid_ns = ipc_seq_pid_ns(s);
pid_ns           1302 ipc/msg.c      		   pid_nr_ns(msq->q_lspid, pid_ns),
pid_ns           1303 ipc/msg.c      		   pid_nr_ns(msq->q_lrpid, pid_ns),
pid_ns           1741 ipc/shm.c      	struct pid_namespace *pid_ns = ipc_seq_pid_ns(s);
pid_ns           1764 ipc/shm.c      		   pid_nr_ns(shp->shm_cprid, pid_ns),
pid_ns           1765 ipc/shm.c      		   pid_nr_ns(shp->shm_lprid, pid_ns),
pid_ns            741 ipc/util.c     	struct pid_namespace *pid_ns;
pid_ns            748 ipc/util.c     	return iter->pid_ns;
pid_ns            873 ipc/util.c     	iter->pid_ns = get_pid_ns(task_active_pid_ns(current));
pid_ns            883 ipc/util.c     	put_pid_ns(iter->pid_ns);
pid_ns            506 kernel/exit.c  	struct pid_namespace *pid_ns = task_active_pid_ns(father);
pid_ns            507 kernel/exit.c  	struct task_struct *reaper = pid_ns->child_reaper;
pid_ns            515 kernel/exit.c  		pid_ns->child_reaper = reaper;
pid_ns            526 kernel/exit.c  	zap_pid_ns_processes(pid_ns);
pid_ns            181 kernel/pid_namespace.c void zap_pid_ns_processes(struct pid_namespace *pid_ns)
pid_ns            190 kernel/pid_namespace.c 	disable_pid_allocation(pid_ns);
pid_ns            217 kernel/pid_namespace.c 	idr_for_each_entry_continue(&pid_ns->idr, pid, nr) {
pid_ns            253 kernel/pid_namespace.c 		if (pid_ns->pid_allocated == init_pids)
pid_ns            259 kernel/pid_namespace.c 	if (pid_ns->reboot)
pid_ns            260 kernel/pid_namespace.c 		current->signal->group_exit_code = pid_ns->reboot;
pid_ns            262 kernel/pid_namespace.c 	acct_exit_ns(pid_ns);
pid_ns            270 kernel/pid_namespace.c 	struct pid_namespace *pid_ns = task_active_pid_ns(current);
pid_ns            274 kernel/pid_namespace.c 	if (write && !ns_capable(pid_ns->user_ns, CAP_SYS_ADMIN))
pid_ns            283 kernel/pid_namespace.c 	next = idr_get_cursor(&pid_ns->idr) - 1;
pid_ns            288 kernel/pid_namespace.c 		idr_set_cursor(&pid_ns->idr, next + 1);
pid_ns            308 kernel/pid_namespace.c int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd)
pid_ns            310 kernel/pid_namespace.c 	if (pid_ns == &init_pid_ns)
pid_ns            316 kernel/pid_namespace.c 		pid_ns->reboot = SIGHUP;
pid_ns            321 kernel/pid_namespace.c 		pid_ns->reboot = SIGINT;
pid_ns            328 kernel/pid_namespace.c 	send_sig(SIGKILL, pid_ns->child_reaper, 1);
pid_ns            417 kernel/pid_namespace.c 	struct pid_namespace *pid_ns, *p;
pid_ns            420 kernel/pid_namespace.c 	pid_ns = p = to_pid_ns(ns)->parent;
pid_ns            429 kernel/pid_namespace.c 	return &get_pid_ns(pid_ns)->ns;
pid_ns            313 kernel/reboot.c 	struct pid_namespace *pid_ns = task_active_pid_ns(current);
pid_ns            318 kernel/reboot.c 	if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT))
pid_ns            334 kernel/reboot.c 	ret = reboot_pid_ns(pid_ns, cmd);
pid_ns            160 kernel/taskstats.c 		       struct pid_namespace *pid_ns,
pid_ns            177 kernel/taskstats.c 	bacct_add_tsk(user_ns, pid_ns, stats, tsk);
pid_ns             21 kernel/tsacct.c 		   struct pid_namespace *pid_ns,
pid_ns             51 kernel/tsacct.c 	stats->ac_pid	 = task_pid_nr_ns(tsk, pid_ns);
pid_ns             57 kernel/tsacct.c 		task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0;
pid_ns            721 net/ipv6/ip6_flowlabel.c 	struct pid_namespace *pid_ns;
pid_ns            782 net/ipv6/ip6_flowlabel.c 	state->pid_ns = proc_pid_ns(file_inode(seq->file));
pid_ns            818 net/ipv6/ip6_flowlabel.c 			    pid_nr_ns(fl->owner.pid, state->pid_ns) :