Home
last modified time | relevance | path

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

12

/linux/lib/zlib_dfltcc/
H A Ddfltcc_deflate.c65 size_t avail_in = strm->avail_in; in dfltcc_gdht() local
69 &strm->next_in, &avail_in, NULL); in dfltcc_gdht()
78 size_t avail_in = strm->avail_in; in dfltcc_cmpr() local
84 &strm->next_in, &avail_in, state->window); in dfltcc_cmpr()
85 strm->total_in += (strm->avail_in - avail_in); in dfltcc_cmpr()
87 strm->avail_in = avail_in; in dfltcc_cmpr()
150 if (strm->avail_in == 0 && !param->cf) { in dfltcc_deflate()
176 strm->avail_in >= dfltcc_state->dht_threshold) { in dfltcc_deflate()
181 masked_avail_in += strm->avail_in; in dfltcc_deflate()
182 strm->avail_in = 0; in dfltcc_deflate()
[all …]
H A Ddfltcc_inflate.c75 size_t avail_in = strm->avail_in; in dfltcc_xpnd() local
81 &strm->next_in, &avail_in, state->window); in dfltcc_xpnd()
82 strm->avail_in = avail_in; in dfltcc_xpnd()
112 strm->avail_in--; in dfltcc_inflate()
119 if (strm->avail_in == 0 && !param->cf) in dfltcc_inflate()
/linux/fs/jffs2/
H A 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/fs/btrfs/
H A Dzlib.c143 workspace->strm.avail_in = 0; in zlib_compress_folios()
152 if (workspace->strm.avail_in == 0) { in zlib_compress_folios()
177 workspace->strm.avail_in = in zlib_compress_folios()
199 workspace->strm.avail_in = cur_len; in zlib_compress_folios()
249 workspace->strm.avail_in = 0; in zlib_compress_folios()
315 workspace->strm.avail_in = min_t(size_t, srclen, PAGE_SIZE); in zlib_decompress_bio()
330 workspace->strm.avail_in -= 2; in zlib_decompress_bio()
365 if (workspace->strm.avail_in == 0) { in zlib_decompress_bio()
376 workspace->strm.avail_in = min(tmp, PAGE_SIZE); in zlib_decompress_bio()
405 workspace->strm.avail_in = srclen; in zlib_decompress()
[all …]
/linux/lib/
H A 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/lib/zlib_inflate/
H A 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 …]
H A Dinfutil.c28 strm->avail_in = len; in zlib_inflate_blob()
H A 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/tools/perf/util/
H A Dlzma.c59 strm.avail_in = 0; in lzma_decompress_to_file()
64 if (strm.avail_in == 0 && !feof(infile)) { in lzma_decompress_to_file()
66 strm.avail_in = fread(buf_in, 1, sizeof(buf_in), infile); in lzma_decompress_to_file()
H A Dzlib.c28 .avail_in = 0, in gzip_decompress_to_file()
47 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file()
/linux/fs/squashfs/
H A 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/fs/erofs/
H A Ddecompressor_deflate.c143 strm->z.avail_in = min(rq->inputsize, PAGE_SIZE - rq->pageofs_in); in z_erofs_deflate_decompress()
144 rq->inputsize -= strm->z.avail_in; in z_erofs_deflate_decompress()
151 dctx.inbuf_sz = strm->z.avail_in; in z_erofs_deflate_decompress()
158 strm->z.avail_in = dctx.inbuf_sz; in z_erofs_deflate_decompress()
/linux/fs/cramfs/
H A Duncompress.c36 stream.avail_in = srclen; in cramfs_uncompress_block()
68 stream.avail_in = 0; in cramfs_uncompress_init()
/linux/crypto/
H A Ddeflate.c173 stream->avail_in = slen; in __deflate_compress()
218 stream->avail_in = slen; in __deflate_decompress()
228 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
231 stream->avail_in = 1; in __deflate_decompress()
/linux/lib/zlib_deflate/
H A 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()
509 unsigned len = strm->avail_in; in read_buf()
514 strm->avail_in -= len; in read_buf()
801 if (s->strm->avail_in == 0) return; in fill_window()
831 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0); in fill_window()
/linux/drivers/block/zram/
H A Dbackend_deflate.c100 deflate->avail_in = req->src_len; in deflate_compress()
127 inflate->avail_in = req->src_len; in deflate_decompress()
/linux/drivers/net/ppp/
H A 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/arch/arm/kernel/
H A Dhead-inflate-data.c46 strm->avail_in = _edata_loc - __data_loc; /* upper bound */ in __inflate_kernel_data()
/linux/arch/xtensa/boot/lib/
H A Dzmem.c70 s.avail_in = *lenp - i; in gunzip()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_zlib.c53 compress_stream.avail_in = pin_buff->size; in cudbg_compress_buff()
/linux/include/linux/
H A Dzlib.h86 uLong avail_in; /* number of bytes available at next_in */ member
/linux/fs/
H A Dbinfmt_flat.c206 strm.avail_in = ret; in decompress_exec()
261 strm.avail_in -= ret; in decompress_exec()
279 strm.avail_in = ret; in decompress_exec()
/linux/fs/pstore/
H A Dplatform.c178 .avail_in = inlen, in pstore_compress()
619 zstream->avail_in = record->size; in decompress_record()
/linux/fs/bcachefs/
H A Dcompress.c174 .avail_in = src_len, in __bio_uncompress()
328 .avail_in = src_len, in attempt_compress()
/linux/kernel/module/
H A Ddecompress.c101 s.avail_in = size - gzip_hdr_len; in module_gzip_decompress()

12