Searched refs:next_safe (Results 1 – 1 of 1) sorted by relevance
89 static int next_safe = PID_MAX; in get_pid() local102 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 …]