Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/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()
/linux-6.1.9/fs/isofs/
Dcompress.c51 .avail_in = 0, in zisofs_uncompress_block()
131 if (!stream.avail_in) { in zisofs_uncompress_block()
139 stream.avail_in = min_t(unsigned, bufsize - in zisofs_uncompress_block()
142 block_size -= stream.avail_in; in zisofs_uncompress_block()
146 while (stream.avail_out && stream.avail_in) { in zisofs_uncompress_block()
148 if (zerr == Z_BUF_ERROR && stream.avail_in == 0) in zisofs_uncompress_block()
164 curbh, stream.avail_in, in zisofs_uncompress_block()
184 if (!stream.avail_in) in zisofs_uncompress_block()
/linux-6.1.9/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()
220 workspace->strm.avail_in = 0; in zlib_compress_pages()
286 workspace->strm.avail_in = min_t(size_t, srclen, PAGE_SIZE); in zlib_decompress_bio()
301 workspace->strm.avail_in -= 2; in zlib_decompress_bio()
331 if (workspace->strm.avail_in == 0) { in zlib_decompress_bio()
342 workspace->strm.avail_in = min(tmp, PAGE_SIZE); in zlib_decompress_bio()
373 workspace->strm.avail_in = srclen; in zlib_decompress()
387 workspace->strm.avail_in -= 2; in zlib_decompress()
/linux-6.1.9/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()
319 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
/linux-6.1.9/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()
/linux-6.1.9/fs/squashfs/
Dzlib_wrapper.c63 stream->avail_in = 0; in zlib_uncompress()
73 if (stream->avail_in == 0) { in zlib_uncompress()
87 stream->avail_in = avail; in zlib_uncompress()
/linux-6.1.9/fs/cramfs/
Duncompress.c36 stream.avail_in = srclen; in cramfs_uncompress_block()
68 stream.avail_in = 0; in cramfs_uncompress_init()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ppp/
Dppp_deflate.c223 state->strm.avail_in = (isize - off); in z_compress()
449 state->strm.avail_in = isize - (PPP_HDRLEN + DEFLATE_OVHD); in z_decompress()
535 state->strm.avail_in = icnt - 3; in z_incomp()
538 ++state->strm.avail_in; in z_incomp()
/linux-6.1.9/arch/arm/kernel/
Dhead-inflate-data.c49 strm->avail_in = _edata_loc - __data_loc; /* upper bound */ in __inflate_kernel_data()
/linux-6.1.9/arch/xtensa/boot/lib/
Dzmem.c69 s.avail_in = *lenp - i; in gunzip()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_zlib.c53 compress_stream.avail_in = pin_buff->size; in cudbg_compress_buff()
/linux-6.1.9/include/linux/
Dzlib.h86 uLong avail_in; /* number of bytes available at next_in */ member
/linux-6.1.9/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()
/linux-6.1.9/kernel/module/
Ddecompress.c101 s.avail_in = size - gzip_hdr_len; in module_gzip_decompress()
/linux-6.1.9/arch/powerpc/kernel/
Dnvram_64.c330 stream.avail_in = inlen; in nvram_compress()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gpu_error.c309 zstream->avail_in = PAGE_SIZE; in compress_page()
324 } while (zstream->avail_in); in compress_page()
/linux-6.1.9/security/apparmor/
Dpolicy_unpack.c1095 strm.avail_in = slen; in deflate_compress()

12