/linux-2.6.39/include/linux/ |
D | pid_namespace.h | 19 struct pid_namespace { struct 26 struct pid_namespace *parent; argument 35 extern struct pid_namespace init_pid_ns; argument 38 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 45 extern struct pid_namespace *copy_pid_ns(unsigned long flags, struct pid_namespace *ns); 47 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns); 49 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 58 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 63 static inline struct pid_namespace * 64 copy_pid_ns(unsigned long flags, struct pid_namespace *ns) in copy_pid_ns() [all …]
|
D | pid.h | 53 struct pid_namespace *ns; 100 struct pid_namespace; 101 extern struct pid_namespace init_pid_ns; 112 extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns); 119 extern struct pid *find_ge_pid(int nr, struct pid_namespace *); 120 int next_pidmap(struct pid_namespace *pid_ns, unsigned int last); 122 extern struct pid *alloc_pid(struct pid_namespace *ns); 135 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid() 137 struct pid_namespace *ns = NULL; in ns_of_pid() 173 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
|
D | proc_fs.h | 117 struct pid_namespace; 119 extern int pid_ns_prepare_proc(struct pid_namespace *ns); 120 extern void pid_ns_release_proc(struct pid_namespace *ns); 222 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) in pid_ns_prepare_proc() 227 static inline void pid_ns_release_proc(struct pid_namespace *ns) in pid_ns_release_proc() 259 struct pid_namespace *ns, struct pid *pid,
|
D | nsproxy.h | 10 struct pid_namespace; 30 struct pid_namespace *pid_ns;
|
D | acct.h | 123 struct pid_namespace; 129 extern void acct_exit_ns(struct pid_namespace *);
|
D | sched.h | 1604 struct pid_namespace; 1620 struct pid_namespace *ns); 1628 struct pid_namespace *ns) in task_pid_nr_ns() 1644 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns); 1653 struct pid_namespace *ns) in task_pgrp_nr_ns() 1665 struct pid_namespace *ns) in task_session_nr_ns() 2031 extern struct pid_namespace init_pid_ns; 2046 struct pid_namespace *ns);
|
D | cgroup.h | 180 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key;
|
D | perf_event.h | 852 struct pid_namespace *ns;
|
/linux-2.6.39/kernel/ |
D | pid_namespace.c | 72 static struct pid_namespace *create_pid_namespace(struct pid_namespace *parent_pid_ns) in create_pid_namespace() 74 struct pid_namespace *ns; in create_pid_namespace() 116 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace() 125 struct pid_namespace *copy_pid_ns(unsigned long flags, struct pid_namespace *old_ns) in copy_pid_ns() 136 struct pid_namespace *ns, *parent; in free_pid_ns() 138 ns = container_of(kref, struct pid_namespace, kref); in free_pid_ns() 147 void zap_pid_ns_processes(struct pid_namespace *pid_ns) in zap_pid_ns_processes() 196 pid_ns_cachep = KMEM_CACHE(pid_namespace, SLAB_PANIC); in pid_namespaces_init()
|
D | pid.c | 56 static inline int mk_pid(struct pid_namespace *pid_ns, in mk_pid() 71 struct pid_namespace init_pid_ns = { 152 static void set_last_pid(struct pid_namespace *pid_ns, int base, int pid) in set_last_pid() 162 static int alloc_pidmap(struct pid_namespace *pid_ns) in alloc_pidmap() 220 int next_pidmap(struct pid_namespace *pid_ns, unsigned int last) in next_pidmap() 243 struct pid_namespace *ns; in put_pid() 280 struct pid *alloc_pid(struct pid_namespace *ns) in alloc_pid() 285 struct pid_namespace *tmp; in alloc_pid() 328 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) in find_pid_ns() 420 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() [all …]
|
D | acct.c | 79 struct pid_namespace *ns, struct file *); 90 struct pid_namespace *ns; 180 struct pid_namespace *ns) in acct_file_reopen() 183 struct pid_namespace *old_ns = NULL; in acct_file_reopen() 219 struct pid_namespace *ns; in acct_on() 344 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() 475 struct pid_namespace *ns, struct file *file) in do_acct_process() 623 static void acct_process_in_ns(struct pid_namespace *ns) in acct_process_in_ns() 656 struct pid_namespace *ns; in acct_process()
|
D | Makefile | 68 obj-$(CONFIG_PID_NS) += pid_namespace.o
|
D | exit.c | 717 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_new_reaper()
|
D | cgroup.c | 2742 struct pid_namespace *ns = current->nsproxy->pid_ns; in cgroup_pidlist_find()
|
/linux-2.6.39/fs/proc/ |
D | root.c | 31 struct pid_namespace *ns; in proc_set_super() 33 ns = (struct pid_namespace *)data; in proc_set_super() 43 struct pid_namespace *ns; in proc_mount() 47 ns = (struct pid_namespace *)data; in proc_mount() 78 struct pid_namespace *ns; in proc_kill_sb() 80 ns = (struct pid_namespace *)sb->s_fs_info; in proc_kill_sb() 197 int pid_ns_prepare_proc(struct pid_namespace *ns) in pid_ns_prepare_proc() 209 void pid_ns_release_proc(struct pid_namespace *ns) in pid_ns_release_proc()
|
D | internal.h | 46 extern int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, 48 extern int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, 50 extern int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, 52 extern int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns,
|
D | array.c | 161 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state() 340 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, in proc_pid_status() 360 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, in do_task_stat() 520 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tid_stat() 526 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tgid_stat() 532 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, in proc_pid_statm()
|
D | base.c | 371 static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns, in proc_pid_stack() 785 struct pid_namespace *ns; in proc_single_show() 2626 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_readlink() 2637 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_follow_link() 2802 static int proc_pid_personality(struct seq_file *m, struct pid_namespace *ns, in proc_pid_personality() 3045 struct pid_namespace *ns; in proc_pid_lookup() 3078 static struct tgid_iter next_tgid(struct pid_namespace *ns, struct tgid_iter iter) in next_tgid() 3130 struct pid_namespace *ns; in proc_pid_readdir() 3294 struct pid_namespace *ns; in proc_task_lookup() 3336 int tid, int nr, struct pid_namespace *ns) in first_tid() [all …]
|
/linux-2.6.39/fs/ceph/ |
D | locks.c | 45 req->r_args.filelock_change.pid_namespace = in ceph_lock_message() 260 cephlock->pid_namespace = in lock_to_ceph_filelock()
|
/linux-2.6.39/include/linux/ceph/ |
D | ceph_fs.h | 398 __le64 pid_namespace; member 509 __le64 pid_namespace; member
|