Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dpid_namespace.h36 extern struct pid_namespace init_pid_ns;
43 if (ns != &init_pid_ns) in get_pid_ns()
91 return task_active_pid_ns(tsk) == &init_pid_ns; in task_is_in_init_pid_ns()
Dpid.h113 extern struct pid_namespace init_pid_ns;
Dsched.h1647 return task_ppid_nr_ns(tsk, &init_pid_ns); in task_ppid_nr()
1653 return task_pgrp_nr_ns(tsk, &init_pid_ns); in task_pgrp_nr()
/linux-6.1.9/kernel/
Dpid.c58 .ns = &init_pid_ns,
75 struct pid_namespace init_pid_ns = { variable
77 .idr = IDR_INIT(init_pid_ns.idr),
87 EXPORT_SYMBOL_GPL(init_pid_ns);
662 idr_init(&init_pid_ns.idr); in pid_idr_init()
664 init_pid_ns.pid_cachep = KMEM_CACHE(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.c156 while (ns != &init_pid_ns) { in put_pid_ns()
302 if (pid_ns == &init_pid_ns) in reboot_pid_ns()
Dnsproxy.c39 .pid_ns_for_children = &init_pid_ns,
Daudit.c1057 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_bt.c168 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_bt()
Dkdb_main.c2394 p = find_task_by_pid_ns((pid_t)val, &init_pid_ns); in kdb_pid()
2468 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_kill()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-etm3x-sysfs.c1033 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show()
1061 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store()
1087 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_show()
1107 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_store()
Dcoresight-etm4x-sysfs.c1905 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show()
1933 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store()
1966 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_show()
1990 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_store()
/linux-6.1.9/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.1.9/init/
Dmain.c701 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in rest_init()
709 kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns); in rest_init()
/linux-6.1.9/arch/s390/mm/
Dfault.c653 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in pfault_interrupt()
/linux-6.1.9/arch/um/drivers/
Dmconsole_kern.c686 to = find_task_by_pid_ns(pid_requested, &init_pid_ns); in mconsole_stack()
/linux-6.1.9/kernel/debug/
Dgdbstub.c454 return find_task_by_pid_ns(tid, &init_pid_ns); in getthread()
/linux-6.1.9/security/tomoyo/
Dcommon.c997 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_select_domain()
1709 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_read_pid()
/linux-6.1.9/fs/
Dlocks.c2177 if (ns == &init_pid_ns) in locks_translate_pid()
2181 pid = find_pid_ns(fl->fl_pid, &init_pid_ns); in locks_translate_pid()
/linux-6.1.9/arch/s390/kernel/
Dperf_cpum_sf.c637 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in cpumsf_pid_type()
/linux-6.1.9/fs/fuse/
Dfile.c2476 fl->fl_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock()