Lines Matching refs:length
182 abs_offset == (off_t)(c->file.mmap.offset + c->file.mmap.length)) {
211 munmap(c->file.mmap.start, c->file.mmap.length);
223 we_want_to_send = c->file.length - c->offset;
224 to_mmap = (c->file.start + c->file.length) - c->file.mmap.offset;
252 c->file.mmap.length = to_mmap;
254 buffer_copy_string_len(c->mem, c->file.mmap.start, c->file.mmap.length);
258 if (c->file.mmap.length > (64 KByte)) {
263 madvise(c->file.mmap.start, c->file.mmap.length, MADV_WILLNEED);
272 toSend = (c->file.mmap.offset + c->file.mmap.length) - (abs_offset);
278 c->file.mmap.length,
313 if (c->offset == c->file.length) {
318 munmap(c->file.mmap.start, c->file.mmap.length);
420 toSend = c->file.length - c->offset; in network_write_chunkqueue_mtcp_writev()
510 if (c->offset == c->file.length) { in network_write_chunkqueue_mtcp_writev()