Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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()
215 if (workspace->strm.total_in >= len) in zlib_compress_pages()
253 if (workspace->strm.total_out >= workspace->strm.total_in) { in zlib_compress_pages()
260 *total_in = workspace->strm.total_in; in zlib_compress_pages()
[all …]
Dcompression.h83 unsigned long *total_in,
143 unsigned long *total_in, unsigned long *total_out);
154 unsigned long *total_in, unsigned long *total_out);
164 unsigned long *total_in, unsigned long *total_out);
Dlzo.c214 unsigned long *total_in, unsigned long *total_out) in lzo_compress_pages() argument
231 *total_in = 0; in lzo_compress_pages()
297 *total_in = cur_in - start; in lzo_compress_pages()
Dcompression.c96 unsigned long *out_pages, unsigned long *total_in, in compression_compress_pages() argument
102 out_pages, total_in, total_out); in compression_compress_pages()
105 out_pages, total_in, total_out); in compression_compress_pages()
108 out_pages, total_in, total_out); in compression_compress_pages()
907 unsigned long *total_in, in btrfs_compress_pages() argument
918 out_pages, total_in, total_out); in btrfs_compress_pages()
Dzstd.c375 unsigned long *total_in, unsigned long *total_out) in zstd_compress_pages() argument
393 *total_in = 0; in zstd_compress_pages()
531 *total_in = tot_in; in zstd_compress_pages()
Dinode.c845 unsigned long total_in = 0; in compress_file_range() local
913 total_in = 0; in compress_file_range()
940 mapping, start, pages, &nr_pages, &total_in, in compress_file_range()
963 if (total_in < actual_end) { in compress_file_range()
1012 total_in = round_up(total_in, fs_info->sectorsize); in compress_file_range()
1013 if (total_compressed + blocksize > total_in) in compress_file_range()
1020 add_async_extent(async_chunk, start, total_in, total_compressed, pages, in compress_file_range()
1022 if (start + total_in < end) { in compress_file_range()
1023 start += total_in; in compress_file_range()
/Linux-v6.6/drivers/crypto/starfive/
Djh7110-aes.c128 writel(upper_32_bits(cryp->total_in), cryp->base + STARFIVE_AES_MLEN0); in starfive_aes_set_mlen()
129 writel(lower_32_bits(cryp->total_in), cryp->base + STARFIVE_AES_MLEN1); in starfive_aes_set_mlen()
224 textlen = cryp->total_in; in starfive_aes_ccm_init()
385 cryp->total_in), 0); in starfive_aes_done_task()
386 cryp->total_in -= min_t(size_t, AES_BLOCK_SIZE, cryp->total_in); in starfive_aes_done_task()
479 cryp->total_in = req->cryptlen; in starfive_aes_prepare_req()
488 cryp->total_in = areq->cryptlen; in starfive_aes_prepare_req()
491 cryp->total_in = areq->cryptlen - cryp->authsize; in starfive_aes_prepare_req()
492 cryp->total_out = cryp->total_in; in starfive_aes_prepare_req()
538 cryp->total_in), 0); in starfive_aes_do_one_req()
[all …]
Djh7110-cryp.h188 size_t total_in; member
/Linux-v6.6/lib/zlib_dfltcc/
Ddfltcc_deflate.c85 strm->total_in += (strm->avail_in - avail_in); in dfltcc_cmpr()
175 strm->total_in > dfltcc_state->block_threshold && in dfltcc_deflate()
191 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()
244 if (strm->total_in == 0 && dfltcc_state->block_threshold > 0) { in dfltcc_deflate()
289 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()
/Linux-v6.6/include/linux/
Dzlib.h87 uLong total_in; /* total nb of input bytes read so far */ member
/Linux-v6.6/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-v6.6/fs/
Dbinfmt_flat.c205 strm.total_in = 0; in decompress_exec()
278 strm.total_in = 0; in decompress_exec()
/Linux-v6.6/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-v6.6/lib/zlib_deflate/
Ddeflate.c291 strm->total_in = strm->total_out = 0; in zlib_deflateReset()
522 strm->total_in += len; in read_buf()
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_gpu_error.c328 if (0 && zstream->total_out > zstream->total_in) in compress_page()