Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/fs/btrfs/
H A 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 …]
H A 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);
H A 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()
H A 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()
H A 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()
H A Dinode.c846 unsigned long total_in = 0; in compress_file_range() local
914 total_in = 0; in compress_file_range()
941 mapping, start, pages, &nr_pages, &total_in, in compress_file_range()
964 if (total_in < actual_end) { in compress_file_range()
1013 total_in = round_up(total_in, fs_info->sectorsize); in compress_file_range()
1014 if (total_compressed + blocksize > total_in) in compress_file_range()
1021 ret = add_async_extent(async_chunk, start, total_in, total_compressed, pages, in compress_file_range()
1024 if (start + total_in < end) { in compress_file_range()
1025 start += total_in; in compress_file_range()
/openbmc/u-boot/fs/btrfs/
H A Dcompression.c74 stream.total_in = 0; in decompress_zlib()
92 while (stream.total_in < clen) { in decompress_zlib()
93 stream.next_in = cbuf + stream.total_in; in decompress_zlib()
94 stream.avail_in = min((u32) (clen - stream.total_in), in decompress_zlib()
/openbmc/linux/drivers/crypto/starfive/
H A 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 …]
H A Djh7110-cryp.h189 size_t total_in; member
/openbmc/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()
/openbmc/qemu/audio/
H A Daudio.c551 size_t *total_in, size_t *total_out) in audio_pcm_sw_resample_in() argument
567 *total_in = frames_in; in audio_pcm_sw_resample_in()
577 *total_in += frames_in; in audio_pcm_sw_resample_in()
585 size_t live, frames_out_max, total_in, total_out; in audio_pcm_sw_read() local
599 audio_pcm_sw_resample_in(sw, live, frames_out_max, &total_in, &total_out); in audio_pcm_sw_read()
606 sw->total_hw_samples_acquired += total_in; in audio_pcm_sw_read()
682 size_t *total_in, size_t *total_out) in audio_pcm_sw_resample_out() argument
698 *total_in = frames_in; in audio_pcm_sw_resample_out()
708 *total_in += frames_in; in audio_pcm_sw_resample_out()
717 size_t frames_in_max, frames_out_max, total_in, total_out; in audio_pcm_sw_write() local
[all …]
/openbmc/linux/include/linux/
H A Dzlib.h87 uLong total_in; /* total nb of input bytes read so far */ member
/openbmc/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()
/openbmc/u-boot/lib/zlib/
H A Ddeflate.c363 strm->total_in = strm->total_out = 0;
435 strm->total_in != 0) {
873 put_byte(s, (Byte)(strm->total_in & 0xff));
874 put_byte(s, (Byte)((strm->total_in >> 8) & 0xff));
875 put_byte(s, (Byte)((strm->total_in >> 16) & 0xff));
876 put_byte(s, (Byte)((strm->total_in >> 24) & 0xff));
1012 strm->total_in += len;
H A Dinflate.c14 strm->total_in = strm->total_out = state->total = 0; in inflateReset()
916 strm->total_in += in; in inflate()
/openbmc/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()
/openbmc/linux/fs/
H A Dbinfmt_flat.c207 strm.total_in = 0; in decompress_exec()
280 strm.total_in = 0; in decompress_exec()
/openbmc/u-boot/include/u-boot/
H A Dzlib.h423 uLong total_in; /* total nb of input bytes read so far */ member
/openbmc/linux/lib/zlib_deflate/
H A Ddeflate.c291 strm->total_in = strm->total_out = 0; in zlib_deflateReset()
522 strm->total_in += len; in read_buf()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c328 if (0 && zstream->total_out > zstream->total_in) in compress_page()