Symbol: pid_namespace
arch/x86/kernel/fpu/xstate.c
1914
int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns,
fs/fuse/fuse_i.h
445
struct pid_namespace *pid_ns;
fs/gfs2/glock.c
2659
struct pid_namespace *ns = task_active_pid_ns(current);
fs/locks.c
2374
static pid_t locks_translate_pid(struct file_lock_core *fl, struct pid_namespace *ns)
fs/locks.c
2926
struct pid_namespace *proc_pidns = proc_pid_ns(file_inode(f->file)->i_sb);
fs/locks.c
3020
struct pid_namespace *proc_pidns = proc_pid_ns(file_inode(f->file)->i_sb);
fs/nsfs.c
217
struct pid_namespace *pid_ns;
fs/nsfs.c
259
pid_ns = container_of(ns, struct pid_namespace, ns);
fs/pidfs.c
275
struct pid_namespace *ns;
fs/pidfs.c
331
const struct pid_namespace *ns = task_active_pid_ns(current);
fs/pidfs.c
644
struct pid_namespace *pid_ns;
fs/proc/array.c
149
static inline void task_state(struct seq_file *m, struct pid_namespace *ns,
fs/proc/array.c
438
int proc_pid_status(struct seq_file *m, struct pid_namespace *ns,
fs/proc/array.c
466
static int do_task_stat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/array.c
671
int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/array.c
677
int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/array.c
683
int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
1485
struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
fs/proc/base.c
2478
struct pid_namespace *ns;
fs/proc/base.c
3053
static int proc_tid_io_accounting(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3059
static int proc_tgid_io_accounting(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3198
static int proc_pid_personality(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3210
static int proc_pid_patch_state(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3219
static int proc_pid_ksm_merging_pages(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3232
static int proc_pid_ksm_stat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3262
static int proc_stack_depth(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3479
struct pid_namespace *ns;
fs/proc/base.c
3516
struct pid_namespace *const pid_ns;
fs/proc/base.c
3520
make_tgid_iter(unsigned int init_tgid, struct pid_namespace *pid_ns)
fs/proc/base.c
3560
struct pid_namespace *pid_ns = proc_pid_ns(file_inode(file)->i_sb);
fs/proc/base.c
3791
struct pid_namespace *ns;
fs/proc/base.c
3835
struct pid_namespace *ns)
fs/proc/base.c
3901
struct pid_namespace *ns;
fs/proc/base.c
413
static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
461
static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
509
static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
583
static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
629
static int proc_pid_limits(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
673
static int proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
784
struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
fs/proc/internal.h
115
struct pid_namespace *ns, struct pid *pid,
fs/proc/internal.h
248
extern int proc_tid_stat(struct seq_file *, struct pid_namespace *,
fs/proc/internal.h
250
extern int proc_tgid_stat(struct seq_file *, struct pid_namespace *,
fs/proc/internal.h
252
extern int proc_pid_status(struct seq_file *, struct pid_namespace *,
fs/proc/internal.h
254
extern int proc_pid_statm(struct seq_file *, struct pid_namespace *,
fs/proc/root.c
120
struct pid_namespace *target, *active = task_active_pid_ns(current);
fs/proc/root.c
148
target = container_of(ns, struct pid_namespace, ns);
fs/proc/root.c
30
struct pid_namespace *pid_ns;
fs/proc/self.c
15
struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
fs/proc/thread_self.c
15
struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
fs/resctrl/rdtgroup.c
923
int proc_resctrl_show(struct seq_file *s, struct pid_namespace *ns,
include/linux/acct.h
23
struct pid_namespace;
include/linux/acct.h
26
extern void acct_exit_ns(struct pid_namespace *);
include/linux/cgroup.h
142
int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns,
include/linux/cpuset.h
119
extern int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns,
include/linux/fs_context.h
23
struct pid_namespace;
include/linux/ns/ns_common_types.h
135
struct pid_namespace *: &(__ns)->ns, \
include/linux/ns/ns_common_types.h
136
const struct pid_namespace *: &(__ns)->ns, \
include/linux/ns/ns_common_types.h
150
struct pid_namespace *: PID_NS_INIT_INO, \
include/linux/ns/ns_common_types.h
161
struct pid_namespace *: &init_pid_ns, \
include/linux/ns/ns_common_types.h
17
struct pid_namespace;
include/linux/ns/ns_common_types.h
172
struct pid_namespace *: PID_NS_INIT_ID, \
include/linux/ns/ns_common_types.h
183
struct pid_namespace *: (IS_ENABLED(CONFIG_PID_NS) ? &pidns_operations : NULL), \
include/linux/ns/ns_common_types.h
203
X(pid_namespace, CLONE_NEWPID) \
include/linux/ns/ns_common_types.h
27
extern struct pid_namespace init_pid_ns;
include/linux/nsfs.h
32
struct pid_namespace *: task_active_pid_ns(current), \
include/linux/nsproxy.h
12
struct pid_namespace;
include/linux/nsproxy.h
37
struct pid_namespace *pid_ns_for_children;
include/linux/nstree.h
38
struct pid_namespace *: &(pid_ns_tree), \
include/linux/perf_event.h
898
struct pid_namespace *ns;
include/linux/pid.h
124
extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns);
include/linux/pid.h
131
extern struct pid *find_ge_pid(int nr, struct pid_namespace *);
include/linux/pid.h
133
extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
include/linux/pid.h
137
extern void disable_pid_allocation(struct pid_namespace *ns);
include/linux/pid.h
149
static inline struct pid_namespace *ns_of_pid(struct pid *pid)
include/linux/pid.h
151
struct pid_namespace *ns = NULL;
include/linux/pid.h
187
pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
include/linux/pid.h
232
pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
include/linux/pid.h
239
static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
include/linux/pid.h
270
static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
include/linux/pid.h
281
static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
include/linux/pid.h
291
static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
include/linux/pid.h
301
static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns)
include/linux/pid.h
55
struct pid_namespace *ns;
include/linux/pid_namespace.h
102
static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns)
include/linux/pid_namespace.h
107
static inline struct pid_namespace *copy_pid_ns(u64 flags,
include/linux/pid_namespace.h
108
struct user_namespace *user_ns, struct pid_namespace *ns)
include/linux/pid_namespace.h
115
static inline void put_pid_ns(struct pid_namespace *ns)
include/linux/pid_namespace.h
119
static inline void zap_pid_ns_processes(struct pid_namespace *ns)
include/linux/pid_namespace.h
124
static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd)
include/linux/pid_namespace.h
129
static inline bool pidns_is_ancestor(struct pid_namespace *child,
include/linux/pid_namespace.h
130
struct pid_namespace *ancestor)
include/linux/pid_namespace.h
136
extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk);
include/linux/pid_namespace.h
139
int register_pidns_sysctls(struct pid_namespace *pidns);
include/linux/pid_namespace.h
140
void unregister_pidns_sysctls(struct pid_namespace *pidns);
include/linux/pid_namespace.h
41
struct pid_namespace *parent;
include/linux/pid_namespace.h
52
extern struct pid_namespace init_pid_ns;
include/linux/pid_namespace.h
57
static inline struct pid_namespace *to_pid_ns(struct ns_common *ns)
include/linux/pid_namespace.h
59
return container_of(ns, struct pid_namespace, ns);
include/linux/pid_namespace.h
62
static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns)
include/linux/pid_namespace.h
69
static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns)
include/linux/pid_namespace.h
79
static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns)
include/linux/pid_namespace.h
85
extern struct pid_namespace *copy_pid_ns(u64 flags,
include/linux/pid_namespace.h
86
struct user_namespace *user_ns, struct pid_namespace *ns);
include/linux/pid_namespace.h
87
extern void zap_pid_ns_processes(struct pid_namespace *pid_ns);
include/linux/pid_namespace.h
88
extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd);
include/linux/pid_namespace.h
89
extern void put_pid_ns(struct pid_namespace *ns);
include/linux/pid_namespace.h
91
extern bool pidns_is_ancestor(struct pid_namespace *child,
include/linux/pid_namespace.h
92
struct pid_namespace *ancestor);
include/linux/pid_namespace.h
97
static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns)
include/linux/pid_types.h
13
struct pid_namespace;
include/linux/pid_types.h
14
extern struct pid_namespace init_pid_ns;
include/linux/proc_fs.h
163
int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns,
include/linux/proc_fs.h
245
static inline struct pid_namespace *proc_pid_ns(struct super_block *sb)
include/linux/proc_fs.h
68
struct pid_namespace *pid_ns;
include/linux/proc_ns.h
11
struct pid_namespace;
include/linux/ptrace.h
180
struct pid_namespace *ns;
include/linux/resctrl.h
24
struct pid_namespace *ns,
include/linux/sched.h
2005
extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
include/linux/sched.h
75
struct pid_namespace;
include/linux/sched/debug.h
10
struct pid_namespace;
include/linux/sched/debug.h
40
struct pid_namespace *ns, struct seq_file *m);
include/linux/seccomp.h
110
struct pid_namespace;
include/linux/seccomp.h
113
int proc_pid_seccomp_cache(struct seq_file *m, struct pid_namespace *ns,
include/linux/tsacct_kern.h
15
struct pid_namespace *pid_ns,
include/linux/tsacct_kern.h
19
struct pid_namespace *pid_ns,
ipc/msg.c
1343
struct pid_namespace *pid_ns = ipc_seq_pid_ns(s);
ipc/shm.c
1844
struct pid_namespace *pid_ns = ipc_seq_pid_ns(s);
ipc/util.c
772
struct pid_namespace *pid_ns;
ipc/util.c
776
struct pid_namespace *ipc_seq_pid_ns(struct seq_file *s)
ipc/util.h
118
struct pid_namespace *ipc_seq_pid_ns(struct seq_file *);
ipc/util.h
56
struct pid_namespace;
kernel/acct.c
105
struct pid_namespace *ns;
kernel/acct.c
159
static struct bsd_acct_struct *acct_get(struct pid_namespace *ns)
kernel/acct.c
220
struct pid_namespace *ns = task_active_pid_ns(current);
kernel/acct.c
312
void acct_exit_ns(struct pid_namespace *ns)
kernel/acct.c
508
struct pid_namespace *ns = acct->ns;
kernel/acct.c
597
static void slow_acct_process(struct pid_namespace *ns)
kernel/acct.c
614
struct pid_namespace *ns;
kernel/bpf/helpers.c
594
struct pid_namespace *pidns;
kernel/bpf/task_iter.c
23
struct pid_namespace *ns;
kernel/cgroup/cgroup-v1.c
189
struct { enum cgroup_filetype type; struct pid_namespace *ns; } key;
kernel/cgroup/cgroup-v1.c
292
struct pid_namespace *ns = task_active_pid_ns(current);
kernel/cgroup/cgroup.c
6621
int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns,
kernel/cgroup/cpuset-v1.c
415
int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns,
kernel/exit.c
636
struct pid_namespace *pid_ns = task_active_pid_ns(father);
kernel/fork.c
2501
struct pid_namespace *ns = ns_of_pid(pid);
kernel/nsproxy.c
403
struct pid_namespace *pid_ns = NULL;
kernel/pid.c
113
struct pid_namespace *active_ns;
kernel/pid.c
123
struct pid_namespace *ns = upid->ns;
kernel/pid.c
159
struct pid *alloc_pid(struct pid_namespace *ns, pid_t *arg_set_tid,
kernel/pid.c
167
struct pid_namespace *tmp;
kernel/pid.c
361
void disable_pid_allocation(struct pid_namespace *ns)
kernel/pid.c
368
struct pid *find_pid_ns(int nr, struct pid_namespace *ns)
kernel/pid.c
481
struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns)
kernel/pid.c
540
pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns)
kernel/pid.c
561
struct pid_namespace *ns)
kernel/pid.c
575
struct pid_namespace *task_active_pid_ns(struct task_struct *tsk)
kernel/pid.c
586
struct pid *find_ge_pid(int nr, struct pid_namespace *ns)
kernel/pid.c
72
struct pid_namespace init_pid_ns = {
kernel/pid.c
730
struct pid_namespace *pidns =
kernel/pid.c
731
container_of(head->set, struct pid_namespace, set);
kernel/pid.c
747
struct pid_namespace *pidns =
kernel/pid.c
748
container_of(head->set, struct pid_namespace, set);
kernel/pid.c
811
int register_pidns_sysctls(struct pid_namespace *pidns)
kernel/pid.c
836
void unregister_pidns_sysctls(struct pid_namespace *pidns)
kernel/pid.c
90
struct pid_namespace *ns;
kernel/pid_namespace.c
142
struct pid_namespace *ns = container_of(p, struct pid_namespace, rcu);
kernel/pid_namespace.c
150
static void destroy_pid_namespace(struct pid_namespace *ns)
kernel/pid_namespace.c
163
struct pid_namespace *ns =
kernel/pid_namespace.c
164
container_of(work, struct pid_namespace, work);
kernel/pid_namespace.c
167
struct pid_namespace *parent;
kernel/pid_namespace.c
175
struct pid_namespace *copy_pid_ns(u64 flags,
kernel/pid_namespace.c
176
struct user_namespace *user_ns, struct pid_namespace *old_ns)
kernel/pid_namespace.c
185
void put_pid_ns(struct pid_namespace *ns)
kernel/pid_namespace.c
192
void zap_pid_ns_processes(struct pid_namespace *pid_ns)
kernel/pid_namespace.c
289
struct pid_namespace *pid_ns = task_active_pid_ns(current);
kernel/pid_namespace.c
319
int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd)
kernel/pid_namespace.c
350
struct pid_namespace *ns;
kernel/pid_namespace.c
363
struct pid_namespace *ns = NULL;
kernel/pid_namespace.c
380
bool pidns_is_ancestor(struct pid_namespace *child,
kernel/pid_namespace.c
381
struct pid_namespace *ancestor)
kernel/pid_namespace.c
383
struct pid_namespace *ns;
kernel/pid_namespace.c
395
struct pid_namespace *active = task_active_pid_ns(current);
kernel/pid_namespace.c
396
struct pid_namespace *new = to_pid_ns(ns);
kernel/pid_namespace.c
420
struct pid_namespace *active = task_active_pid_ns(current);
kernel/pid_namespace.c
421
struct pid_namespace *pid_ns, *p;
kernel/pid_namespace.c
462
pid_ns_cachep = KMEM_CACHE(pid_namespace, SLAB_PANIC | SLAB_ACCOUNT);
kernel/pid_namespace.c
76
static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns,
kernel/pid_namespace.c
77
struct pid_namespace *parent_pid_ns)
kernel/pid_namespace.c
79
struct pid_namespace *ns;
kernel/pid_sysctl.h
11
struct pid_namespace *ns = task_active_pid_ns(current);
kernel/reboot.c
731
struct pid_namespace *pid_ns = task_active_pid_ns(current);
kernel/sched/debug.c
1323
void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns,
kernel/seccomp.c
2530
int proc_pid_seccomp_cache(struct seq_file *m, struct pid_namespace *ns,
kernel/signal.c
3975
struct pid_namespace *active = task_active_pid_ns(current);
kernel/signal.c
3976
struct pid_namespace *p = ns_of_pid(pid);
kernel/taskstats.c
175
struct pid_namespace *pid_ns,
kernel/tsacct.c
21
struct pid_namespace *pid_ns,
mm/memfd.c
347
struct pid_namespace *ns = task_active_pid_ns(current);
net/ipv6/ip6_flowlabel.c
761
struct pid_namespace *pid_ns;
rust/helpers/pid_namespace.c
12
__rust_helper void rust_helper_put_pid_ns(struct pid_namespace *ns)
rust/helpers/pid_namespace.c
18
__rust_helper struct pid_namespace *
rust/helpers/pid_namespace.c
21
struct pid_namespace *pid_ns;
rust/helpers/pid_namespace.c
6
__rust_helper struct pid_namespace *
rust/helpers/pid_namespace.c
7
rust_helper_get_pid_ns(struct pid_namespace *ns)
rust/helpers/task.c
59
struct pid_namespace *ns)
security/tomoyo/realpath.c
165
struct pid_namespace *proc_pidns = proc_pid_ns(sb);