Lines Matching refs:children
96 static struct child * children;
121 if (children[i].pid == getpid()) {
122 children[i].sigusr1 = 1;
134 if (children[i].pid == getpid()) {
135 children[i].sigusr2 = 1;
317 struct child * self = &children[cpu];
419 children = xmalloc(sizeof(struct child) * nr_cpus);
424 if (pipe(children[i].up_pipe)) {
438 children[i].pid = ret;
440 wait_for_child(&children[i]);
457 kill(children[i].pid, SIGKILL);
458 waitpid(children[i].pid, NULL, 0);
476 kill(children[i].pid, SIGUSR1);
493 kill(children[i].pid, SIGUSR2);