Lines Matching refs:off_t
116 static int network_remove_finished_chunks(chunkqueue * const cq, const off_t len) { in network_remove_finished_chunks()
123 static ssize_t network_write_data_len(int fd, const char *data, off_t len) { in network_write_data_len()
131 …nst int fd, chunkqueue * const cq, off_t * const p_max_bytes, log_error_st * const errh, const ssi… in network_write_accounting()
149 static int network_write_mem_chunk(const int fd, chunkqueue * const cq, off_t * const p_max_bytes, … in network_write_mem_chunk()
151 off_t c_len = (off_t)buffer_clen(c->mem) - c->offset; in network_write_mem_chunk()
164 static int network_write_file_chunk_no_mmap(const int fd, chunkqueue * const cq, off_t * const p_ma… in network_write_file_chunk_no_mmap()
166 off_t toSend = c->file.length - c->offset; in network_write_file_chunk_no_mmap()
171 if (toSend > (off_t)sizeof(buf)) toSend = (off_t)sizeof(buf); in network_write_file_chunk_no_mmap()
192 static off_t
193 network_write_setjmp_write_cb (void *fd, const void *data, off_t len) in network_write_setjmp_write_cb()
199 static int network_write_file_chunk_mmap(const int fd, chunkqueue * const cq, off_t * const p_max_b… in network_write_file_chunk_mmap()
207 off_t toSend = c->file.length - c->offset; in network_write_file_chunk_mmap()
211 const off_t mmap_avail = chunk_file_view_dlen(cfv, c->offset); in network_write_file_chunk_mmap()
214 off_t wr = sys_setjmp_eval3(network_write_setjmp_write_cb, in network_write_file_chunk_mmap()
254 static int network_writev_mem_chunks(const int fd, chunkqueue * const cq, off_t * const p_max_bytes… in network_writev_mem_chunks()
256 off_t toSend = 0; in network_writev_mem_chunks()
260 const off_t c_len = (off_t)buffer_clen(c->mem) - c->offset; in network_writev_mem_chunks()
295 static int network_write_file_chunk_sendfile(const int fd, chunkqueue * const cq, off_t * const p_m… in network_write_file_chunk_sendfile()
298 off_t offset; in network_write_file_chunk_sendfile()
299 off_t toSend; in network_write_file_chunk_sendfile()
300 off_t written = 0; in network_write_file_chunk_sendfile()
315 if (wr > 0) written = (off_t)wr; in network_write_file_chunk_sendfile()
406 static int network_write_chunkqueue_writev(const int fd, chunkqueue * const cq, off_t max_bytes, lo… in network_write_chunkqueue_writev()
434 static int network_write_chunkqueue_sendfile(const int fd, chunkqueue * const cq, off_t max_bytes, … in network_write_chunkqueue_sendfile()