/linux/drivers/block/zram/ |
H A D | backend_deflate.c | 68 if (ret != Z_OK) in deflate_create() 77 if (ret != Z_OK) in deflate_create() 96 if (ret != Z_OK) in deflate_compress() 123 if (ret != Z_OK) in deflate_decompress()
|
/linux/fs/jffs2/ |
H A D | compr_zlib.c | 83 if (Z_OK != zlib_deflateInit(&def_strm, 3)) { in jffs2_zlib_compress() 105 if (ret != Z_OK) { in jffs2_zlib_compress() 174 if (Z_OK != zlib_inflateInit2(&inf_strm, wbits)) { in jffs2_zlib_decompress() 180 while((ret = zlib_inflate(&inf_strm, Z_FINISH)) == Z_OK) in jffs2_zlib_decompress()
|
/linux/crypto/ |
H A D | deflate.c | 56 if (ret != Z_OK) { in deflate_comp_init() 78 if (ret != Z_OK) { in deflate_decomp_init() 167 if (ret != Z_OK) { in __deflate_compress() 212 if (ret != Z_OK) { in __deflate_decompress() 228 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
|
/linux/fs/squashfs/ |
H A D | zlib_wrapper.c | 102 if (zlib_err != Z_OK) { in zlib_uncompress() 112 if (zlib_err != Z_OK) { in zlib_uncompress() 122 if (zlib_inflateEnd(stream) != Z_OK) in zlib_uncompress()
|
/linux/fs/erofs/ |
H A D | decompressor_deflate.c | 137 if (zerr != Z_OK) { in z_erofs_deflate_decompress() 161 if (zerr != Z_OK || !(rq->outputsize + strm->z.avail_out)) { in z_erofs_deflate_decompress() 162 if (zerr == Z_OK && rq->partial_decoding) in z_erofs_deflate_decompress() 172 if (zlib_inflateEnd(&strm->z) != Z_OK && !err) in z_erofs_deflate_decompress()
|
/linux/arch/xtensa/boot/lib/ |
H A D | zmem.c | 65 if (r != Z_OK) { in gunzip() 74 if (r != Z_OK && r != Z_STREAM_END) { in gunzip()
|
/linux/fs/btrfs/ |
H A D | zlib.c | 120 if (unlikely(ret != Z_OK)) { in zlib_compress_folios() 204 if (unlikely(ret != Z_OK)) { in zlib_compress_folios() 258 if (ret != Z_OK && ret != Z_BUF_ERROR) { in zlib_compress_folios() 334 if (unlikely(ret != Z_OK)) { in zlib_decompress_bio() 345 if (ret != Z_OK && ret != Z_STREAM_END) in zlib_decompress_bio() 423 if (unlikely(ret != Z_OK)) { in zlib_decompress()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_zlib.c | 49 if (rc != Z_OK) in cudbg_compress_buff() 62 if (rc != Z_OK) in cudbg_compress_buff()
|
/linux/lib/zlib_inflate/ |
H A D | inflate.c | 56 return Z_OK; in zlib_inflateReset() 174 return Z_OK; in zlib_inflateSyncPacket() 362 ret = Z_OK; in zlib_inflate() 760 if (flush == Z_PACKET_FLUSH && ret == Z_OK && in zlib_inflate() 764 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK) in zlib_inflate() 774 return Z_OK; in zlib_inflateEnd() 813 return Z_OK; in zlib_inflateIncomp()
|
H A D | infutil.c | 33 if (rc == Z_OK) { in zlib_inflate_blob()
|
/linux/drivers/net/ppp/ |
H A D | ppp_deflate.c | 113 != Z_OK) in z_comp_alloc() 227 if (r != Z_OK) { in z_compress() 326 if (zlib_inflateInit2(&state->strm, -w_size) != Z_OK) in z_decomp_alloc() 460 if (r != Z_OK) { in z_decompress() 542 if (r != Z_OK) { in z_incomp()
|
/linux/lib/ |
H A D | decompress_inflate.c | 144 while (rc == Z_OK) { in __gunzip() 174 } else if (rc != Z_OK) { in __gunzip()
|
/linux/lib/zlib_deflate/ |
H A D | deflate.c | 311 return Z_OK; in zlib_deflateReset() 386 return Z_OK; in zlib_deflate() 419 return Z_OK; in zlib_deflate() 447 return Z_OK; in zlib_deflate() 453 if (flush != Z_FINISH) return Z_OK; in zlib_deflate() 471 return Z_OK; in zlib_deflate() 493 return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK; in zlib_deflateEnd()
|
/linux/fs/pstore/ |
H A D | platform.c | 190 if (ret != Z_OK) in pstore_compress() 198 if (ret != Z_OK) in pstore_compress() 606 if (ret != Z_OK) { in decompress_record() 717 if (zlib_inflateEnd(&zstream) != Z_OK) in pstore_get_backend_records()
|
/linux/arch/arm/kernel/ |
H A D | head-inflate-data.c | 53 if (rc == Z_OK || rc == Z_STREAM_END) in __inflate_kernel_data()
|
/linux/fs/cramfs/ |
H A D | uncompress.c | 42 if (err != Z_OK) { in cramfs_uncompress_block()
|
/linux/tools/perf/util/ |
H A D | zlib.c | 43 if (inflateInit2(&zs, 16 + MAX_WBITS) != Z_OK) in gzip_decompress_to_file()
|
/linux/include/linux/ |
H A D | zlib.h | 148 #define Z_OK 0 macro
|
/linux/kernel/module/ |
H A D | decompress.c | 108 if (rc != Z_OK) { in module_gzip_decompress() 128 } while (rc == Z_OK); in module_gzip_decompress()
|
/linux/arch/powerpc/kernel/ |
H A D | nvram_64.c | 326 if (err != Z_OK) in nvram_compress() 341 if (err != Z_OK) in nvram_compress()
|
/linux/fs/ |
H A D | binfmt_flat.c | 267 if (zlib_inflateInit2(&strm, -MAX_WBITS) != Z_OK) { in decompress_exec() 272 while ((ret = zlib_inflate(&strm, Z_NO_FLUSH)) == Z_OK) { in decompress_exec()
|
/linux/drivers/gpu/drm/ |
H A D | drm_panic.c | 721 MEM_LEVEL, Z_DEFAULT_STRATEGY) != Z_OK) in drm_panic_get_qr_code_url() 734 if (zlib_deflateEnd(&stream) != Z_OK) in drm_panic_get_qr_code_url()
|
/linux/fs/bcachefs/ |
H A D | compress.c | 345 if (zlib_deflateEnd(&strm) != Z_OK) in attempt_compress()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 284 return zlib_deflateInit(zstream, Z_DEFAULT_COMPRESSION) == Z_OK; in compress_start() 323 if (zlib_deflate(zstream, Z_NO_FLUSH) != Z_OK) in compress_page() 343 case Z_OK: /* more space requested */ in compress_flush()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_main.c | 1027 if (rc != Z_OK) { in qed_unzip_data() 1036 if (rc != Z_OK && rc != Z_STREAM_END) { in qed_unzip_data()
|