Lines Matching refs:helper_fd
102 static int helper_fd = -1;
298 assert(helper_fd < 0);
327 helper_fd = sock[0];
334 if (helper_fd <= 0)
337 close(helper_fd);
338 helper_fd = -1;
343 if (helper_fd >= 0) {
359 if (write(helper_fd, &command, sizeof(command)) < 0) {
364 return recv_fd(helper_fd);
386 if (helper_fd >= 0) {
401 if (write(helper_fd, &command, sizeof(command)) < 0) {
406 if ((r = read(helper_fd, &c, sizeof(c))) < 0) {