Searched refs:pid_ns (Results 1 - 17 of 17) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dpid.c56 static inline int mk_pid(struct pid_namespace *pid_ns, argument
59 return (map - pid_ns->pidmap)*BITS_PER_PAGE + off;
140 * We might be racing with someone else trying to set pid_ns->last_pid.
147 * 'base' is the value of pid_ns->last_pid that we observed when
152 static void set_last_pid(struct pid_namespace *pid_ns, int base, int pid) argument
158 last_write = cmpxchg(&pid_ns->last_pid, prev, pid);
162 static int alloc_pidmap(struct pid_namespace *pid_ns) argument
164 int i, offset, max_scan, pid, last = pid_ns->last_pid;
171 map = &pid_ns->pidmap[pid/BITS_PER_PAGE];
199 set_last_pid(pid_ns, las
220 next_pidmap(struct pid_namespace *pid_ns, int last) argument
[all...]
H A Dnsproxy.c35 .pid_ns = &init_pid_ns,
84 new_nsp->pid_ns = copy_pid_ns(flags, task_active_pid_ns(tsk));
85 if (IS_ERR(new_nsp->pid_ns)) {
86 err = PTR_ERR(new_nsp->pid_ns);
99 if (new_nsp->pid_ns)
100 put_pid_ns(new_nsp->pid_ns);
172 if (ns->pid_ns)
173 put_pid_ns(ns->pid_ns);
H A Dpid_namespace.c140 void zap_pid_ns_processes(struct pid_namespace *pid_ns) argument
160 nr = next_pidmap(pid_ns, 1);
174 nr = next_pidmap(pid_ns, nr);
183 acct_exit_ns(pid_ns);
H A Dexit.c709 struct pid_namespace *pid_ns = task_active_pid_ns(father); local
716 if (unlikely(pid_ns->child_reaper == father))
717 pid_ns->child_reaper = thread;
721 if (unlikely(pid_ns->child_reaper == father)) {
723 if (unlikely(pid_ns == &init_pid_ns))
726 zap_pid_ns_processes(pid_ns);
733 pid_ns->child_reaper = init_pid_ns.child_reaper;
736 return pid_ns->child_reaper;
H A Dfork.c1155 pid = alloc_pid(p->nsproxy->pid_ns);
1160 retval = pid_ns_prepare_proc(p->nsproxy->pid_ns);
1268 p->nsproxy->pid_ns->child_reaper = p;
H A Dsignal.c1482 info.si_pid = task_pid_nr_ns(tsk, tsk->parent->nsproxy->pid_ns);
1553 info.si_pid = task_pid_nr_ns(tsk, parent->nsproxy->pid_ns);
H A Dsysctl_binary.c1353 mnt = current->nsproxy->pid_ns->proc_mnt;
H A Dcgroup.c2679 struct pid_namespace *ns = current->nsproxy->pid_ns;
H A Dperf_event.c4871 event->ns = get_pid_ns(current->nsproxy->pid_ns);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dnsproxy.h30 struct pid_namespace *pid_ns; member in struct:nsproxy
H A Dpid_namespace.h47 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns);
H A Dpid.h120 int next_pidmap(struct pid_namespace *pid_ns, int last);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/
H A Dlocks.c14 u64 pid, u64 pid_ns,
38 cpu_to_le64((u64)pid_ns);
13 ceph_lock_message(u8 lock_type, u16 operation, struct file *file, u64 pid, u64 pid_ns, int cmd, u64 start, u64 length, u8 wait) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/proc/
H A Droot.c60 ns = current->nsproxy->pid_ns;
H A Dproc_misc.c95 nr_running(), nr_threads, current->nsproxy->pid_ns->last_pid);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hppfs/
H A Dhppfs.c720 proc_mnt = mntget(current->nsproxy->pid_ns->proc_mnt);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/cell/spufs/
H A Dsched.c1087 current->nsproxy->pid_ns->last_pid);

Completed in 135 milliseconds