Lines Matching refs:offset
42 char * offset; in network_write_chunkqueue_freebsdsendfile() local
63 offset = tc->mem->ptr + tc->offset; in network_write_chunkqueue_freebsdsendfile()
64 toSend = tc->mem->used - 1 - tc->offset; in network_write_chunkqueue_freebsdsendfile()
66 chunks[i].iov_base = offset; in network_write_chunkqueue_freebsdsendfile()
111 tc->offset += chunks[i].iov_len; in network_write_chunkqueue_freebsdsendfile()
123 tc->offset += r; in network_write_chunkqueue_freebsdsendfile()
133 off_t offset, r; in network_write_chunkqueue_freebsdsendfile() local
143 offset = c->file.start + c->offset; in network_write_chunkqueue_freebsdsendfile()
144 toSend = c->file.length - c->offset; in network_write_chunkqueue_freebsdsendfile()
162 if (-1 == sendfile(c->file.fd, fd, offset, toSend, NULL, &r, 0)) { in network_write_chunkqueue_freebsdsendfile()
186 if (offset >= sce->st.st_size) { in network_write_chunkqueue_freebsdsendfile()
194 c->offset += r; in network_write_chunkqueue_freebsdsendfile()
198 if (c->offset == c->file.length) { in network_write_chunkqueue_freebsdsendfile()