Lines Matching refs:nbufs
105 handle->send_queue_size -= uv__count_bufs(req->bufs, req->nbufs); in uv__udp_run_completed()
309 h.msg_iovlen = req->nbufs; in uv__udp_sendmsg_one()
373 h[pkts].msg_hdr.msg_iovlen = req->nbufs; in uv__udp_sendmsg_many()
442 if (req->nbufs != 1 || &handle->write_queue != uv__queue_next(&req->queue)) in uv__udp_sendmsg()
724 unsigned int nbufs, in uv__udp_send() argument
731 assert(nbufs > 0); in uv__udp_send()
753 req->nbufs = nbufs; in uv__udp_send()
756 if (nbufs > ARRAY_SIZE(req->bufsml)) in uv__udp_send()
757 req->bufs = uv__malloc(nbufs * sizeof(bufs[0])); in uv__udp_send()
764 memcpy(req->bufs, bufs, nbufs * sizeof(bufs[0])); in uv__udp_send()
765 handle->send_queue_size += uv__count_bufs(req->bufs, req->nbufs); in uv__udp_send()
789 unsigned int nbufs, in uv__udp_try_send() argument
796 assert(nbufs > 0); in uv__udp_try_send()
814 h.msg_iovlen = nbufs; in uv__udp_try_send()