Lines Matching refs:keep_active

104 static void pids_running(struct tag_pgrp *running, int keep_active);
106 int keep_active, FILE * logfile, FILE * failcmdfile,
110 static void propagate_signal(struct tag_pgrp *running, int keep_active,
164 int keep_active = 1; in main() local
290 keep_active = atoi(optarg); in main()
371 malloc((keep_active + 1) * in main()
378 memset(running, 0, keep_active * sizeof(struct tag_pgrp)); in main()
379 running[keep_active].pgrp = -1; /* end sentinel */ in main()
401 if (starts < keep_active) in main()
402 starts = keep_active; in main()
408 if (test_out_dir && (keep_active == 1)) { in main()
479 for (c = 0; c < keep_active; c++) { in main()
486 for (c = 0; c < keep_active; c++) { in main()
517 while ((num_active < keep_active) && (starts != 0)) { in main()
525 for (i = 0; i < keep_active; ++i) { in main()
529 if (i == keep_active) { in main()
579 propagate_signal(running, keep_active, orphans); in main()
587 err = check_pids(running, &num_active, keep_active, logfile, in main()
591 pids_running(running, keep_active); in main()
628 propagate_signal(running, keep_active, orphans); in main()
668 propagate_signal(struct tag_pgrp *running, int keep_active, in propagate_signal() argument
682 for (i = 0; i < keep_active; ++i) { in propagate_signal()
704 check_pids(struct tag_pgrp *running, int *num_active, int keep_active, in check_pids() argument
776 for (i = 0; i < keep_active; ++i) { in check_pids()
1388 static void pids_running(struct tag_pgrp *running, int keep_active) in pids_running() argument
1393 for (i = 0; i < keep_active; ++i) { in pids_running()