Lines Matching refs:upid
134 struct upid *upid = pid->numbers + i; in free_pid() local
135 struct pid_namespace *ns = upid->ns; in free_pid()
152 idr_remove(&ns->idr, upid->nr); in free_pid()
166 struct upid *upid; in alloc_pid() local
268 upid = pid->numbers + ns->level; in alloc_pid()
272 for ( ; upid >= pid->numbers; --upid) { in alloc_pid()
274 idr_replace(&upid->ns->idr, pid, upid->nr); in alloc_pid()
275 upid->ns->pid_allocated++; in alloc_pid()
288 upid = pid->numbers + i; in alloc_pid()
289 idr_remove(&upid->ns->idr, upid->nr); in alloc_pid()
474 struct upid *upid; in pid_nr_ns() local
478 upid = &pid->numbers[ns->level]; in pid_nr_ns()
479 if (upid->ns == ns) in pid_nr_ns()
480 nr = upid->nr; in pid_nr_ns()