Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/fs/btrfs/
Dzlib.c68 unsigned long *total_in, in zlib_compress_pages() argument
85 *total_in = 0; in zlib_compress_pages()
93 workspace->strm.total_in = 0; in zlib_compress_pages()
113 while (workspace->strm.total_in < len) { in zlib_compress_pages()
124 if (workspace->strm.total_in > 8192 && in zlib_compress_pages()
125 workspace->strm.total_in < in zlib_compress_pages()
153 if (workspace->strm.total_in >= len) in zlib_compress_pages()
161 bytes_left = len - workspace->strm.total_in; in zlib_compress_pages()
183 if (workspace->strm.total_out >= workspace->strm.total_in) { in zlib_compress_pages()
190 *total_in = workspace->strm.total_in; in zlib_compress_pages()
[all …]
Dcompression.h73 unsigned long *total_in,
110 unsigned long *total_in,
Dlzo.c117 unsigned long *total_in, in lzo_compress_pages() argument
142 *total_in = 0; in lzo_compress_pages()
270 *total_in = tot_in; in lzo_compress_pages()
Dzstd.c84 unsigned long *total_in, in zstd_compress_pages() argument
102 *total_in = 0; in zstd_compress_pages()
245 *total_in = tot_in; in zstd_compress_pages()
Dcompression.c1044 unsigned long *total_in, in btrfs_compress_pages() argument
1057 total_in, total_out); in btrfs_compress_pages()
Dinode.c451 unsigned long total_in = 0; in compress_file_range() local
493 total_in = 0; in compress_file_range()
537 &total_in, in compress_file_range()
561 if (ret || total_in < actual_end) { in compress_file_range()
615 total_in = ALIGN(total_in, PAGE_SIZE); in compress_file_range()
616 if (total_compressed + blocksize <= total_in) { in compress_file_range()
624 add_async_extent(async_cow, start, total_in, in compress_file_range()
628 if (start + total_in < end) { in compress_file_range()
629 start += total_in; in compress_file_range()
/Linux-v4.19/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()
933 cryp->total_in = req->nbytes; in stm32_cryp_prepare_req()
934 cryp->total_out = cryp->total_in; in stm32_cryp_prepare_req()
959 cryp->total_in = areq->assoclen + areq->cryptlen; in stm32_cryp_prepare_req()
[all …]
/Linux-v4.19/include/linux/
Dzlib.h87 uLong total_in; /* total nb of input bytes read so far */ member
/Linux-v4.19/lib/zlib_inflate/
Dinflate.c29 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset()
722 strm->total_in += in; in zlib_inflate()
780 z->total_in += z->avail_in; in zlib_inflateIncomp()
/Linux-v4.19/arch/powerpc/kernel/
Dnvram_64.c341 stream.total_in = 0; in nvram_compress()
354 if (stream.total_out >= stream.total_in) in nvram_compress()
/Linux-v4.19/fs/
Dbinfmt_flat.c205 strm.total_in = 0; in decompress_exec()
278 strm.total_in = 0; in decompress_exec()
/Linux-v4.19/lib/zlib_deflate/
Ddeflate.c262 strm->total_in = strm->total_out = 0; in zlib_deflateReset()
511 strm->total_in += len; in read_buf()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gpu_error.c274 if (0 && zstream->total_out > zstream->total_in) in compress_page()