Home | History | Annotate | Download | only in vndcompress

Lines Matching refs:readsize

174 		const uint32_t readsize = (S->blkno == S->n_full_blocks?
176 assert(readsize > 0);
177 assert(readsize <= S->blocksize);
184 if (!ADD_OK(uint64_t, S->offset, 2*(uintmax_t)readsize) ||
185 !ADD_OK(off_t, S->offset, 2*(uintmax_t)readsize))
188 (uintmax_t)readsize);
193 S->blocksize, readsize, uncompbuf, compbuf);
763 uint32_t readsize, void *uncompbuf, void *compbuf)
766 assert(readsize <= blocksize);
770 const ssize_t n_read = read_block(in_fd, uncompbuf, readsize);
774 if ((size_t)n_read != readsize)
776 blkno, (size_t)n_read, readsize);
782 (VNDCOMPRESS_COMPAT? blocksize : readsize); /* XXX */