Home
last modified time | relevance | path

Searched refs:init_pid_ns (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/include/linux/
Dpid_namespace.h46 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()
Dpid.h114 extern struct pid_namespace init_pid_ns;
Dsched.h1655 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/
Dpid_sysctl.h37 .data = &init_pid_ns.memfd_noexec_scope,
38 .maxlen = sizeof(init_pid_ns.memfd_noexec_scope),
Dpid.c58 .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()
Dtaskstats.c309 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()
Dpid_namespace.c159 while (ns != &init_pid_ns) { in put_pid_ns()
321 if (pid_ns == &init_pid_ns) in reboot_pid_ns()
Dnsproxy.c39 .pid_ns_for_children = &init_pid_ns,
Daudit.c1067 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_bt.c168 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_bt()
Dkdb_main.c2392 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/
Dpfault.c135 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in pfault_interrupt()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-etm3x-sysfs.c1034 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()
Dcoresight-etm4x-sysfs.c1906 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/
Dinode.c155 if (task_active_pid_ns(current) != &init_pid_ns) in coda_fill_super()
Dpsdev.c273 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
Dupcall.c54 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/
Dmain.c702 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/
Dmconsole_kern.c686 to = find_task_by_pid_ns(pid_requested, &init_pid_ns); in mconsole_stack()
/linux-6.6.21/kernel/debug/
Dgdbstub.c454 return find_task_by_pid_ns(tid, &init_pid_ns); in getthread()
/linux-6.6.21/security/tomoyo/
Dcommon.c998 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/
Dlocks.c2163 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/
Dperf_cpum_sf.c678 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in cpumsf_pid_type()
/linux-6.6.21/kernel/bpf/
Dhelpers.c2233 p = find_task_by_pid_ns(pid, &init_pid_ns); in bpf_task_from_pid()
/linux-6.6.21/Documentation/bpf/
Dkfuncs.rst584 * globally-unique pid from the init_pid_ns. Thus,

12