Searched refs:pid_namespace (Results 1 – 15 of 15) sorted by relevance
/include/linux/ |
D | pid_namespace.h | 24 struct pid_namespace { struct 32 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 | 56 struct pid_namespace *ns; 102 struct pid_namespace; 103 extern struct pid_namespace init_pid_ns; 114 extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns); 121 extern struct pid *find_ge_pid(int nr, struct pid_namespace *); 123 extern struct pid *alloc_pid(struct pid_namespace *ns); 125 extern void disable_pid_allocation(struct pid_namespace *ns); 137 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid() 139 struct pid_namespace *ns = NULL; in ns_of_pid() 175 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
|
D | proc_ns.h | 10 struct pid_namespace; 50 extern int pid_ns_prepare_proc(struct pid_namespace *ns); 51 extern void pid_ns_release_proc(struct pid_namespace *ns); 57 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) { return 0; } in pid_ns_prepare_proc() 58 static inline void pid_ns_release_proc(struct pid_namespace *ns) {} in pid_ns_release_proc()
|
D | tsacct_kern.h | 15 struct pid_namespace *pid_ns, 19 struct pid_namespace *pid_ns, in bacct_add_tsk()
|
D | nsproxy.h | 11 struct pid_namespace; 36 struct pid_namespace *pid_ns_for_children;
|
D | acct.h | 23 struct pid_namespace; 27 extern void acct_exit_ns(struct pid_namespace *);
|
D | cpufreq_times.h | 26 int proc_time_in_state_show(struct seq_file *m, struct pid_namespace *ns,
|
D | proc_fs.h | 83 int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns, 153 static inline struct pid_namespace *proc_pid_ns(const struct inode *inode) in proc_pid_ns()
|
D | sched.h | 49 struct pid_namespace; 1316 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 1323 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns() 1354 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns() 1365 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns() 1375 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns() 1385 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns() 1678 extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
|
D | cpuset.h | 101 extern int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns,
|
D | fs_context.h | 23 struct pid_namespace;
|
D | ptrace.h | 187 struct pid_namespace *ns; in ptrace_event_pid()
|
D | cgroup.h | 120 int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns,
|
D | perf_event.h | 702 struct pid_namespace *ns;
|
/include/linux/sched/ |
D | debug.h | 10 struct pid_namespace; 40 struct pid_namespace *ns, struct seq_file *m);
|