Lines Matching refs:signal_fds
402 static int signal_fds[2];
405 if (signal_fds[0] == 0 && socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0)
410 set->fd = signal_fds[0];
411 return signal_fds[0];
425 close(signal_fds[0]);
426 signal_fds[0] = 0;
428 close(signal_fds[1]);
429 signal_fds[1] = 0;
445 ALOGD("%s: Sending signal to %d", __func__, signal_fds[1]);
446 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0);
461 ALOGD("%s: Receiving signal from %d", __func__, signal_fds[0]);
462 recv(signal_fds[0], &sig_recv, sizeof(sig_recv), MSG_WAITALL);