| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | pid_namespace.h | 20 struct pid_namespace { struct 28 struct pid_namespace *parent; argument 38 extern struct pid_namespace init_pid_ns; argument 43 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 50 extern struct pid_namespace *copy_pid_ns(unsigned long flags, 51 struct user_namespace *user_ns, struct pid_namespace *ns); 52 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns); 53 extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd); 54 extern void put_pid_ns(struct pid_namespace *ns); 59 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() [all …]
|
| H A D | pid.h | 56 struct pid_namespace *ns; 110 struct pid_namespace; 111 extern struct pid_namespace init_pid_ns; 125 extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns); 132 extern struct pid *find_ge_pid(int nr, struct pid_namespace *); 134 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, 137 extern void disable_pid_allocation(struct pid_namespace *ns); 149 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid() 151 struct pid_namespace *ns = NULL; in ns_of_pid() 187 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
|
| H A D | tsacct_kern.h | 15 struct pid_namespace *pid_ns, 19 struct pid_namespace *pid_ns, in bacct_add_tsk()
|
| H A D | nsproxy.h | 11 struct pid_namespace; 36 struct pid_namespace *pid_ns_for_children;
|
| H A D | acct.h | 23 struct pid_namespace; 27 extern void acct_exit_ns(struct pid_namespace *);
|
| H A D | proc_fs.h | 61 struct pid_namespace *pid_ns; 147 int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns, 216 static inline struct pid_namespace *proc_pid_ns(struct super_block *sb) in proc_pid_ns()
|
| H A D | sched.h | 54 struct pid_namespace; 1423 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 1430 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns() 1461 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns() 1472 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns() 1482 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns() 1492 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns() 1798 extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
|
| H A D | resctrl.h | 10 struct pid_namespace *ns,
|
| H A D | cpufreq_times.h | 26 int proc_time_in_state_show(struct seq_file *m, struct pid_namespace *ns,
|
| H A D | proc_ns.h | 10 struct pid_namespace;
|
| H A D | cpuset.h | 101 extern int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns,
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | pid_namespace.c | 71 static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns, in create_pid_namespace() 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() 134 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace() 142 struct pid_namespace *copy_pid_ns(unsigned long flags, in copy_pid_ns() 143 struct user_namespace *user_ns, struct pid_namespace *old_ns) in copy_pid_ns() 154 struct pid_namespace *ns; in free_pid_ns() 156 ns = container_of(kref, struct pid_namespace, kref); in free_pid_ns() 160 void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() [all …]
|
| H 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() 413 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() 473 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 494 struct pid_namespace *ns) in __task_pid_nr_ns() [all …]
|
| H A D | acct.c | 91 struct pid_namespace *ns; 144 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() 197 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() 297 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() 506 struct pid_namespace *ns = acct->ns; in do_acct_process() 576 static void slow_acct_process(struct pid_namespace *ns) in slow_acct_process() 593 struct pid_namespace *ns; in acct_process()
|
| H A D | tsacct.c | 21 struct pid_namespace *pid_ns, in bacct_add_tsk()
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H 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 *,
|
| H A D | array.c | 151 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state() 407 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, in proc_pid_status() 433 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, in do_task_stat() 626 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tid_stat() 632 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tgid_stat() 638 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, in proc_pid_statm()
|
| H 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() 476 static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, in proc_pid_schedstat() 550 static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns, in proc_oom_score() 596 static int proc_pid_limits(struct seq_file *m, struct pid_namespace *ns, in proc_pid_limits() 640 static int proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns, in proc_pid_syscall() 767 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in proc_single_show() 1441 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in sched_show() 2412 struct pid_namespace *ns; 2987 static int proc_tid_io_accounting(struct seq_file *m, struct pid_namespace *ns, in proc_tid_io_accounting() [all …]
|
| H A D | self.c | 15 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in proc_self_get_link()
|
| H A D | thread_self.c | 15 struct pid_namespace *ns = proc_pid_ns(inode->i_sb); in proc_thread_self_get_link()
|
| /OK3568_Linux_fs/kernel/include/linux/sched/ |
| H A D | debug.h | 10 struct pid_namespace; 41 struct pid_namespace *ns, struct seq_file *m);
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H 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() 141 struct pid_namespace *ns = info->common.ns; in task_file_seq_get_next()
|
| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | util.h | 55 struct pid_namespace; 119 struct pid_namespace *ipc_seq_pid_ns(struct seq_file *);
|
| H A D | util.c | 741 struct pid_namespace *pid_ns; 745 struct pid_namespace *ipc_seq_pid_ns(struct seq_file *s) in ipc_seq_pid_ns()
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | cpufreq_times.c | 104 int proc_time_in_state_show(struct seq_file *m, struct pid_namespace *ns, in proc_time_in_state_show()
|