Lines Matching refs:num_active
107 static int check_pids(struct tag_pgrp *running, int *num_active,
170 int num_active = 0;
526 while ((num_active < keep_active) && (starts != 0)) {
551 ++num_active;
559 } /* while ((num_active < keep_active) && (starts != 0)) */
596 err = check_pids(running, &num_active, keep_active, logfile,
615 if (stop && (num_active == 0))
618 if (go_idle && (num_active == 0)) {
713 check_pids(struct tag_pgrp *running, int *num_active, int keep_active,
763 --*num_active;
772 --*num_active;