Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/lib/zlib_dfltcc/
Ddfltcc_deflate.c60 size_t avail_out = strm->avail_out; in dfltcc_cmpr() local
64 param, &strm->next_out, &avail_out, in dfltcc_cmpr()
67 strm->total_out += (strm->avail_out - avail_out); in dfltcc_cmpr()
69 strm->avail_out = avail_out; in dfltcc_cmpr()
166 if (strm->avail_out == 0) { in dfltcc_deflate()
278 if (strm->avail_in != 0 && strm->avail_out != 0) in dfltcc_deflate()
Ddfltcc_inflate.c72 size_t avail_out = strm->avail_out; in dfltcc_xpnd() local
76 param, &strm->next_out, &avail_out, in dfltcc_xpnd()
79 strm->avail_out = avail_out; in dfltcc_xpnd()
/kernel/linux/linux-5.10/fs/jffs2/
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()
/kernel/linux/linux-5.10/tools/perf/util/
Dlzma.c63 strm.avail_out = sizeof(buf_out); in lzma_decompress_to_file()
81 if (strm.avail_out == 0 || ret == LZMA_STREAM_END) { in lzma_decompress_to_file()
82 ssize_t write_size = sizeof(buf_out) - strm.avail_out; in lzma_decompress_to_file()
90 strm.avail_out = sizeof(buf_out); in lzma_decompress_to_file()
Dzlib.c51 zs.avail_out = CHUNK_SIZE; in gzip_decompress_to_file()
65 len = CHUNK_SIZE - zs.avail_out; in gzip_decompress_to_file()
/kernel/linux/linux-5.10/drivers/net/ppp/
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()
452 state->strm.avail_out = 1; in z_decompress()
467 if (state->strm.avail_out != 0) in z_decompress()
470 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
475 ++state->strm.avail_out; in z_decompress()
485 state->strm.avail_out = 1; in z_decompress()
502 olen = osize + overflow - state->strm.avail_out; in z_decompress()
/kernel/linux/linux-5.10/fs/isofs/
Dcompress.c52 .avail_out = 0, }; in zisofs_uncompress_block()
121 if (!stream.avail_out) { in zisofs_uncompress_block()
125 stream.avail_out = PAGE_SIZE - poffset; in zisofs_uncompress_block()
129 stream.avail_out = PAGE_SIZE; in zisofs_uncompress_block()
147 while (stream.avail_out && stream.avail_in) { in zisofs_uncompress_block()
166 stream.avail_out); in zisofs_uncompress_block()
173 if (!stream.avail_out) { in zisofs_uncompress_block()
/kernel/linux/linux-5.10/fs/btrfs/
Dzlib.c136 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_pages()
198 if (workspace->strm.avail_out == 0) { in zlib_compress_pages()
213 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_pages()
235 } else if (workspace->strm.avail_out == 0) { in zlib_compress_pages()
251 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_pages()
299 workspace->strm.avail_out = workspace->buf_size; in zlib_decompress_bio()
338 workspace->strm.avail_out = workspace->buf_size; in zlib_decompress_bio()
388 workspace->strm.avail_out = workspace->buf_size; in zlib_decompress()
443 workspace->strm.avail_out = workspace->buf_size; in zlib_decompress()
/kernel/linux/linux-5.10/fs/squashfs/
Dzlib_wrapper.c61 stream->avail_out = PAGE_SIZE; in zlib_uncompress()
86 if (stream->avail_out == 0) { in zlib_uncompress()
89 stream->avail_out = PAGE_SIZE; in zlib_uncompress()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dhead-inflate-data.c51 strm->avail_out = _edata_loc - __data_loc; in __inflate_kernel_data()
57 rc = strm->avail_out; /* should be 0 */ in __inflate_kernel_data()
/kernel/linux/linux-5.10/lib/zlib_inflate/
Dinfutil.c30 strm->avail_out = sz; in zlib_inflate_blob()
37 rc = sz - strm->avail_out; in zlib_inflate_blob()
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()
Dinffast.c100 beg = out - (start - strm->avail_out); in inflate_fast()
101 end = out + (strm->avail_out - 257); in inflate_fast()
321 strm->avail_out = (unsigned)(out < end ? in inflate_fast()
/kernel/linux/linux-5.10/lib/
Ddecompress_inflate.c131 strm->avail_out = out_len; in __gunzip()
167 strm->avail_out = out_len; in __gunzip()
/kernel/linux/linux-5.10/lib/zlib_deflate/
Ddefutil.h426 if (len > strm->avail_out) len = strm->avail_out; in flush_pending()
435 strm->avail_out -= len; in flush_pending()
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()
845 if (s->strm->avail_out == 0) return (eof) ? finish_started : need_more; \
1107 if (s->strm->avail_out == 0) return need_more; in deflate_slow()
/kernel/linux/linux-5.10/crypto/
Ddeflate.c192 stream->avail_out = *dlen; in __deflate_compress()
237 stream->avail_out = *dlen; in __deflate_decompress()
245 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
/kernel/linux/linux-5.10/fs/cramfs/
Duncompress.c39 stream.avail_out = dstlen; in cramfs_uncompress_block()
/kernel/linux/linux-5.10/arch/xtensa/boot/lib/
Dzmem.c71 s.avail_out = dstlen; in gunzip()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_zlib.c55 compress_stream.avail_out = pout_buff->size - pout_buff->offset; in cudbg_compress_buff()
/kernel/linux/linux-5.10/include/linux/
Dzlib.h90 uLong avail_out; /* remaining free space at next_out */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gpu_error.c304 if (zstream->avail_out == 0) { in compress_page()
309 zstream->avail_out = PAGE_SIZE; in compress_page()
337 zstream->avail_out = PAGE_SIZE; in compress_flush()
349 memset(zstream->next_out, 0, zstream->avail_out); in compress_flush()
350 dst->unused = zstream->avail_out; in compress_flush()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dnvram_64.c333 stream.avail_out = outlen; in nvram_compress()
/kernel/linux/linux-5.10/fs/
Dbinfmt_flat.c279 strm.avail_out = len; in decompress_exec()
/kernel/linux/linux-5.10/security/apparmor/
Dpolicy_unpack.c1086 strm.avail_out = stglen; in deflate_compress()

12