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 D | pid.c | 56 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 D | nsproxy.c | 35 .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 D | pid_namespace.c | 140 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 D | exit.c | 709 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 D | fork.c | 1155 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 D | signal.c | 1482 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 D | sysctl_binary.c | 1353 mnt = current->nsproxy->pid_ns->proc_mnt;
|
H A D | cgroup.c | 2679 struct pid_namespace *ns = current->nsproxy->pid_ns;
|
H A D | perf_event.c | 4871 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 D | nsproxy.h | 30 struct pid_namespace *pid_ns; member in struct:nsproxy
|
H A D | pid_namespace.h | 47 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns);
|
H A D | pid.h | 120 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 D | locks.c | 14 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 D | root.c | 60 ns = current->nsproxy->pid_ns;
|
H A D | proc_misc.c | 95 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 D | hppfs.c | 720 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 D | sched.c | 1087 current->nsproxy->pid_ns->last_pid);
|
Completed in 135 milliseconds