Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/lib/zlib_dfltcc/
Ddfltcc_deflate.c46 size_t avail_in = avail_in = strm->avail_in; in dfltcc_gdht() local
50 &strm->next_in, &avail_in, NULL); in dfltcc_gdht()
59 size_t avail_in = strm->avail_in; in dfltcc_cmpr() local
65 &strm->next_in, &avail_in, state->window); in dfltcc_cmpr()
66 strm->total_in += (strm->avail_in - avail_in); in dfltcc_cmpr()
68 strm->avail_in = avail_in; in dfltcc_cmpr()
127 if (flush == Z_FINISH && strm->avail_in == 0 && !param->cf) { in dfltcc_deflate()
138 if (strm->avail_in == 0 && !param->cf) { in dfltcc_deflate()
150 strm->avail_in >= dfltcc_state->dht_threshold) { in dfltcc_deflate()
155 masked_avail_in += strm->avail_in; in dfltcc_deflate()
[all …]
Ddfltcc_inflate.c71 size_t avail_in = strm->avail_in; in dfltcc_xpnd() local
77 &strm->next_in, &avail_in, state->window); in dfltcc_xpnd()
78 strm->avail_in = avail_in; in dfltcc_xpnd()
106 strm->avail_in--; in dfltcc_inflate()
113 if (strm->avail_in == 0 && !param->cf) in dfltcc_inflate()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/lib/
Ddecompress_inflate.c113 strm->avail_in = len - 10; in __gunzip()
122 if (strm->avail_in == 0) { in __gunzip()
126 --strm->avail_in; in __gunzip()
145 if (strm->avail_in == 0) { in __gunzip()
154 strm->avail_in = len; in __gunzip()
/kernel/linux/linux-5.10/fs/isofs/
Dcompress.c51 .avail_in = 0, in zisofs_uncompress_block()
132 if (!stream.avail_in) { in zisofs_uncompress_block()
140 stream.avail_in = min_t(unsigned, bufsize - in zisofs_uncompress_block()
143 block_size -= stream.avail_in; in zisofs_uncompress_block()
147 while (stream.avail_out && stream.avail_in) { in zisofs_uncompress_block()
149 if (zerr == Z_BUF_ERROR && stream.avail_in == 0) in zisofs_uncompress_block()
165 curbh, stream.avail_in, in zisofs_uncompress_block()
181 if (!stream.avail_in) in zisofs_uncompress_block()
/kernel/linux/linux-5.10/fs/btrfs/
Dzlib.c134 workspace->strm.avail_in = 0; in zlib_compress_pages()
143 if (workspace->strm.avail_in == 0) { in zlib_compress_pages()
174 workspace->strm.avail_in = min(bytes_left, in zlib_compress_pages()
222 workspace->strm.avail_in = 0; in zlib_compress_pages()
294 workspace->strm.avail_in = min_t(size_t, srclen, PAGE_SIZE); in zlib_decompress_bio()
309 workspace->strm.avail_in -= 2; in zlib_decompress_bio()
340 if (workspace->strm.avail_in == 0) { in zlib_decompress_bio()
351 workspace->strm.avail_in = min(tmp, in zlib_decompress_bio()
384 workspace->strm.avail_in = srclen; in zlib_decompress()
398 workspace->strm.avail_in -= 2; in zlib_decompress()
/kernel/linux/linux-5.10/lib/zlib_inflate/
Dinflate.c190 have = strm->avail_in; \
201 strm->avail_in = have; \
353 (strm->next_in == NULL && strm->avail_in != 0)) in zlib_inflate()
748 in -= strm->avail_in; in zlib_inflate()
761 strm->avail_out != 0 && strm->avail_in == 0) in zlib_inflate()
796 z->next_out = (unsigned char*)z->next_in + z->avail_in; in zlib_inflateIncomp()
798 zlib_updatewindow(z, z->avail_in); in zlib_inflateIncomp()
805 UPDATE(state->check, z->next_in, z->avail_in); in zlib_inflateIncomp()
807 z->total_out += z->avail_in; in zlib_inflateIncomp()
808 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()
/kernel/linux/linux-5.10/fs/squashfs/
Dzlib_wrapper.c63 stream->avail_in = 0; in zlib_uncompress()
68 if (stream->avail_in == 0) { in zlib_uncompress()
82 stream->avail_in = avail; in zlib_uncompress()
/kernel/linux/linux-5.10/tools/perf/util/
Dlzma.c61 strm.avail_in = 0; in lzma_decompress_to_file()
66 if (strm.avail_in == 0 && !feof(infile)) { in lzma_decompress_to_file()
68 strm.avail_in = fread(buf_in, 1, sizeof(buf_in), infile); in lzma_decompress_to_file()
Dzlib.c28 .avail_in = 0, in gzip_decompress_to_file()
47 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file()
/kernel/linux/linux-5.10/fs/cramfs/
Duncompress.c36 stream.avail_in = srclen; in cramfs_uncompress_block()
68 stream.avail_in = 0; in cramfs_uncompress_init()
/kernel/linux/linux-5.10/crypto/
Ddeflate.c190 stream->avail_in = slen; in __deflate_compress()
235 stream->avail_in = slen; in __deflate_decompress()
245 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
248 stream->avail_in = 1; in __deflate_decompress()
/kernel/linux/linux-5.10/lib/zlib_deflate/
Ddeflate.c343 if ((strm->next_in == NULL && strm->avail_in != 0) || in zlib_deflate()
393 } else if (strm->avail_in == 0 && flush <= old_flush && in zlib_deflate()
399 if (s->status == FINISH_STATE && strm->avail_in != 0) { in zlib_deflate()
405 if (strm->avail_in != 0 || s->lookahead != 0 || in zlib_deflate()
502 unsigned len = strm->avail_in; in read_buf()
507 strm->avail_in -= len; in read_buf()
794 if (s->strm->avail_in == 0) return; in fill_window()
824 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0); in fill_window()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_deflate.c223 state->strm.avail_in = (isize - off); in z_compress()
450 state->strm.avail_in = isize - (PPP_HDRLEN + DEFLATE_OVHD); in z_decompress()
536 state->strm.avail_in = icnt - 3; in z_incomp()
539 ++state->strm.avail_in; in z_incomp()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dhead-inflate-data.c49 strm->avail_in = _edata_loc - __data_loc; /* upper bound */ in __inflate_kernel_data()
/kernel/linux/linux-5.10/arch/xtensa/boot/lib/
Dzmem.c69 s.avail_in = *lenp - i; in gunzip()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_zlib.c53 compress_stream.avail_in = pin_buff->size; in cudbg_compress_buff()
/kernel/linux/linux-5.10/include/linux/
Dzlib.h86 uLong avail_in; /* number of bytes available at next_in */ member
/kernel/linux/linux-5.10/fs/
Dbinfmt_flat.c221 strm.avail_in = ret; in decompress_exec()
276 strm.avail_in -= ret; in decompress_exec()
294 strm.avail_in = ret; in decompress_exec()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dnvram_64.c330 stream.avail_in = inlen; in nvram_compress()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gpu_error.c301 zstream->avail_in = PAGE_SIZE; in compress_page()
316 } while (zstream->avail_in); in compress_page()
/kernel/linux/linux-5.10/security/apparmor/
Dpolicy_unpack.c1084 strm.avail_in = slen; in deflate_compress()
Dapparmorfs.c1315 strm.avail_in = slen; in deflate_decompress()

12