Lines Matching refs:keep_active
106 static void pids_running(struct tag_pgrp *running, int keep_active);
108 int keep_active, FILE * logfile, FILE * failcmdfile,
112 static void propagate_signal(struct tag_pgrp *running, int keep_active,
169 int keep_active = 1; in main() local
299 keep_active = atoi(optarg); in main()
380 malloc((keep_active + 1) * in main()
387 memset(running, 0, keep_active * sizeof(struct tag_pgrp)); in main()
388 running[keep_active].pgrp = -1; /* end sentinel */ in main()
410 if (starts < keep_active) in main()
411 starts = keep_active; in main()
417 if (test_out_dir && (keep_active == 1)) { in main()
488 for (c = 0; c < keep_active; c++) { in main()
495 for (c = 0; c < keep_active; c++) { in main()
526 while ((num_active < keep_active) && (starts != 0)) { in main()
534 for (i = 0; i < keep_active; ++i) { in main()
538 if (i == keep_active) { in main()
588 propagate_signal(running, keep_active, orphans); in main()
596 err = check_pids(running, &num_active, keep_active, logfile, in main()
600 pids_running(running, keep_active); in main()
637 propagate_signal(running, keep_active, orphans); in main()
677 propagate_signal(struct tag_pgrp *running, int keep_active, in propagate_signal() argument
691 for (i = 0; i < keep_active; ++i) { in propagate_signal()
713 check_pids(struct tag_pgrp *running, int *num_active, int keep_active, in check_pids() argument
785 for (i = 0; i < keep_active; ++i) { in check_pids()
1428 static void pids_running(struct tag_pgrp *running, int keep_active) in pids_running() argument
1433 for (i = 0; i < keep_active; ++i) { in pids_running()