/linux-6.6.21/include/linux/ |
D | pid_namespace.h | 46 extern struct pid_namespace init_pid_ns; 53 if (ns != &init_pid_ns) in get_pid_ns() 123 return task_active_pid_ns(tsk) == &init_pid_ns; in task_is_in_init_pid_ns()
|
D | pid.h | 114 extern struct pid_namespace init_pid_ns;
|
D | sched.h | 1655 return task_ppid_nr_ns(tsk, &init_pid_ns); in task_ppid_nr() 1661 return task_pgrp_nr_ns(tsk, &init_pid_ns); in task_pgrp_nr()
|
/linux-6.6.21/kernel/ |
D | pid_sysctl.h | 37 .data = &init_pid_ns.memfd_noexec_scope, 38 .maxlen = sizeof(init_pid_ns.memfd_noexec_scope),
|
D | pid.c | 58 .ns = &init_pid_ns, 75 struct pid_namespace init_pid_ns = { variable 77 .idr = IDR_INIT(init_pid_ns.idr), 90 EXPORT_SYMBOL_GPL(init_pid_ns); 660 idr_init(&init_pid_ns.idr); in pid_idr_init() 662 init_pid_ns.pid_cachep = kmem_cache_create("pid", in pid_idr_init()
|
D | taskstats.c | 309 if (task_active_pid_ns(current) != &init_pid_ns) in add_del_listener() 639 task_pid_nr_ns(tsk, &init_pid_ns)); in taskstats_exit() 643 fill_stats(&init_user_ns, &init_pid_ns, tsk, stats); in taskstats_exit() 654 task_tgid_nr_ns(tsk, &init_pid_ns)); in taskstats_exit()
|
D | pid_namespace.c | 159 while (ns != &init_pid_ns) { in put_pid_ns() 321 if (pid_ns == &init_pid_ns) in reboot_pid_ns()
|
D | nsproxy.c | 39 .pid_ns_for_children = &init_pid_ns,
|
D | audit.c | 1067 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
|
/linux-6.6.21/kernel/debug/kdb/ |
D | kdb_bt.c | 168 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_bt()
|
D | kdb_main.c | 2392 p = find_task_by_pid_ns((pid_t)val, &init_pid_ns); in kdb_pid() 2466 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_kill()
|
/linux-6.6.21/arch/s390/mm/ |
D | pfault.c | 135 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in pfault_interrupt()
|
/linux-6.6.21/drivers/hwtracing/coresight/ |
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()
|
D | coresight-etm4x-sysfs.c | 1906 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show() 1934 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store() 1967 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_show() 1991 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_store()
|
/linux-6.6.21/fs/coda/ |
D | inode.c | 155 if (task_active_pid_ns(current) != &init_pid_ns) in coda_fill_super()
|
D | psdev.c | 273 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
|
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-6.6.21/init/ |
D | main.c | 702 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in rest_init() 710 kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns); in rest_init()
|
/linux-6.6.21/arch/um/drivers/ |
D | mconsole_kern.c | 686 to = find_task_by_pid_ns(pid_requested, &init_pid_ns); in mconsole_stack()
|
/linux-6.6.21/kernel/debug/ |
D | gdbstub.c | 454 return find_task_by_pid_ns(tid, &init_pid_ns); in getthread()
|
/linux-6.6.21/security/tomoyo/ |
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-6.6.21/fs/ |
D | locks.c | 2163 if (ns == &init_pid_ns) in locks_translate_pid() 2167 pid = find_pid_ns(fl->fl_pid, &init_pid_ns); in locks_translate_pid()
|
/linux-6.6.21/arch/s390/kernel/ |
D | perf_cpum_sf.c | 678 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in cpumsf_pid_type()
|
/linux-6.6.21/kernel/bpf/ |
D | helpers.c | 2233 p = find_task_by_pid_ns(pid, &init_pid_ns); in bpf_task_from_pid()
|
/linux-6.6.21/Documentation/bpf/ |
D | kfuncs.rst | 584 * globally-unique pid from the init_pid_ns. Thus,
|