Lines Matching refs:procs
106 static int timerlat_u_send_kill(pid_t *procs, int nr_cpus) in timerlat_u_send_kill() argument
112 if (!procs[i]) in timerlat_u_send_kill()
114 retval = kill(procs[i], SIGKILL); in timerlat_u_send_kill()
118 err_msg("Error killing child process %d\n", procs[i]); in timerlat_u_send_kill()
143 pid_t *procs; in timerlat_u_dispatcher() local
150 procs = calloc(nr_cpus, sizeof(pid_t)); in timerlat_u_dispatcher()
151 if (!procs) in timerlat_u_dispatcher()
177 timerlat_u_send_kill(procs, nr_cpus); in timerlat_u_dispatcher()
183 procs[i] = pid; in timerlat_u_dispatcher()
191 if (procs[i] == pid) { in timerlat_u_dispatcher()
192 procs[i] = 0; in timerlat_u_dispatcher()
204 timerlat_u_send_kill(procs, nr_cpus); in timerlat_u_dispatcher()
213 if (procs[i] == pid) { in timerlat_u_dispatcher()
214 procs[i] = 0; in timerlat_u_dispatcher()
222 free(procs); in timerlat_u_dispatcher()