Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_socketpair.c87 nxt_uint_t niob) in nxt_socketpair_send() argument
96 n = nxt_sendmsg(ev->fd, iob, niob, &oob); in nxt_socketpair_send()
101 fd[1], niob, n); in nxt_socketpair_send()
128 ev->fd, fd[0], fd[1], niob, err); in nxt_socketpair_send()
141 nxt_socketpair_recv(nxt_fd_event_t *ev, nxt_iobuf_t *iob, nxt_uint_t niob, in nxt_socketpair_recv() argument
148 n = nxt_recvmsg(ev->fd, iob, niob, oob); in nxt_socketpair_recv()
153 ev->fd, niob, ((nxt_recv_oob_t *) oob)->size, n); in nxt_socketpair_recv()
182 ev->fd, niob, err); in nxt_socketpair_recv()
H A Dnxt_socket_msg.c11 nxt_sendmsg(nxt_socket_t s, nxt_iobuf_t *iob, nxt_uint_t niob, in nxt_sendmsg() argument
19 msg.msg_iovlen = niob; in nxt_sendmsg()
37 nxt_recvmsg(nxt_socket_t s, nxt_iobuf_t *iob, nxt_uint_t niob, in nxt_recvmsg() argument
46 msg.msg_iovlen = niob; in nxt_recvmsg()
H A Dnxt_conn_write.c432 nxt_uint_t niob; in nxt_event_conn_io_sendbuf() local
443 niob = nxt_sendbuf_mem_coalesce(c->socket.task, &sb); in nxt_event_conn_io_sendbuf()
445 if (niob == 0 && sb.sync) { in nxt_event_conn_io_sendbuf()
449 return nxt_event_conn_io_writev(c, iob, niob); in nxt_event_conn_io_sendbuf()
454 nxt_event_conn_io_writev(nxt_conn_t *c, nxt_iobuf_t *iob, nxt_uint_t niob) in nxt_event_conn_io_writev() argument
459 if (niob == 1) { in nxt_event_conn_io_writev()
465 n = writev(c->socket.fd, iob, niob); in nxt_event_conn_io_writev()
469 nxt_debug(c->socket.task, "writev(%d, %ui): %z", c->socket.fd, niob, n); in nxt_event_conn_io_writev()
491 "writev(%d, %ui) failed %E", c->socket.fd, niob, err); in nxt_event_conn_io_writev()
H A Dnxt_socket.h116 nxt_iobuf_t *iob, nxt_uint_t niob);
118 nxt_iobuf_t *iob, nxt_uint_t niob, void *oob);
H A Dnxt_socket_msg.h62 nxt_uint_t niob, const nxt_send_oob_t *oob);
69 nxt_iobuf_t *iob, nxt_uint_t niob, nxt_recv_oob_t *oob);
H A Dnxt_conn.h78 nxt_iobuf_t *iob, nxt_uint_t niob);
255 nxt_iobuf_t *iob, nxt_uint_t niob);
263 nxt_uint_t niob);