Home
last modified time | relevance | path

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

/linux/fs/jffs2/
H A 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/fs/btrfs/
H A Dzlib.c172 workspace->strm.total_in = 0; in zlib_compress_bio()
186 while (workspace->strm.total_in < len) { in zlib_compress_bio()
192 unsigned long bytes_left = len - workspace->strm.total_in; in zlib_compress_bio()
241 if (workspace->strm.total_in > fs_info->sectorsize * 2 && in zlib_compress_bio()
242 workspace->strm.total_in < workspace->strm.total_out) { in zlib_compress_bio()
266 if (workspace->strm.total_in >= len) in zlib_compress_bio()
321 if (workspace->strm.total_out >= workspace->strm.total_in) { in zlib_compress_bio()
361 workspace->strm.total_in = 0; in zlib_decompress_bio()
388 while (workspace->strm.total_in < srclen) { in zlib_decompress_bio()
421 tmp = srclen - workspace->strm.total_in; in zlib_decompress_bio()
[all …]
H A Dinode.c880 unsigned long total_in = 0; in compress_file_range() local
914 total_in = 0; in compress_file_range()
956 total_in = cur_len; in compress_file_range()
971 total_in = round_up(total_in, fs_info->sectorsize); in compress_file_range()
972 if (total_compressed + blocksize > total_in) in compress_file_range()
980 ret = add_async_extent(async_chunk, start, total_in, cb); in compress_file_range()
982 if (start + total_in < end) { in compress_file_range()
983 start += total_in; in compress_file_range()
/linux/lib/zlib_dfltcc/
H A 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/drivers/crypto/starfive/
H A Djh7110-aes.c118 writel(upper_32_bits(cryp->total_in), cryp->base + STARFIVE_AES_MLEN0); in starfive_aes_set_mlen()
119 writel(lower_32_bits(cryp->total_in), cryp->base + STARFIVE_AES_MLEN1); in starfive_aes_set_mlen()
214 textlen = cryp->total_in; in starfive_aes_ccm_init()
314 cryp->total_in, cryp->authsize, 1); in starfive_aes_read_authtag()
505 unsigned int remain = cryp->total_in; in starfive_aes_map_sg()
576 cryp->total_in = req->cryptlen; in starfive_aes_do_one_req()
590 if (!cryp->total_in) in starfive_aes_do_one_req()
656 cryp->total_in = req->cryptlen; in starfive_aes_aead_do_one_req()
659 cryp->total_in = req->cryptlen - cryp->authsize; in starfive_aes_aead_do_one_req()
660 cryp->total_out = cryp->total_in; in starfive_aes_aead_do_one_req()
[all …]
/linux/include/linux/
H A Dzlib.h87 uLong total_in; /* total nb of input bytes read so far */ member
/linux/lib/zlib_inflate/
H A 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/fs/
H A Dbinfmt_flat.c207 strm.total_in = 0; in decompress_exec()
280 strm.total_in = 0; in decompress_exec()
/linux/arch/powerpc/kernel/
H A Dnvram_64.c331 stream.total_in = 0; in nvram_compress()
344 if (stream.total_out >= stream.total_in) in nvram_compress()