| /linux/kernel/ |
| H A D | pid.c | 60 .ns = &init_pid_ns, 73 struct pid_namespace init_pid_ns = { variable 74 .ns = NS_COMMON_INIT(init_pid_ns), 75 .idr = IDR_INIT(init_pid_ns.idr), 85 EXPORT_SYMBOL_GPL(init_pid_ns); 744 .data = &init_pid_ns.pid_max, 805 init_pid_ns.pid_max = min(pid_max_max, max_t(int, init_pid_ns.pid_max, in pid_idr_init() 809 pr_info("pid_max: default: %u minimum: %u\n", init_pid_ns.pid_max, pid_max_min); in pid_idr_init() 811 idr_init(&init_pid_ns.idr); in pid_idr_init() 813 init_pid_ns.pid_cachep = kmem_cache_create("pid", in pid_idr_init() [all …]
|
| H A D | pid_namespace.c | 172 } while (ns != &init_pid_ns && ns_ref_put(ns)); in destroy_pid_namespace_work() 314 .extra2 = &init_pid_ns.pid_max, 321 if (pid_ns == &init_pid_ns) in reboot_pid_ns() 478 ns_tree_add(&init_pid_ns); in pid_namespaces_init()
|
| H A D | taskstats.c | 308 if (task_active_pid_ns(current) != &init_pid_ns) in add_del_listener() 632 task_pid_nr_ns(tsk, &init_pid_ns)); in taskstats_exit() 636 fill_stats(&init_user_ns, &init_pid_ns, tsk, stats); in taskstats_exit() 647 task_tgid_nr_ns(tsk, &init_pid_ns)); in taskstats_exit()
|
| H A D | nsproxy.c | 40 .pid_ns_for_children = &init_pid_ns,
|
| H A D | audit.c | 1104 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
|
| /linux/include/linux/ |
| H A D | pid_namespace.h | 52 extern struct pid_namespace init_pid_ns; 144 return task_active_pid_ns(tsk) == &init_pid_ns; in task_is_in_init_pid_ns()
|
| H A D | pid_types.h | 14 extern struct pid_namespace init_pid_ns;
|
| H A D | pid.h | 315 return task_ppid_nr_ns(tsk, &init_pid_ns); in task_ppid_nr() 321 return task_pgrp_nr_ns(tsk, &init_pid_ns); in task_pgrp_nr()
|
| /linux/include/linux/ns/ |
| H A D | ns_common_types.h | 26 extern struct pid_namespace init_pid_ns; 158 struct pid_namespace *: &init_pid_ns, \
|
| /linux/kernel/debug/kdb/ |
| H A D | kdb_bt.c | 168 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_bt()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-etm3x-sysfs.c | 1034 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show() 1062 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store() 1088 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_show() 1108 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_store()
|
| /linux/fs/coda/ |
| H A D | inode.c | 361 if (task_active_pid_ns(current) != &init_pid_ns) in coda_get_tree()
|
| H A D | psdev.c | 273 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
|
| H A D | upcall.c | 54 inp->ih.pid = task_pid_nr_ns(current, &init_pid_ns); in alloc_upcall() 55 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns); in alloc_upcall()
|
| /linux/kernel/trace/ |
| H A D | pid_list.c | 424 WARN_ON_ONCE(init_pid_ns.pid_max > (1 << 30)); in trace_pid_list_alloc()
|
| H A D | trace_sched_switch.c | 446 tgid_map_max = init_pid_ns.pid_max; in trace_alloc_tgid_map()
|
| /linux/init/ |
| H A D | main.c | 729 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in rest_init() 737 kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns); in rest_init()
|
| /linux/arch/um/drivers/ |
| H A D | mconsole_kern.c | 686 to = find_task_by_pid_ns(pid_requested, &init_pid_ns); in mconsole_stack()
|
| /linux/security/tomoyo/ |
| H A D | common.c | 998 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_select_domain() 1710 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_read_pid()
|
| /linux/fs/ |
| H A D | locks.c | 2286 if (ns == &init_pid_ns) in locks_translate_pid() 2290 pid = find_pid_ns(fl->flc_pid, &init_pid_ns); in locks_translate_pid()
|
| /linux/fs/fuse/ |
| H A D | file.c | 2450 fl->c.flc_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 2681 p = find_task_by_pid_ns(pid, &init_pid_ns); in bpf_task_from_pid()
|