Home
last modified time | relevance | path

Searched refs:Z_OK (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/block/zram/
H A Dbackend_deflate.c68 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 Dcompr_zlib.c83 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 Ddeflate.c56 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 Dzlib_wrapper.c102 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 Ddecompressor_deflate.c137 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 Dzmem.c65 if (r != Z_OK) { in gunzip()
74 if (r != Z_OK && r != Z_STREAM_END) { in gunzip()
/linux/fs/btrfs/
H A Dzlib.c120 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 Dcudbg_zlib.c49 if (rc != Z_OK) in cudbg_compress_buff()
62 if (rc != Z_OK) in cudbg_compress_buff()
/linux/lib/zlib_inflate/
H A Dinflate.c56 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 Dinfutil.c33 if (rc == Z_OK) { in zlib_inflate_blob()
/linux/drivers/net/ppp/
H A Dppp_deflate.c113 != 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 Ddecompress_inflate.c144 while (rc == Z_OK) { in __gunzip()
174 } else if (rc != Z_OK) { in __gunzip()
/linux/lib/zlib_deflate/
H A Ddeflate.c311 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 Dplatform.c190 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 Dhead-inflate-data.c53 if (rc == Z_OK || rc == Z_STREAM_END) in __inflate_kernel_data()
/linux/fs/cramfs/
H A Duncompress.c42 if (err != Z_OK) { in cramfs_uncompress_block()
/linux/tools/perf/util/
H A Dzlib.c43 if (inflateInit2(&zs, 16 + MAX_WBITS) != Z_OK) in gzip_decompress_to_file()
/linux/include/linux/
H A Dzlib.h148 #define Z_OK 0 macro
/linux/kernel/module/
H A Ddecompress.c108 if (rc != Z_OK) { in module_gzip_decompress()
128 } while (rc == Z_OK); in module_gzip_decompress()
/linux/arch/powerpc/kernel/
H A Dnvram_64.c326 if (err != Z_OK) in nvram_compress()
341 if (err != Z_OK) in nvram_compress()
/linux/fs/
H A Dbinfmt_flat.c267 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 Ddrm_panic.c721 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 Dcompress.c345 if (zlib_deflateEnd(&strm) != Z_OK) in attempt_compress()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c284 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 Dqed_main.c1027 if (rc != Z_OK) { in qed_unzip_data()
1036 if (rc != Z_OK && rc != Z_STREAM_END) { in qed_unzip_data()

12