Lines Matching refs:nbufs
675 req->nbufs - req->write_index); in uv__write_req_size()
710 return req->write_index == req->nbufs; in uv__write_req_update()
756 unsigned int nbufs, in uv__try_write() argument
768 iovcnt = nbufs; in uv__try_write()
864 req->nbufs - req->write_index, in uv__write()
1296 unsigned int nbufs, in uv__check_before_write() argument
1298 assert(nbufs > 0); in uv__check_before_write()
1336 unsigned int nbufs, in uv_write2() argument
1342 err = uv__check_before_write(stream, nbufs, send_handle); in uv_write2()
1363 if (nbufs > ARRAY_SIZE(req->bufsml)) in uv_write2()
1364 req->bufs = uv__malloc(nbufs * sizeof(bufs[0])); in uv_write2()
1369 memcpy(req->bufs, bufs, nbufs * sizeof(bufs[0])); in uv_write2()
1370 req->nbufs = nbufs; in uv_write2()
1372 stream->write_queue_size += uv__count_bufs(bufs, nbufs); in uv_write2()
1408 unsigned int nbufs, in uv_write() argument
1410 return uv_write2(req, handle, bufs, nbufs, NULL, cb); in uv_write()
1416 unsigned int nbufs) { in uv_try_write() argument
1417 return uv_try_write2(stream, bufs, nbufs, NULL); in uv_try_write()
1423 unsigned int nbufs, in uv_try_write2() argument
1431 err = uv__check_before_write(stream, nbufs, NULL); in uv_try_write2()
1435 return uv__try_write(stream, bufs, nbufs, send_handle); in uv_try_write2()