Home
last modified time | relevance | path

Searched refs:avail_out (Results 1 – 25 of 35) sorted by relevance

12

/linux/lib/zlib_dfltcc/
H A Ddfltcc_deflate.c79 size_t avail_out = strm->avail_out; in dfltcc_cmpr() local
83 param, &strm->next_out, &avail_out, in dfltcc_cmpr()
86 strm->total_out += (strm->avail_out - avail_out); in dfltcc_cmpr()
88 strm->avail_out = avail_out; in dfltcc_cmpr()
199 if (strm->avail_out == 0) { in dfltcc_deflate()
309 if (strm->avail_in != 0 && strm->avail_out != 0) in dfltcc_deflate()
H A Ddfltcc_inflate.c76 size_t avail_out = strm->avail_out; in dfltcc_xpnd() local
80 param, &strm->next_out, &avail_out, in dfltcc_xpnd()
83 strm->avail_out = avail_out; in dfltcc_xpnd()
/linux/fs/jffs2/
H A Dcompr_zlib.c96 def_strm.avail_out = *dstlen - (def_strm.total_out + STREAM_END_SPACE); in jffs2_zlib_compress()
98 (*sourcelen-def_strm.total_in), def_strm.avail_out); 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()
112 def_strm.avail_out += STREAM_END_SPACE; in jffs2_zlib_compress()
155 inf_strm.avail_out = destlen; in jffs2_zlib_decompress()
/linux/fs/erofs/
H A Ddecompressor_deflate.c146 strm->z.avail_out = 0; in z_erofs_deflate_decompress()
150 dctx.avail_out = strm->z.avail_out; in z_erofs_deflate_decompress()
157 strm->z.avail_out = dctx.avail_out; in z_erofs_deflate_decompress()
161 if (zerr != Z_OK || !(rq->outputsize + strm->z.avail_out)) { in z_erofs_deflate_decompress()
H A Ddecompressor_zstd.c181 dctx.avail_out = out_buf.size - out_buf.pos; in z_erofs_zstd_decompress()
190 out_buf.size = dctx.avail_out; in z_erofs_zstd_decompress()
H A Ddecompressor_lzma.c194 dctx.avail_out = buf.out_size - buf.out_pos; in z_erofs_lzma_decompress()
203 buf.out_size = dctx.avail_out; in z_erofs_lzma_decompress()
H A Dcompress.h86 unsigned int avail_out; /* remaining bytes in the decoded buffer */ member
/linux/tools/perf/util/
H A Dlzma.c61 strm.avail_out = sizeof(buf_out); in lzma_decompress_to_file()
79 if (strm.avail_out == 0 || ret == LZMA_STREAM_END) { in lzma_decompress_to_file()
80 ssize_t write_size = sizeof(buf_out) - strm.avail_out; in lzma_decompress_to_file()
88 strm.avail_out = sizeof(buf_out); in lzma_decompress_to_file()
H A Dzlib.c51 zs.avail_out = CHUNK_SIZE; in gzip_decompress_to_file()
65 len = CHUNK_SIZE - zs.avail_out; in gzip_decompress_to_file()
/linux/drivers/net/ppp/
H A Dppp_deflate.c217 state->strm.avail_out = oavail = osize - olen; in z_compress()
233 if (state->strm.avail_out == 0) { in z_compress()
236 state->strm.avail_out = oavail = 1000000; in z_compress()
241 olen += oavail - state->strm.avail_out; in z_compress()
451 state->strm.avail_out = 1; in z_decompress()
466 if (state->strm.avail_out != 0) in z_decompress()
469 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
474 ++state->strm.avail_out; in z_decompress()
484 state->strm.avail_out = 1; in z_decompress()
501 olen = osize + overflow - state->strm.avail_out; in z_decompress()
/linux/fs/btrfs/
H A Dzlib.c145 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_folios()
227 if (workspace->strm.avail_out == 0) { in zlib_compress_folios()
240 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_folios()
262 } else if (workspace->strm.avail_out == 0) { in zlib_compress_folios()
276 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_folios()
320 workspace->strm.avail_out = workspace->buf_size; in zlib_decompress_bio()
363 workspace->strm.avail_out = workspace->buf_size; in zlib_decompress_bio()
409 workspace->strm.avail_out = workspace->buf_size; in zlib_decompress()
/linux/fs/squashfs/
H A Dzlib_wrapper.c61 stream->avail_out = PAGE_SIZE; in zlib_uncompress()
91 if (stream->avail_out == 0) { in zlib_uncompress()
97 stream->avail_out = PAGE_SIZE; in zlib_uncompress()
/linux/arch/arm/kernel/
H A Dhead-inflate-data.c48 strm->avail_out = _edata_loc - __data_loc; in __inflate_kernel_data()
54 rc = strm->avail_out; /* should be 0 */ in __inflate_kernel_data()
/linux/lib/zlib_inflate/
H A Dinflate.c128 copy = out - strm->avail_out; in zlib_updatewindow()
188 left = strm->avail_out; \
199 strm->avail_out = left; \
745 (state->wsize || (state->mode < CHECK && out != strm->avail_out))) in zlib_inflate()
749 out -= strm->avail_out; in zlib_inflate()
761 strm->avail_out != 0 && strm->avail_in == 0) in zlib_inflate()
789 uInt saved_ao = z->avail_out; in zlib_inflateIncomp()
795 z->avail_out = 0; in zlib_inflateIncomp()
801 z->avail_out = saved_ao; in zlib_inflateIncomp()
H A Dinfutil.c30 strm->avail_out = sz; in zlib_inflate_blob()
37 rc = sz - strm->avail_out; in zlib_inflate_blob()
H A Dinffast.c100 beg = out - (start - strm->avail_out); in inflate_fast()
101 end = out + (strm->avail_out - 257); in inflate_fast()
320 strm->avail_out = (unsigned)(out < end ? in inflate_fast()
/linux/crypto/
H A Ddeflate.c175 stream->avail_out = *dlen; in __deflate_compress()
220 stream->avail_out = *dlen; in __deflate_decompress()
228 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
/linux/lib/zlib_deflate/
H A Ddefutil.h428 if (len > strm->avail_out) len = strm->avail_out; in flush_pending()
437 strm->avail_out -= len; in flush_pending()
H A Ddeflate.c347 if (strm->avail_out == 0) return Z_BUF_ERROR; in zlib_deflate()
378 if (strm->avail_out == 0) { in zlib_deflate()
416 if (strm->avail_out == 0) { in zlib_deflate()
445 if (strm->avail_out == 0) { in zlib_deflate()
451 Assert(strm->avail_out > 0, "bug2"); in zlib_deflate()
852 if (s->strm->avail_out == 0) return (eof) ? finish_started : need_more; \
1114 if (s->strm->avail_out == 0) return need_more; in deflate_slow()
/linux/lib/
H A Ddecompress_inflate.c131 strm->avail_out = out_len; in __gunzip()
167 strm->avail_out = out_len; in __gunzip()
/linux/drivers/block/zram/
H A Dbackend_deflate.c102 deflate->avail_out = req->dst_len; in deflate_compress()
129 inflate->avail_out = req->dst_len; in deflate_decompress()
/linux/fs/cramfs/
H A Duncompress.c39 stream.avail_out = dstlen; in cramfs_uncompress_block()
/linux/arch/xtensa/boot/lib/
H A Dzmem.c72 s.avail_out = dstlen; in gunzip()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_zlib.c55 compress_stream.avail_out = pout_buff->size - pout_buff->offset; in cudbg_compress_buff()
/linux/include/linux/
H A Dzlib.h90 uLong avail_out; /* remaining free space at next_out */ member

12