Home
last modified time | relevance | path

Searched refs:resp_read_pipe (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/ntp/libntp/
H A Dwork_fork.c228 if (-1 != c->resp_read_pipe) { in cleanup_after_child()
229 (*addremove_io_fd)(c->resp_read_pipe, c->ispipe, TRUE); in cleanup_after_child()
230 close(c->resp_read_pipe); in cleanup_after_child()
231 c->resp_read_pipe = -1; in cleanup_after_child()
380 DEBUG_REQUIRE(c->resp_read_pipe != -1); in receive_blocking_resp_internal()
383 rc = netread(c->resp_read_pipe, &hdr, sizeof(hdr)); in receive_blocking_resp_internal()
399 rc = netread(c->resp_read_pipe, (char *)(resp + 1), in receive_blocking_resp_internal()
486 c->resp_read_pipe = move_fd(blocking_pipes[2]); in fork_blocking_child()
532 (*addremove_io_fd)(c->resp_read_pipe, is_pipe, FALSE); in fork_blocking_child()
H A Dwork_thread.c456 rc = read(c->resp_read_pipe, scratch, sizeof(scratch)); in receive_blocking_resp_internal()
572 c->resp_read_pipe = move_fd(pipe_ends[0]);
575 flags = fcntl(c->resp_read_pipe, F_GETFL, 0);
580 rc = fcntl(c->resp_read_pipe, F_SETFL, O_NONBLOCK | flags);
586 (*addremove_io_fd)(c->resp_read_pipe, c->ispipe, FALSE);
912 DEBUG_INSIST(-1 != c->resp_read_pipe); in cleanup_after_child()
914 (*addremove_io_fd)(c->resp_read_pipe, c->ispipe, TRUE); in cleanup_after_child()
916 close(c->resp_read_pipe); in cleanup_after_child()
918 c->resp_read_pipe = -1; in cleanup_after_child()
H A Dntp_worker.c202 c->resp_read_pipe = -1; in queue_blocking_request()
/freebsd-13.1/contrib/ntp/include/
H A Dntp_worker.h66 int resp_read_pipe; member
118 int resp_read_pipe; /* parent */ member
/freebsd-13.1/contrib/ntp/sntp/
H A Dmain.c969 if (fd == c->resp_read_pipe) in sntp_addremove_fd()
1037 DEBUG_INSIST(fd == c->resp_read_pipe); in worker_resp_cb()
/freebsd-13.1/contrib/ntp/ntpd/
H A Dntp_io.c3895 if (NULL == c || -1 == c->resp_read_pipe)
3897 if (FD_ISSET(c->resp_read_pipe, pfds)) {