Searched refs:foff (Results 1 – 3 of 3) sorted by relevance
16 off_t foff; /* offset from the start of the file */ member195 return cfv->mptr - cfv->foff + offset; in chunk_file_view_dptr()205 return cfv->mlen + cfv->foff - offset; in chunk_file_view_dlen()219 : (c->offset - cfv->foff < 0 in chunkqueue_chunk_file_view()
144 cfv->foff = 0; in chunk_file_view_init()1723 cfv->foff = mmap_align_offset(c->offset); in chunkqueue_chunk_file_viewadj()1726 cfv->mlen = c->offset - cfv->foff + n; in chunkqueue_chunk_file_viewadj()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()1744 c->file.fd, cfv->foff); in chunkqueue_chunk_file_viewadj()1751 MAP_PRIVATE, c->file.fd, cfv->foff); in chunkqueue_chunk_file_viewadj()
76 const off_t foff = offset; in http_chunk_append_read_fd_range() local79 rd = chunk_file_pread(fd, b->ptr+offset, (size_t)len, foff+offset); in http_chunk_append_read_fd_range()