Lines Matching full:ready
38 struct cfjails ready = TAILQ_HEAD_INITIALIZER(ready); variable
131 while ((j = TAILQ_FIRST(&ready))) { in dep_setup()
141 } while ((j = TAILQ_FIRST(&ready))); in dep_setup()
193 requeue(dj, &ready); in dep_check()
259 requeue(dj, &ready); in dep_done()
279 * Find the next jail ready to do something.
286 if (!(j = next_proc(!TAILQ_EMPTY(&ready))) && in next_jail()
287 (j = TAILQ_FIRST(&ready)) && JF_DO_STOP(j->flags) && in next_jail()
288 (j = TAILQ_LAST(&ready, cfjails)) && !JF_DO_STOP(j->flags)) { in next_jail()
289 TAILQ_FOREACH_REVERSE(j, &ready, cfjails, tq) in next_jail()
320 requeue(j, j->ndeps ? &depend : &ready); in start_state()
325 * set their state and call them ready (even if there are in start_state()
353 requeue(j, &ready); in start_state()
362 requeue(j, &ready); in start_state()
378 requeue(j, &ready); in start_state()