/linux-4.4.14/include/linux/ |
D | pid_namespace.h | 24 struct pid_namespace { struct 33 struct pid_namespace *parent; argument 50 extern struct pid_namespace init_pid_ns; argument 55 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 62 extern struct pid_namespace *copy_pid_ns(unsigned long flags, 63 struct user_namespace *user_ns, struct pid_namespace *ns); 64 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns); 65 extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd); 66 extern void put_pid_ns(struct pid_namespace *ns); 71 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() [all …]
|
D | pid.h | 53 struct pid_namespace *ns; 98 struct pid_namespace; 99 extern struct pid_namespace init_pid_ns; 110 extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns); 117 extern struct pid *find_ge_pid(int nr, struct pid_namespace *); 118 int next_pidmap(struct pid_namespace *pid_ns, unsigned int last); 120 extern struct pid *alloc_pid(struct pid_namespace *ns); 122 extern void disable_pid_allocation(struct pid_namespace *ns); 134 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid() 136 struct pid_namespace *ns = NULL; in ns_of_pid() [all …]
|
D | proc_ns.h | 9 struct pid_namespace; 41 extern int pid_ns_prepare_proc(struct pid_namespace *ns); 42 extern void pid_ns_release_proc(struct pid_namespace *ns); 48 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) { return 0; } in pid_ns_prepare_proc() 49 static inline void pid_ns_release_proc(struct pid_namespace *ns) {} in pid_ns_release_proc()
|
D | tsacct_kern.h | 14 struct pid_namespace *pid_ns, 18 struct pid_namespace *pid_ns, in bacct_add_tsk()
|
D | nsproxy.h | 10 struct pid_namespace; 34 struct pid_namespace *pid_ns_for_children;
|
D | acct.h | 25 struct pid_namespace; 29 extern void acct_exit_ns(struct pid_namespace *);
|
D | sched.h | 1897 struct pid_namespace; 1913 struct pid_namespace *ns); 1921 struct pid_namespace *ns) in task_pid_nr_ns() 1937 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns); 1946 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns() 1964 struct pid_namespace *ns) in task_pgrp_nr_ns() 1976 struct pid_namespace *ns) in task_session_nr_ns() 2424 extern struct pid_namespace init_pid_ns; 2439 struct pid_namespace *ns);
|
D | cpuset.h | 76 extern int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns,
|
D | ptrace.h | 175 struct pid_namespace *ns; in ptrace_event_pid()
|
D | cgroup.h | 95 int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns,
|
D | perf_event.h | 565 struct pid_namespace *ns;
|
/linux-4.4.14/kernel/ |
D | pid_namespace.c | 75 struct pid_namespace *ns = container_of(work, struct pid_namespace, proc_work); in proc_cleanup_work() 82 static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns, in create_pid_namespace() 83 struct pid_namespace *parent_pid_ns) in create_pid_namespace() 85 struct pid_namespace *ns; in create_pid_namespace() 139 container_of(p, struct pid_namespace, rcu)); in delayed_free_pidns() 142 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace() 153 struct pid_namespace *copy_pid_ns(unsigned long flags, in copy_pid_ns() 154 struct user_namespace *user_ns, struct pid_namespace *old_ns) in copy_pid_ns() 165 struct pid_namespace *ns; in free_pid_ns() 167 ns = container_of(kref, struct pid_namespace, kref); in free_pid_ns() [all …]
|
D | pid.c | 55 static inline int mk_pid(struct pid_namespace *pid_ns, in mk_pid() 70 struct pid_namespace init_pid_ns = { 144 static void set_last_pid(struct pid_namespace *pid_ns, int base, int pid) in set_last_pid() 154 static int alloc_pidmap(struct pid_namespace *pid_ns) in alloc_pidmap() 216 int next_pidmap(struct pid_namespace *pid_ns, unsigned int last) in next_pidmap() 239 struct pid_namespace *ns; in put_pid() 268 struct pid_namespace *ns = upid->ns; in free_pid() 297 struct pid *alloc_pid(struct pid_namespace *ns) in alloc_pid() 302 struct pid_namespace *tmp; in alloc_pid() 359 void disable_pid_allocation(struct pid_namespace *ns) in disable_pid_allocation() [all …]
|
D | acct.c | 88 struct pid_namespace *ns; 141 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() 194 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() 294 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() 501 struct pid_namespace *ns = acct->ns; in do_acct_process() 570 static void slow_acct_process(struct pid_namespace *ns) in slow_acct_process() 589 struct pid_namespace *ns; in acct_process()
|
D | tsacct.c | 30 struct pid_namespace *pid_ns, in bacct_add_tsk()
|
D | reboot.c | 283 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4()
|
D | Makefile | 63 obj-$(CONFIG_PID_NS) += pid_namespace.o
|
D | taskstats.c | 170 struct pid_namespace *pid_ns, in fill_stats()
|
D | exit.c | 457 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper()
|
D | cgroup.c | 4125 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; 4277 struct pid_namespace *ns = task_active_pid_ns(current); in cgroup_pidlist_find() 5417 int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns, in proc_cgroup_show()
|
D | cpuset.c | 2700 int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns, in proc_cpuset_show()
|
/linux-4.4.14/fs/proc/ |
D | root.c | 35 struct pid_namespace *ns = (struct pid_namespace *)data; in proc_set_super() 51 static int proc_parse_options(char *options, struct pid_namespace *pid) in proc_parse_options() 94 struct pid_namespace *pid = sb->s_fs_info; in proc_remount() 105 struct pid_namespace *ns; in proc_mount() 109 ns = (struct pid_namespace *)data; in proc_mount() 153 struct pid_namespace *ns; in proc_kill_sb() 155 ns = (struct pid_namespace *)sb->s_fs_info; in proc_kill_sb() 264 int pid_ns_prepare_proc(struct pid_namespace *ns) in pid_ns_prepare_proc() 276 void pid_ns_release_proc(struct pid_namespace *ns) in pid_ns_release_proc()
|
D | internal.h | 57 struct pid_namespace *ns, struct pid *pid, 150 extern int proc_tid_stat(struct seq_file *, struct pid_namespace *, 152 extern int proc_tgid_stat(struct seq_file *, struct pid_namespace *, 154 extern int proc_pid_status(struct seq_file *, struct pid_namespace *, 156 extern int proc_pid_statm(struct seq_file *, struct pid_namespace *,
|
D | self.c | 12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_readlink() 23 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_follow_link() 48 struct pid_namespace *ns = s->s_fs_info; in proc_setup_self()
|
D | thread_self.c | 12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_readlink() 24 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_follow_link() 49 struct pid_namespace *ns = s->s_fs_info; in proc_setup_thread_self()
|
D | array.c | 142 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state() 354 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, in proc_pid_status() 375 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, in do_task_stat() 555 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tid_stat() 561 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tgid_stat() 567 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, in proc_pid_statm()
|
D | base.c | 403 static int proc_pid_auxv(struct seq_file *m, struct pid_namespace *ns, in proc_pid_auxv() 425 static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, in proc_pid_wchan() 464 static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns, in proc_pid_stack() 501 static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, in proc_pid_schedstat() 576 static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns, in proc_oom_score() 617 static int proc_pid_limits(struct seq_file *m, struct pid_namespace *ns, in proc_pid_limits() 659 static int proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns, in proc_pid_syscall() 728 static bool has_pid_permissions(struct pid_namespace *pid, in has_pid_permissions() 742 struct pid_namespace *pid = inode->i_sb->s_fs_info; in proc_pid_permission() 777 struct pid_namespace *ns; in proc_single_show() [all …]
|
D | inode.c | 105 struct pid_namespace *pid = sb->s_fs_info; in proc_show_options()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | hardwall.h | 26 int proc_pid_hardwall(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_st…
|
/linux-4.4.14/arch/tile/kernel/ |
D | hardwall.c | 945 int proc_pid_hardwall(struct seq_file *m, struct pid_namespace *ns, in proc_pid_hardwall()
|
/linux-4.4.14/net/ipv6/ |
D | ip6_flowlabel.c | 696 struct pid_namespace *pid_ns;
|