Lines Matching refs:length
117 c->file.length = 0; in chunk_init()
212 c->file.length = 0; in chunk_reset_file_chunk()
434 : c->file.length) in chunk_remaining_length()
484 c->file.length = offset + len; in __attribute_nonnull__()
655 c->file.length += len; in chunkqueue_update_file()
802 if (c->file.length < (off_t)cq->upload_temp_file_size) in chunkqueue_get_append_tempfile()
892 const ssize_t written =pwrite(dst_c->file.fd, mem, len, dst_c->file.length); in chunkqueue_append_mem_to_tempfile()
899 dst_c->file.length += len; in chunkqueue_append_mem_to_tempfile()
908 dst_c->file.length += (size_t)written; in chunkqueue_append_mem_to_tempfile()
992 ssize_t wr = pwritev(c->file.fd, iov, (int)iovcnt, c->file.length); in chunkqueue_append_cqmem_to_tempfile()
1000 c->file.length += wr; in chunkqueue_append_cqmem_to_tempfile()
1068 loff_t off = c->file.length; in chunkqueue_append_splice_pipe_tempfile()
1073 c->file.length += len; in chunkqueue_append_splice_pipe_tempfile()
1083 c->file.length += (size_t)wr; in chunkqueue_append_splice_pipe_tempfile()
1353 if (c->file.length > st.st_size) { in chunk_open_file_chunk()
1385 const off_t len = c->file.length - c->offset; in chunkqueue_write_chunk_file_intermed()
1409 const off_t len = c->file.length - c->offset; in chunkqueue_write_chunk_file()
1469 const size_t len = (size_t)(c->file.length - c->offset); in chunkqueue_write_chunk_to_pipe()
1504 off_t len = filec->file.length - filec->offset; in chunkqueue_small_resp_optim()
1580 off_t len = c->file.length - c->offset; in chunkqueue_peek_data()
1739 if (cfv->mlen > c->file.length - cfv->foff) in chunkqueue_chunk_file_viewadj()
1740 cfv->mlen = c->file.length - cfv->foff; in chunkqueue_chunk_file_viewadj()