Lines Matching refs:bufs
105 handle->send_queue_size -= uv__count_bufs(req->bufs, req->nbufs); in uv__udp_run_completed()
108 if (req->bufs != req->bufsml) in uv__udp_run_completed()
109 uv__free(req->bufs); in uv__udp_run_completed()
110 req->bufs = NULL; in uv__udp_run_completed()
308 h.msg_iov = (struct iovec*) req->bufs; in uv__udp_sendmsg_one()
372 h[pkts].msg_hdr.msg_iov = (struct iovec*) req->bufs; in uv__udp_sendmsg_many()
408 req->status = req->bufs[0].len; in uv__udp_sendmsg_many()
723 const uv_buf_t bufs[], in uv__udp_send() argument
755 req->bufs = req->bufsml; in uv__udp_send()
757 req->bufs = uv__malloc(nbufs * sizeof(bufs[0])); in uv__udp_send()
759 if (req->bufs == NULL) { 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()
788 const uv_buf_t bufs[], in uv__udp_try_send() argument
813 h.msg_iov = (struct iovec*) bufs; in uv__udp_try_send()