Home
last modified time | relevance | path

Searched refs:pid_nr_ns (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/kernel/
Dpid.c475 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() function
487 EXPORT_SYMBOL_GPL(pid_nr_ns);
491 return pid_nr_ns(pid, task_active_pid_ns(current)); in pid_vnr()
503 nr = pid_nr_ns(rcu_dereference(*task_pid_ptr(task, type)), ns); in __task_pid_nr_ns()
Dfork.c2049 nr = pid_nr_ns(pid, ns); in pidfd_show_fdinfo()
/linux-6.6.21/fs/proc/
Darray.c186 seq_put_decimal_ull(m, "\nPid:\t", pid_nr_ns(pid, ns)); in task_state()
522 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat()
582 seq_put_decimal_ull(m, "", pid_nr_ns(pid, ns)); in do_task_stat()
772 seq_printf(seq, "%d ", pid_nr_ns(v, proc_pid_ns(inode->i_sb))); in children_seq_show()
Dbase.c2509 pid_nr_ns(timer->it_pid, tp->ns)); in show_timer()
3490 iter.tgid = pid_nr_ns(pid, ns); in next_tgid()
/linux-6.6.21/include/linux/
Dpid.h190 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
Dptrace.h184 message = pid_nr_ns(pid, ns); in ptrace_event_pid()
/linux-6.6.21/kernel/bpf/
Dtask_iter.c142 *tid = pid_nr_ns(pid, common->ns); in task_seq_get_next()
253 tgid = pid_nr_ns(pid, task_active_pid_ns(current)); in bpf_iter_attach_task()
/linux-6.6.21/ipc/
Dmsg.c1355 pid_nr_ns(msq->q_lspid, pid_ns), in sysvipc_msg_proc_show()
1356 pid_nr_ns(msq->q_lrpid, pid_ns), in sysvipc_msg_proc_show()
Dshm.c1868 pid_nr_ns(shp->shm_cprid, pid_ns), in sysvipc_shm_proc_show()
1869 pid_nr_ns(shp->shm_lprid, pid_ns), in sysvipc_shm_proc_show()
/linux-6.6.21/net/ipv6/
Dip6_flowlabel.c849 pid_nr_ns(fl->owner.pid, state->pid_ns) : in ip6fl_seq_show()
/linux-6.6.21/fs/fuse/
Ddev.c140 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_get_req()
471 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_force_creds()
Dfile.c2511 fl->fl_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock()
2574 pid_t pid_nr = pid_nr_ns(pid, fm->fc->pid_ns); in fuse_setlk()
/linux-6.6.21/fs/
Dlocks.c2168 vnr = pid_nr_ns(pid, ns); in locks_translate_pid()
/linux-6.6.21/fs/gfs2/
Dglock.c2699 i->tgid = pid_nr_ns(pid, ns); in gfs2_glockfd_next_task()