/linux/include/linux/ |
A D | pid_namespace.h | 19 struct pid_namespace { struct 26 struct pid_namespace *parent; argument 36 extern struct pid_namespace init_pid_ns; argument 41 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 48 extern struct pid_namespace *copy_pid_ns(unsigned long flags, 49 struct user_namespace *user_ns, struct pid_namespace *ns); 50 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns); 52 extern void put_pid_ns(struct pid_namespace *ns); 57 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 63 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns() [all …]
|
A D | pid.h | 56 struct pid_namespace *ns; 112 struct pid_namespace; 113 extern struct pid_namespace init_pid_ns; 127 extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns); 134 extern struct pid *find_ge_pid(int nr, struct pid_namespace *); 136 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, 139 extern void disable_pid_allocation(struct pid_namespace *ns); 151 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid() 153 struct pid_namespace *ns = NULL; in ns_of_pid() 189 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
|
A D | tsacct_kern.h | 15 struct pid_namespace *pid_ns, 19 struct pid_namespace *pid_ns, in bacct_add_tsk()
|
A D | acct.h | 23 struct pid_namespace; 27 extern void acct_exit_ns(struct pid_namespace *);
|
A D | nsproxy.h | 11 struct pid_namespace; 36 struct pid_namespace *pid_ns_for_children;
|
A D | proc_fs.h | 62 struct pid_namespace *pid_ns; 148 int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns, 217 static inline struct pid_namespace *proc_pid_ns(struct super_block *sb) in proc_pid_ns()
|
A D | sched.h | 56 struct pid_namespace; 1520 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 1527 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns() 1558 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns() 1569 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns() 1579 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns() 1589 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns() 1903 extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
|
A D | seccomp.h | 128 int proc_pid_seccomp_cache(struct seq_file *m, struct pid_namespace *ns,
|
A D | proc_ns.h | 10 struct pid_namespace;
|
A D | resctrl.h | 12 struct pid_namespace *ns,
|
A D | cpuset.h | 117 extern int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns,
|
/linux/kernel/ |
A D | pid_namespace.c | 72 struct pid_namespace *parent_pid_ns) in create_pid_namespace() 74 struct pid_namespace *ns; in create_pid_namespace() 126 struct pid_namespace *ns = container_of(p, struct pid_namespace, rcu); in delayed_free_pidns() 142 struct pid_namespace *copy_pid_ns(unsigned long flags, in copy_pid_ns() 152 void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 154 struct pid_namespace *parent; in put_pid_ns() 166 void zap_pid_ns_processes(struct pid_namespace *pid_ns) in zap_pid_ns_processes() 331 return container_of(ns, struct pid_namespace, ns); in to_pid_ns() 336 struct pid_namespace *ns; in pidns_get() 349 struct pid_namespace *ns = NULL; in pidns_for_children_get() [all …]
|
A D | pid.c | 75 struct pid_namespace init_pid_ns = { 107 struct pid_namespace *ns; in put_pid() 135 struct pid_namespace *ns = upid->ns; in free_pid() 159 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, in alloc_pid() 165 struct pid_namespace *tmp; in alloc_pid() 302 void disable_pid_allocation(struct pid_namespace *ns) in disable_pid_allocation() 309 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) in find_pid_ns() 472 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 493 struct pid_namespace *ns) in __task_pid_nr_ns() 507 struct pid_namespace *task_active_pid_ns(struct task_struct *tsk) in task_active_pid_ns() [all …]
|
A D | acct.c | 90 struct pid_namespace *ns; 143 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() 196 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() 296 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() 502 struct pid_namespace *ns = acct->ns; in do_acct_process() 572 static void slow_acct_process(struct pid_namespace *ns) in slow_acct_process() 589 struct pid_namespace *ns; in acct_process()
|
A D | .pid_namespace.o.cmd | 1 …pid_namespace.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch6… 3 source_kernel/pid_namespace.o := kernel/pid_namespace.c 5 deps_kernel/pid_namespace.o := \ 442 include/linux/pid_namespace.h \ 1217 kernel/pid_namespace.o: $(deps_kernel/pid_namespace.o) 1219 $(deps_kernel/pid_namespace.o):
|
A D | .built-in.a.cmd | 1 …nel/cgroup/built-in.a kernel/utsname.o kernel/user_namespace.o kernel/pid_namespace.o kernel/confi…
|
A D | tsacct.c | 21 struct pid_namespace *pid_ns, in bacct_add_tsk()
|
/linux/fs/proc/ |
A D | internal.h | 88 struct pid_namespace *ns, struct pid *pid, 152 extern int proc_tid_stat(struct seq_file *, struct pid_namespace *, 154 extern int proc_tgid_stat(struct seq_file *, struct pid_namespace *, 156 extern int proc_pid_status(struct seq_file *, struct pid_namespace *, 158 extern int proc_pid_statm(struct seq_file *, struct pid_namespace *,
|
A D | array.c | 142 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state() 426 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, in proc_pid_status() 452 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, in do_task_stat() 643 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tid_stat() 649 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tgid_stat() 655 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, in proc_pid_statm()
|
A D | base.c | 386 static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, in proc_pid_wchan() 428 static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns, in proc_pid_stack() 550 static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns, in proc_oom_score() 769 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in proc_single_show() 1443 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in sched_show() 2418 struct pid_namespace *ns; 3374 struct pid_namespace *ns; in proc_pid_lookup() 3442 struct pid_namespace *ns = proc_pid_ns(file_inode(file)->i_sb); in proc_pid_readdir() 3674 struct pid_namespace *ns; in proc_task_lookup() 3718 struct pid_namespace *ns) in first_tid() [all …]
|
A D | self.c | 15 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in proc_self_get_link()
|
A D | thread_self.c | 15 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in proc_thread_self_get_link()
|
/linux/include/linux/sched/ |
A D | debug.h | 10 struct pid_namespace; 41 struct pid_namespace *ns, struct seq_file *m);
|
/linux/kernel/bpf/ |
A D | task_iter.c | 13 struct pid_namespace *ns; 24 static struct task_struct *task_seq_get_next(struct pid_namespace *ns, in task_seq_get_next() 140 struct pid_namespace *ns = info->common.ns; in task_file_seq_get_next() 310 struct pid_namespace *ns = info->common.ns; in task_vma_seq_get_next()
|
/linux/ipc/ |
A D | util.h | 55 struct pid_namespace; 119 struct pid_namespace *ipc_seq_pid_ns(struct seq_file *);
|