Lines Matching refs:kidpids
56 static void killall(int ret, pid_t *kidpids) in killall() argument
61 if (kidpids[i] != 0) in killall()
62 (void)kill(kidpids[i], SIGTERM); in killall()
63 OPENSSL_free(kidpids); in killall()
82 pid_t *kidpids = NULL; in spawn_loop() local
95 kidpids = app_malloc(n_responders * sizeof(*kidpids), "child PID array"); in spawn_loop()
97 kidpids[i] = 0; in spawn_loop()
112 if (kidpids[i] == fpid) { in spawn_loop()
113 kidpids[i] = 0; in spawn_loop()
122 killall(1, kidpids); in spawn_loop()
146 killall(1, kidpids); in spawn_loop()
158 OPENSSL_free(kidpids); in spawn_loop()
170 if (kidpids[i] == 0) { in spawn_loop()
171 kidpids[i] = fpid; in spawn_loop()
179 killall(1, kidpids); in spawn_loop()
187 killall(0, kidpids); in spawn_loop()