Home
last modified time | relevance | path

Searched refs:total_in (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/fs/jffs2/
Dcompr_zlib.c90 def_strm.total_in = 0; in jffs2_zlib_compress()
95 while (def_strm.total_out < *dstlen - STREAM_END_SPACE && def_strm.total_in < *sourcelen) { in jffs2_zlib_compress()
98 (*sourcelen-def_strm.total_in), def_strm.avail_out); in jffs2_zlib_compress()
104 def_strm.total_in, def_strm.total_out); in jffs2_zlib_compress()
123 if (def_strm.total_out >= def_strm.total_in) { in jffs2_zlib_compress()
125 def_strm.total_in, def_strm.total_out); in jffs2_zlib_compress()
131 def_strm.total_in, def_strm.total_out); in jffs2_zlib_compress()
134 *sourcelen = def_strm.total_in; in jffs2_zlib_compress()
152 inf_strm.total_in = 0; in jffs2_zlib_decompress()
/Linux-v5.15/fs/btrfs/
Dzlib.c96 unsigned long *total_in, unsigned long *total_out) in zlib_compress_pages() argument
113 *total_in = 0; in zlib_compress_pages()
121 workspace->strm.total_in = 0; in zlib_compress_pages()
138 while (workspace->strm.total_in < len) { in zlib_compress_pages()
144 bytes_left = len - workspace->strm.total_in; in zlib_compress_pages()
188 if (workspace->strm.total_in > 8192 && in zlib_compress_pages()
189 workspace->strm.total_in < in zlib_compress_pages()
217 if (workspace->strm.total_in >= len) in zlib_compress_pages()
257 if (workspace->strm.total_out >= workspace->strm.total_in) { in zlib_compress_pages()
264 *total_in = workspace->strm.total_in; in zlib_compress_pages()
[all …]
Dcompression.h85 unsigned long *total_in,
148 unsigned long *total_in, unsigned long *total_out);
159 unsigned long *total_in, unsigned long *total_out);
169 unsigned long *total_in, unsigned long *total_out);
Dlzo.c117 unsigned long *total_in, unsigned long *total_out) in lzo_compress_pages() argument
141 *total_in = 0; in lzo_compress_pages()
268 *total_in = tot_in; in lzo_compress_pages()
Dzstd.c371 unsigned long *total_in, unsigned long *total_out) in zstd_compress_pages() argument
389 *total_in = 0; in zstd_compress_pages()
532 *total_in = tot_in; in zstd_compress_pages()
Dcompression.c68 unsigned long *out_pages, unsigned long *total_in, in compression_compress_pages() argument
74 out_pages, total_in, total_out); in compression_compress_pages()
77 out_pages, total_in, total_out); in compression_compress_pages()
80 out_pages, total_in, total_out); in compression_compress_pages()
1211 unsigned long *total_in, in btrfs_compress_pages() argument
1222 out_pages, total_in, total_out); in btrfs_compress_pages()
Dinode.c573 unsigned long total_in = 0; in compress_file_range() local
628 total_in = 0; in compress_file_range()
673 &total_in, in compress_file_range()
695 if (ret || total_in < actual_end) { in compress_file_range()
763 total_in = ALIGN(total_in, PAGE_SIZE); in compress_file_range()
764 if (total_compressed + blocksize <= total_in) { in compress_file_range()
772 add_async_extent(async_chunk, start, total_in, in compress_file_range()
776 if (start + total_in < end) { in compress_file_range()
777 start += total_in; in compress_file_range()
/Linux-v5.15/drivers/crypto/stm32/
Dstm32-cryp.c147 size_t total_in; member
318 ret = stm32_cryp_check_aligned(cryp->in_sg, cryp->total_in, in stm32_cryp_check_io_aligned()
346 int pages, total_in, total_out; in stm32_cryp_copy_sgs() local
353 total_in = ALIGN(cryp->total_in, cryp->hw_blocksize); in stm32_cryp_copy_sgs()
354 pages = total_in ? get_order(total_in) : 1; in stm32_cryp_copy_sgs()
367 sg_copy_buf(buf_in, cryp->in_sg, 0, cryp->total_in, 0); in stm32_cryp_copy_sgs()
369 sg_init_one(&cryp->in_sgl, buf_in, total_in); in stm32_cryp_copy_sgs()
947 cryp->total_in = req->cryptlen; in stm32_cryp_prepare_req()
948 cryp->total_out = cryp->total_in; in stm32_cryp_prepare_req()
974 cryp->total_in = areq->assoclen + areq->cryptlen; in stm32_cryp_prepare_req()
[all …]
/Linux-v5.15/lib/zlib_dfltcc/
Ddfltcc_deflate.c66 strm->total_in += (strm->avail_in - avail_in); in dfltcc_cmpr()
149 strm->total_in > dfltcc_state->block_threshold && in dfltcc_deflate()
165 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()
213 if (strm->total_in == 0 && dfltcc_state->block_threshold > 0) { in dfltcc_deflate()
258 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()
/Linux-v5.15/include/linux/
Dzlib.h87 uLong total_in; /* total nb of input bytes read so far */ member
/Linux-v5.15/lib/zlib_inflate/
Dinflate.c39 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset()
750 strm->total_in += in; in zlib_inflate()
808 z->total_in += z->avail_in; in zlib_inflateIncomp()
/Linux-v5.15/arch/powerpc/kernel/
Dnvram_64.c331 stream.total_in = 0; in nvram_compress()
344 if (stream.total_out >= stream.total_in) in nvram_compress()
/Linux-v5.15/fs/
Dbinfmt_flat.c228 strm.total_in = 0; in decompress_exec()
301 strm.total_in = 0; in decompress_exec()
/Linux-v5.15/lib/zlib_deflate/
Ddeflate.c291 strm->total_in = strm->total_out = 0; in zlib_deflateReset()
515 strm->total_in += len; in read_buf()
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_gpu_error.c318 if (0 && zstream->total_out > zstream->total_in) in compress_page()