Home
last modified time | relevance | path

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

/linux-2.4.37.9/kernel/
Dfork.c89 static int next_safe = PID_MAX; in get_pid() local
102 if(last_pid >= next_safe) { in get_pid()
104 next_safe = PID_MAX; in get_pid()
112 if(++last_pid >= next_safe) { in get_pid()
115 next_safe = PID_MAX; in get_pid()
118 next_safe = 0; in get_pid()
123 if(p->pid > last_pid && next_safe > p->pid) in get_pid()
124 next_safe = p->pid; in get_pid()
125 if(p->pgrp > last_pid && next_safe > p->pgrp) in get_pid()
126 next_safe = p->pgrp; in get_pid()
[all …]