Home
last modified time | relevance | path

Searched refs:upid (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/
H A Dpid.c122 struct upid *upid = pid->numbers + i; in free_pid() local
123 struct pid_namespace *ns = upid->ns; in free_pid()
139 idr_remove(&ns->idr, upid->nr); in free_pid()
168 struct upid *upid; in alloc_pid() local
327 for (upid = pid->numbers + ns->level; upid >= pid->numbers; --upid) in alloc_pid()
328 if (unlikely(!(upid->ns->pid_allocated & PIDNS_ADDING))) in alloc_pid()
331 for (upid = pid->numbers + ns->level; upid >= pid->numbers; --upid) { in alloc_pid()
333 idr_replace(&upid->ns->idr, pid, upid->nr); in alloc_pid()
334 upid->ns->pid_allocated++; in alloc_pid()
350 upid = pid->numbers + i; in alloc_pid()
[all …]
H A Dexit.c1746 int kernel_waitid_prepare(struct wait_opts *wo, int which, pid_t upid,
1766 if (upid <= 0) in do_wait()
1769 pid = find_get_pid(upid); in do_wait()
1773 if (upid < 0) in kernel_waitid_prepare()
1776 if (upid) in kernel_waitid_prepare()
1777 pid = find_get_pid(upid); in kernel_waitid_prepare()
1783 if (upid < 0) in kernel_waitid_prepare()
1786 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid_prepare()
1806 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid_prepare()
1812 ret = kernel_waitid_prepare(&wo, which, upid, info in kernel_waitid_prepare()
1772 kernel_waitid_prepare(struct wait_opts * wo,int which,pid_t upid,struct waitid_info * infop,int options,struct rusage * ru) kernel_waitid_prepare() argument
1832 kernel_waitid(int which,pid_t upid,struct waitid_info * infop,int options,struct rusage * ru) kernel_waitid() argument
1850 SYSCALL_DEFINE5(waitid,int,which,pid_t,upid,struct siginfo __user *,infop,int,options,struct rusage __user *,ru) SYSCALL_DEFINE5() argument
1883 kernel_wait4(pid_t upid,int __user * stat_addr,int options,struct rusage * ru) kernel_wait4() argument
1942 SYSCALL_DEFINE4(wait4,pid_t,upid,int __user *,stat_addr,int,options,struct rusage __user *,ru) SYSCALL_DEFINE4() argument
[all...]
H A Dexit.h27 int kernel_waitid_prepare(struct wait_opts *wo, int which, pid_t upid,
/linux/io_uring/
H A Dwaitid.c27 pid_t upid; member
293 iw->upid = READ_ONCE(sqe->fd); in io_waitid_prep()
308 ret = kernel_waitid_prepare(&iwa->wo, iw->which, iw->upid, &iw->info, in io_waitid()
/linux/kernel/time/
H A Dposix-cpu-timers.c60 const pid_t upid = CPUCLOCK_PID(clock); in pid_for_clock() local
70 if (upid == 0) in pid_for_clock()
73 pid = find_vpid(upid); in pid_for_clock()