Searched refs:inputmargin (Results 1 – 2 of 2) sorted by relevance
/fs/erofs/ |
D | decompressor.c | 120 void *inpage, unsigned int *inputmargin, int *maptype, in z_erofs_lz4_handle_inplace_io() argument 173 min_t(unsigned int, total, PAGE_SIZE - *inputmargin); in z_erofs_lz4_handle_inplace_io() 177 memcpy(tmp, inpage + *inputmargin, page_copycnt); in z_erofs_lz4_handle_inplace_io() 183 *inputmargin = 0; in z_erofs_lz4_handle_inplace_io() 192 unsigned int inputmargin; in z_erofs_lz4_decompress_mem() local 199 inputmargin = 0; in z_erofs_lz4_decompress_mem() 206 while (!headpage[inputmargin & ~PAGE_MASK]) in z_erofs_lz4_decompress_mem() 207 if (!(++inputmargin & ~PAGE_MASK)) in z_erofs_lz4_decompress_mem() 210 if (inputmargin >= rq->inputsize) { in z_erofs_lz4_decompress_mem() 216 rq->inputsize -= inputmargin; in z_erofs_lz4_decompress_mem() [all …]
|
D | decompressor_lzma.c | 159 unsigned int inputmargin, inlen, outlen, pageofs; in z_erofs_lzma_decompress() local 167 inputmargin = 0; in z_erofs_lzma_decompress() 168 while (!kin[inputmargin & ~PAGE_MASK]) in z_erofs_lzma_decompress() 169 if (!(++inputmargin & ~PAGE_MASK)) in z_erofs_lzma_decompress() 172 if (inputmargin >= PAGE_SIZE) { in z_erofs_lzma_decompress() 176 rq->inputsize -= inputmargin; in z_erofs_lzma_decompress() 196 strm->buf.in = kin + inputmargin; in z_erofs_lzma_decompress() 198 strm->buf.in_size = min_t(u32, inlen, PAGE_SIZE - inputmargin); in z_erofs_lzma_decompress()
|