| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | network_backends.h | 62 …work_write_chunkqueue_write(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes); 63 …ork_write_chunkqueue_writev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes); 64 …te_chunkqueue_linuxsendfile(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes); 65 …_chunkqueue_freebsdsendfile(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes); 66 …chunkqueue_solarissendfilev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes); 67 …rite_chunkqueue_mtcp_writev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes); 69 …_write_chunkqueue_openssl(server *srv, connection *con, SSL *ssl, chunkqueue *cq, off_t max_bytes);
|
| H A D | network_freebsd_sendfile.c | 34 …chunkqueue_freebsdsendfile(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes) { in network_write_chunkqueue_freebsdsendfile() argument 37 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_freebsdsendfile() 69 if (toSend > max_bytes || in network_write_chunkqueue_freebsdsendfile() 70 (off_t) num_bytes + toSend > max_bytes) { in network_write_chunkqueue_freebsdsendfile() 71 chunks[i].iov_len = max_bytes - num_bytes; in network_write_chunkqueue_freebsdsendfile() 105 max_bytes -= r; in network_write_chunkqueue_freebsdsendfile() 145 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_freebsdsendfile() 196 max_bytes -= r; in network_write_chunkqueue_freebsdsendfile()
|
| H A D | network_openssl.c | 30 …write_chunkqueue_openssl(server *srv, connection *con, SSL *ssl, chunkqueue *cq, off_t max_bytes) { in network_write_chunkqueue_openssl() argument 61 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_openssl() 77 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_openssl() 149 max_bytes -= r; in network_write_chunkqueue_openssl() 179 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_openssl() 262 max_bytes -= r; in network_write_chunkqueue_openssl() 268 } while (!chunk_finished && !write_wait && max_bytes > 0); in network_write_chunkqueue_openssl()
|
| H A D | network_linux_sendfile.c | 30 …e_chunkqueue_linuxsendfile(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes) { in network_write_chunkqueue_linuxsendfile() argument 33 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_linuxsendfile() 67 if (toSend > max_bytes || in network_write_chunkqueue_linuxsendfile() 68 (off_t) num_bytes + toSend > max_bytes) { in network_write_chunkqueue_linuxsendfile() 69 chunks[i].iov_len = max_bytes - num_bytes; in network_write_chunkqueue_linuxsendfile() 100 max_bytes -= r; in network_write_chunkqueue_linuxsendfile() 135 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_linuxsendfile() 214 max_bytes -= r; in network_write_chunkqueue_linuxsendfile()
|
| H A D | network_mtcp_writev.c | 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; 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() [all …]
|
| H A D | network_write.c | 27 …ork_write_chunkqueue_write(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes) { in network_write_chunkqueue_write() argument 30 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_write() 46 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_write() 76 max_bytes -= r; in network_write_chunkqueue_write() 103 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_write() 188 max_bytes -= r; in network_write_chunkqueue_write()
|
| H A D | network_solaris_sendfilev.c | 41 …hunkqueue_solarissendfilev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes) { in network_write_chunkqueue_solarissendfilev() argument 44 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_solarissendfilev() 79 if (toSend > max_bytes || in network_write_chunkqueue_solarissendfilev() 80 (off_t) num_bytes + toSend > max_bytes) { in network_write_chunkqueue_solarissendfilev() 81 chunks[i].iov_len = max_bytes - num_bytes; in network_write_chunkqueue_solarissendfilev() 154 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_solarissendfilev() 188 max_bytes -= written; in network_write_chunkqueue_solarissendfilev()
|
| H A D | network_writev.c | 33 …rk_write_chunkqueue_writev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes) { in network_write_chunkqueue_writev() argument 36 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_writev() 87 if (toSend > max_bytes || in network_write_chunkqueue_writev() 88 (off_t) num_bytes + toSend > max_bytes) { in network_write_chunkqueue_writev() 89 chunks[i].iov_len = max_bytes - num_bytes; in network_write_chunkqueue_writev() 121 max_bytes -= r; in network_write_chunkqueue_writev() 284 if (toSend > max_bytes) toSend = max_bytes; in network_write_chunkqueue_writev() 311 max_bytes -= r; in network_write_chunkqueue_writev()
|
| H A D | network.c | 996 network_write_chunkqueue(server *srv, connection *con, chunkqueue *cq, off_t max_bytes) { argument 1014 if (max_bytes > limit) max_bytes = limit; 1028 if (max_bytes > limit) max_bytes = limit; 1046 ret = srv->network_ssl_backend_write(srv, con, con->ssl, cq, max_bytes); 1049 ret = srv->network_backend_write(srv, con, con->fd, cq, max_bytes);
|
| H A D | network.h | 6 int network_write_chunkqueue(server *srv, connection *con, chunkqueue *c, off_t max_bytes);
|
| H A D | base.h | 663 …twork_backend_write)(struct server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes); 665 …ssl_backend_write)(struct server *srv, connection *con, SSL *ssl, chunkqueue *cq, off_t max_bytes);
|