Searched refs:pid_namespace (Results 1 - 25 of 83) sorted by relevance

1234

/linux-master/include/linux/
H A Dpid_types.h13 struct pid_namespace;
14 extern struct pid_namespace init_pid_ns;
H A Dpid_namespace.h26 struct pid_namespace { struct
33 struct pid_namespace *parent;
46 extern struct pid_namespace init_pid_ns;
51 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns)
59 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns)
69 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns)
75 extern struct pid_namespace *copy_pid_ns(unsigned long flags,
76 struct user_namespace *user_ns, struct pid_namespace *ns);
77 extern void zap_pid_ns_processes(struct pid_namespace *pid_n
[all...]
H A Dtsacct_kern.h15 struct pid_namespace *pid_ns,
19 struct pid_namespace *pid_ns,
H A Dpid.h45 * find_pid_ns() using the int nr and struct pid_namespace *ns.
52 struct pid_namespace *ns;
121 extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns);
128 extern struct pid *find_ge_pid(int nr, struct pid_namespace *);
130 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
133 extern void disable_pid_allocation(struct pid_namespace *ns);
145 static inline struct pid_namespace *ns_of_pid(struct pid *pid)
147 struct pid_namespace *ns = NULL;
183 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *n
[all...]
H A Dacct.h23 struct pid_namespace;
26 extern void acct_exit_ns(struct pid_namespace *);
H A Dnsproxy.h12 struct pid_namespace;
37 struct pid_namespace *pid_ns_for_children;
H A Dseccomp.h109 struct pid_namespace;
112 int proc_pid_seccomp_cache(struct seq_file *m, struct pid_namespace *ns,
H A Dinit_task.h11 #include <linux/pid_namespace.h>
H A Dproc_ns.h10 struct pid_namespace;
H A Dproc_fs.h62 struct pid_namespace *pid_ns;
158 int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns,
240 static inline struct pid_namespace *proc_pid_ns(struct super_block *sb)
H A Dresctrl.h18 struct pid_namespace *ns,
H A Dptrace.h10 #include <linux/pid_namespace.h> /* For task_active_pid_ns. */
179 struct pid_namespace *ns;
/linux-master/include/linux/sched/
H A Ddebug.h10 struct pid_namespace;
41 struct pid_namespace *ns, struct seq_file *m);
/linux-master/kernel/
H A Dpid_namespace.c13 #include <linux/pid_namespace.h>
73 static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns,
74 struct pid_namespace *parent_pid_ns)
76 struct pid_namespace *ns;
130 struct pid_namespace *ns = container_of(p, struct pid_namespace, rcu);
138 static void destroy_pid_namespace(struct pid_namespace *ns)
146 struct pid_namespace *copy_pid_ns(unsigned long flags,
147 struct user_namespace *user_ns, struct pid_namespace *old_ns)
156 void put_pid_ns(struct pid_namespace *n
[all...]
H A Dpid_sysctl.h5 #include <linux/pid_namespace.h>
11 struct pid_namespace *ns = task_active_pid_ns(current);
H A Dpid.c36 #include <linux/pid_namespace.h>
79 struct pid_namespace init_pid_ns = {
114 struct pid_namespace *ns;
142 struct pid_namespace *ns = upid->ns;
166 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
172 struct pid_namespace *tmp;
311 void disable_pid_allocation(struct pid_namespace *ns)
318 struct pid *find_pid_ns(int nr, struct pid_namespace *ns)
426 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns)
485 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *n
[all...]
H A Dacct.c63 #include <linux/pid_namespace.h>
110 struct pid_namespace *ns;
163 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns)
216 struct pid_namespace *ns = task_active_pid_ns(current);
316 void acct_exit_ns(struct pid_namespace *ns)
524 struct pid_namespace *ns = acct->ns;
593 static void slow_acct_process(struct pid_namespace *ns)
610 struct pid_namespace *ns;
/linux-master/fs/proc/
H A Dself.c5 #include <linux/pid_namespace.h>
15 struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
H A Dloadavg.c4 #include <linux/pid_namespace.h>
H A Dthread_self.c5 #include <linux/pid_namespace.h>
15 struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
H A Dinternal.h93 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 *,
/linux-master/include/rdma/
H A Drdma_counter.h10 #include <linux/pid_namespace.h>
/linux-master/ipc/
H A Dutil.h56 struct pid_namespace;
118 struct pid_namespace *ipc_seq_pid_ns(struct seq_file *);
/linux-master/fs/
H A Dpidfs.c9 #include <linux/pid_namespace.h>
58 struct pid_namespace *ns;
/linux-master/mm/
H A Dmemfd.c21 #include <linux/pid_namespace.h>
263 struct pid_namespace *ns = task_active_pid_ns(current);

Completed in 205 milliseconds

1234