Home
last modified time | relevance | path

Searched refs:avail_in (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/fs/jffs2/
Dcompr_zlib.c97 def_strm.avail_in = min_t(unsigned long, in jffs2_zlib_compress()
100 def_strm.avail_in, def_strm.avail_out); in jffs2_zlib_compress()
103 def_strm.avail_in, def_strm.avail_out, in jffs2_zlib_compress()
113 def_strm.avail_in = 0; in jffs2_zlib_compress()
151 inf_strm.avail_in = srclen; in jffs2_zlib_decompress()
167 inf_strm.avail_in -= 2; in jffs2_zlib_decompress()
/linux-4.19.296/lib/
Ddecompress_inflate.c104 strm->avail_in = len - 10; in __gunzip()
113 if (strm->avail_in == 0) { in __gunzip()
117 --strm->avail_in; in __gunzip()
132 if (strm->avail_in == 0) { in __gunzip()
141 strm->avail_in = len; in __gunzip()
/linux-4.19.296/fs/squashfs/
Dzlib_wrapper.c74 stream->avail_in = 0; in zlib_uncompress()
77 if (stream->avail_in == 0 && k < b) { in zlib_uncompress()
81 stream->avail_in = avail; in zlib_uncompress()
102 if (stream->avail_in == 0 && k < b) in zlib_uncompress()
/linux-4.19.296/fs/btrfs/
Dzlib.c111 workspace->strm.avail_in = min(len, PAGE_SIZE); in zlib_compress_pages()
157 if (workspace->strm.avail_in == 0) { in zlib_compress_pages()
169 workspace->strm.avail_in = min(bytes_left, in zlib_compress_pages()
174 workspace->strm.avail_in = 0; in zlib_compress_pages()
220 workspace->strm.avail_in = min_t(size_t, srclen, PAGE_SIZE); in zlib_decompress_bio()
235 workspace->strm.avail_in -= 2; in zlib_decompress_bio()
266 if (workspace->strm.avail_in == 0) { in zlib_decompress_bio()
277 workspace->strm.avail_in = min(tmp, in zlib_decompress_bio()
311 workspace->strm.avail_in = srclen; in zlib_decompress()
325 workspace->strm.avail_in -= 2; in zlib_decompress()
/linux-4.19.296/fs/isofs/
Dcompress.c56 .avail_in = 0, in zisofs_uncompress_block()
137 if (!stream.avail_in) { in zisofs_uncompress_block()
145 stream.avail_in = min_t(unsigned, bufsize - in zisofs_uncompress_block()
148 block_size -= stream.avail_in; in zisofs_uncompress_block()
152 while (stream.avail_out && stream.avail_in) { in zisofs_uncompress_block()
154 if (zerr == Z_BUF_ERROR && stream.avail_in == 0) in zisofs_uncompress_block()
170 curbh, stream.avail_in, in zisofs_uncompress_block()
186 if (!stream.avail_in) in zisofs_uncompress_block()
/linux-4.19.296/lib/zlib_inflate/
Dinflate.c171 have = strm->avail_in; \
182 strm->avail_in = have; \
339 (strm->next_in == NULL && strm->avail_in != 0)) in zlib_inflate()
720 in -= strm->avail_in; in zlib_inflate()
733 strm->avail_out != 0 && strm->avail_in == 0) in zlib_inflate()
768 z->next_out = (unsigned char*)z->next_in + z->avail_in; in zlib_inflateIncomp()
770 zlib_updatewindow(z, z->avail_in); in zlib_inflateIncomp()
777 UPDATE(state->check, z->next_in, z->avail_in); in zlib_inflateIncomp()
779 z->total_out += z->avail_in; in zlib_inflateIncomp()
780 z->total_in += z->avail_in; in zlib_inflateIncomp()
[all …]
Dinfutil.c28 strm->avail_in = len; in zlib_inflate_blob()
Dinffast.c98 last = in + (strm->avail_in - 5); in inflate_fast()
320 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
/linux-4.19.296/fs/cramfs/
Duncompress.c36 stream.avail_in = srclen; in cramfs_uncompress_block()
68 stream.avail_in = 0; in cramfs_uncompress_init()
/linux-4.19.296/crypto/
Ddeflate.c194 stream->avail_in = slen; in __deflate_compress()
239 stream->avail_in = slen; in __deflate_decompress()
249 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
252 stream->avail_in = 1; in __deflate_decompress()
/linux-4.19.296/lib/zlib_deflate/
Ddeflate.c341 if ((strm->next_in == NULL && strm->avail_in != 0) || in zlib_deflate()
391 } else if (strm->avail_in == 0 && flush <= old_flush && in zlib_deflate()
397 if (s->status == FINISH_STATE && strm->avail_in != 0) { in zlib_deflate()
403 if (strm->avail_in != 0 || s->lookahead != 0 || in zlib_deflate()
499 unsigned len = strm->avail_in; in read_buf()
504 strm->avail_in -= len; in read_buf()
790 if (s->strm->avail_in == 0) return; in fill_window()
820 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0); in fill_window()
/linux-4.19.296/include/linux/
Dzlib.h86 uLong avail_in; /* number of bytes available at next_in */ member
/linux-4.19.296/fs/
Dbinfmt_flat.c204 strm.avail_in = ret; in decompress_exec()
259 strm.avail_in -= ret; in decompress_exec()
277 strm.avail_in = ret; in decompress_exec()