Symbol: pid_namespace
arch/x86/kernel/fpu/xstate.c
1915
int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns,
fs/fuse/fuse_i.h
668
struct pid_namespace *pid_ns;
fs/gfs2/glock.c
2660
struct pid_namespace *ns = task_active_pid_ns(current);
fs/locks.c
2292
static pid_t locks_translate_pid(struct file_lock_core *fl, struct pid_namespace *ns)
fs/locks.c
2844
struct pid_namespace *proc_pidns = proc_pid_ns(file_inode(f->file)->i_sb);
fs/locks.c
2938
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
247
struct pid_namespace *ns;
fs/pidfs.c
303
const struct pid_namespace *ns = task_active_pid_ns(current);
fs/pidfs.c
619
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
665
int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/array.c
671
int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/array.c
677
int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
1504
struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
fs/proc/base.c
2508
struct pid_namespace *ns;
fs/proc/base.c
3083
static int proc_tid_io_accounting(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3089
static int proc_tgid_io_accounting(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3228
static int proc_pid_personality(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3240
static int proc_pid_patch_state(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3249
static int proc_pid_ksm_merging_pages(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3262
static int proc_pid_ksm_stat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3292
static int proc_stack_depth(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
3509
struct pid_namespace *ns;
fs/proc/base.c
3547
static struct tgid_iter next_tgid(struct pid_namespace *ns, struct tgid_iter iter)
fs/proc/base.c
3577
struct pid_namespace *ns = proc_pid_ns(file_inode(file)->i_sb);
fs/proc/base.c
3810
struct pid_namespace *ns;
fs/proc/base.c
3854
struct pid_namespace *ns)
fs/proc/base.c
3920
struct pid_namespace *ns;
fs/proc/base.c
421
static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
463
static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
511
static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
585
static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
631
static int proc_pid_limits(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
675
static int proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns,
fs/proc/base.c
803
struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
fs/proc/internal.h
112
struct pid_namespace *ns, struct pid *pid,
fs/proc/internal.h
245
extern int proc_tid_stat(struct seq_file *, struct pid_namespace *,
fs/proc/internal.h
247
extern int proc_tgid_stat(struct seq_file *, struct pid_namespace *,
fs/proc/internal.h
249
extern int proc_pid_status(struct seq_file *, struct pid_namespace *,
fs/proc/internal.h
251
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
915
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
130
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
134
struct pid_namespace *: &(__ns)->ns, \
include/linux/ns/ns_common_types.h
135
const struct pid_namespace *: &(__ns)->ns, \
include/linux/ns/ns_common_types.h
149
struct pid_namespace *: PID_NS_INIT_INO, \
include/linux/ns/ns_common_types.h
16
struct pid_namespace;
include/linux/ns/ns_common_types.h
160
struct pid_namespace *: &init_pid_ns, \
include/linux/ns/ns_common_types.h
171
struct pid_namespace *: PID_NS_INIT_ID, \
include/linux/ns/ns_common_types.h
182
struct pid_namespace *: (IS_ENABLED(CONFIG_PID_NS) ? &pidns_operations : NULL), \
include/linux/ns/ns_common_types.h
193
struct pid_namespace *: CLONE_NEWPID, \
include/linux/ns/ns_common_types.h
26
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
162
int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns,
include/linux/proc_fs.h
244
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
179
struct pid_namespace *ns;
include/linux/resctrl.h
24
struct pid_namespace *ns,
include/linux/sched.h
1982
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
1842
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
21
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
6626
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
602
struct pid_namespace *pid_ns = task_active_pid_ns(father);
kernel/nsproxy.c
397
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
160
struct pid *alloc_pid(struct pid_namespace *ns, pid_t *arg_set_tid,
kernel/pid.c
168
struct pid_namespace *tmp;
kernel/pid.c
354
void disable_pid_allocation(struct pid_namespace *ns)
kernel/pid.c
361
struct pid *find_pid_ns(int nr, struct pid_namespace *ns)
kernel/pid.c
474
struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns)
kernel/pid.c
533
pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns)
kernel/pid.c
554
struct pid_namespace *ns)
kernel/pid.c
568
struct pid_namespace *task_active_pid_ns(struct task_struct *tsk)
kernel/pid.c
579
struct pid *find_ge_pid(int nr, struct pid_namespace *ns)
kernel/pid.c
72
struct pid_namespace init_pid_ns = {
kernel/pid.c
723
struct pid_namespace *pidns =
kernel/pid.c
724
container_of(head->set, struct pid_namespace, set);
kernel/pid.c
740
struct pid_namespace *pidns =
kernel/pid.c
741
container_of(head->set, struct pid_namespace, set);
kernel/pid.c
804
int register_pidns_sysctls(struct pid_namespace *pidns)
kernel/pid.c
829
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
389
bool pidns_is_ancestor(struct pid_namespace *child,
kernel/pid_namespace.c
390
struct pid_namespace *ancestor)
kernel/pid_namespace.c
392
struct pid_namespace *ns;
kernel/pid_namespace.c
404
struct pid_namespace *active = task_active_pid_ns(current);
kernel/pid_namespace.c
405
struct pid_namespace *new = to_pid_ns(ns);
kernel/pid_namespace.c
429
struct pid_namespace *active = task_active_pid_ns(current);
kernel/pid_namespace.c
430
struct pid_namespace *pid_ns, *p;
kernel/pid_namespace.c
471
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
1253
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
3963
struct pid_namespace *active = task_active_pid_ns(current);
kernel/signal.c
3964
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
745
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);