Lines Matching refs:max_bytes
32 …write_chunkqueue_mtcp_writev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes)
36 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) {
87 if (toSend > max_bytes ||
88 (off_t) num_bytes + toSend > max_bytes) {
89 chunks[i].iov_len = max_bytes - num_bytes;
121 max_bytes -= r;
284 if (toSend > max_bytes) toSend = max_bytes;
311 max_bytes -= r;
346 …ite_chunkqueue_mtcp_writev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes) { in network_write_chunkqueue_mtcp_writev() argument
349 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_mtcp_writev()
365 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_mtcp_writev()
395 max_bytes -= r; in network_write_chunkqueue_mtcp_writev()
422 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_mtcp_writev()
508 max_bytes -= r; in network_write_chunkqueue_mtcp_writev()