Lines Matching refs:tmp
152 int tmp; in free_pids() local
157 for (tmp = PIDTYPE_MAX; --tmp >= 0; ) in free_pids()
158 if (pids[tmp]) in free_pids()
159 free_pid(pids[tmp]); in free_pids()
168 struct pid_namespace *tmp; in alloc_pid() local
187 tmp = ns; in alloc_pid()
192 int pid_max = READ_ONCE(tmp->pid_max); in alloc_pid()
204 if (tid != 1 && !tmp->child_reaper) in alloc_pid()
207 if (!checkpoint_restore_ns_capable(tmp->user_ns)) in alloc_pid()
216 nr = idr_alloc(&tmp->idr, NULL, tid, in alloc_pid()
230 if (idr_get_cursor(&tmp->idr) > RESERVED_PIDS) in alloc_pid()
237 nr = idr_alloc_cyclic(&tmp->idr, NULL, pid_min, in alloc_pid()
249 pid->numbers[i].ns = tmp; in alloc_pid()
250 tmp = tmp->parent; in alloc_pid()
353 int tmp; in __change_pid() local
363 for (tmp = PIDTYPE_MAX; --tmp >= 0; ) in __change_pid()
364 if (pid_has_task(pid, tmp)) in __change_pid()