Lines Matching refs:decodedlength
49 if (rq->decodedskip || total != rq->decodedlength) { in z_erofs_decompress_zstd()
70 if (rq->decodedskip || total != rq->decodedlength) in z_erofs_decompress_zstd()
72 rq->decodedlength - rq->decodedskip); in z_erofs_decompress_zstd()
199 buff = malloc(rq->decodedlength); in z_erofs_decompress_qpl()
209 job->available_out = rq->decodedlength; in z_erofs_decompress_qpl()
220 rq->decodedlength - rq->decodedskip); in z_erofs_decompress_qpl()
256 decodedcapacity = rq->decodedlength << (4 * rq->partial_decoding); in z_erofs_decompress_deflate()
290 if (actual_out < rq->decodedlength) { in z_erofs_decompress_deflate()
297 rq->decodedlength, NULL); in z_erofs_decompress_deflate()
306 rq->decodedlength - rq->decodedskip); in z_erofs_decompress_deflate()
349 buff = malloc(rq->decodedlength); in z_erofs_decompress_deflate()
370 strm.avail_out = rq->decodedlength; in z_erofs_decompress_deflate()
373 if (ret != Z_STREAM_END || strm.total_out != rq->decodedlength) { in z_erofs_decompress_deflate()
382 rq->decodedlength - rq->decodedskip); in z_erofs_decompress_deflate()
410 buff = malloc(rq->decodedlength); in z_erofs_decompress_lzma()
420 strm.avail_out = rq->decodedlength; in z_erofs_decompress_lzma()
422 ret2 = lzma_microlzma_decoder(&strm, strm.avail_in, rq->decodedlength, in z_erofs_decompress_lzma()
439 rq->decodedlength - rq->decodedskip); in z_erofs_decompress_lzma()
472 buff = malloc(rq->decodedlength); in z_erofs_decompress_lz4()
481 rq->decodedlength, rq->decodedlength); in z_erofs_decompress_lz4()
485 rq->decodedlength); in z_erofs_decompress_lz4()
487 if (ret != (int)rq->decodedlength) { in z_erofs_decompress_lz4()
490 ret, rq->inputsize, inputmargin, rq->decodedlength); in z_erofs_decompress_lz4()
497 rq->decodedlength - rq->decodedskip); in z_erofs_decompress_lz4()
518 if (rq->decodedlength > erofs_blksiz(sbi)) in z_erofs_decompress()
521 if (rq->decodedlength < rq->decodedskip) in z_erofs_decompress()
524 count = rq->decodedlength - rq->decodedskip; in z_erofs_decompress()
531 if (rq->decodedlength > rq->inputsize) in z_erofs_decompress()
534 DBG_BUGON(rq->decodedlength < rq->decodedskip); in z_erofs_decompress()
536 rq->decodedlength - rq->decodedskip); in z_erofs_decompress()