Searched refs:fds (Results 1 – 4 of 4) sorted by path
/unit/src/ |
H A D | nxt_event_engine.c | 199 if (nxt_pipe_create(&engine->task, pipe->fds, 1, 0) != NXT_OK) { in nxt_event_engine_signal_pipe_create() 204 pipe->event.fd = pipe->fds[0]; in nxt_event_engine_signal_pipe_create() 229 nxt_pipe_close(pipe->event.task, pipe->fds); in nxt_event_engine_signal_pipe_free() 244 nxt_pipe_close(pipe->event.task, pipe->fds); in nxt_event_engine_signal_pipe_close() 284 (void) nxt_fd_write(engine->pipe->fds[1], &buf, 1); in nxt_event_engine_signal() 353 pipe->fds[0], pipe->fds[1]); in nxt_event_engine_signal_pipe_error() 356 nxt_pipe_close(pipe->event.task, pipe->fds); in nxt_event_engine_signal_pipe_error()
|
H A D | nxt_event_engine.h | 414 nxt_fd_t fds[2]; member
|
H A D | nxt_socket_msg.h | 87 nxt_socket_msg_oob_init(nxt_send_oob_t *oob, int *fds) in nxt_socket_msg_oob_init() argument 111 nfds = (fds[0] != -1 ? 1 : 0) + (fds[1] != -1 ? 1 : 0); in nxt_socket_msg_oob_init() 134 nxt_memcpy(CMSG_DATA(cmsg), fds, nfds * sizeof(int)); in nxt_socket_msg_oob_init()
|
H A D | nxt_unit.c | 4617 struct pollfd fds[2]; in nxt_unit_read_buf() local 4661 fds[1].events = POLLIN; in nxt_unit_read_buf() 4670 fds[0].events = POLLIN; in nxt_unit_read_buf() 4671 fds[0].revents = 0; in nxt_unit_read_buf() 4673 fds[1].revents = 0; in nxt_unit_read_buf() 4675 nevents = poll(fds, nfds, -1); in nxt_unit_read_buf() 4684 fds[0].fd, fds[1].fd, strerror(err), err); in nxt_unit_read_buf() 4692 fds[0].fd, fds[1].fd, nevents, fds[0].revents, in nxt_unit_read_buf() 4693 fds[1].revents); in nxt_unit_read_buf() 4714 fds[0].fd, fds[1].fd, nevents, fds[0].revents, in nxt_unit_read_buf() [all …]
|