Lines Matching refs:upid
132 struct upid *upid = pid->numbers + i; in free_pid() local
133 struct pid_namespace *ns = upid->ns; in free_pid()
153 idr_remove(&ns->idr, upid->nr); in free_pid()
166 struct upid *upid; in alloc_pid() local
220 upid = pid->numbers + ns->level; in alloc_pid()
224 for ( ; upid >= pid->numbers; --upid) { in alloc_pid()
226 idr_replace(&upid->ns->idr, pid, upid->nr); in alloc_pid()
227 upid->ns->pid_allocated++; in alloc_pid()
240 upid = pid->numbers + i; in alloc_pid()
241 idr_remove(&upid->ns->idr, upid->nr); in alloc_pid()
407 struct upid *upid; in pid_nr_ns() local
411 upid = &pid->numbers[ns->level]; in pid_nr_ns()
412 if (upid->ns == ns) in pid_nr_ns()
413 nr = upid->nr; in pid_nr_ns()