Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jffs2/
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-6.1.9/fs/squashfs/
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-6.1.9/fs/btrfs/
Dzlib.c115 if (Z_OK != zlib_deflateInit(&workspace->strm, workspace->level)) { in zlib_compress_pages()
179 if (ret != Z_OK) { in zlib_compress_pages()
229 if (ret != Z_OK && ret != Z_BUF_ERROR) { in zlib_compress_pages()
304 if (Z_OK != zlib_inflateInit2(&workspace->strm, wbits)) { in zlib_decompress_bio()
311 if (ret != Z_OK && ret != Z_STREAM_END) in zlib_decompress_bio()
390 if (Z_OK != zlib_inflateInit2(&workspace->strm, wbits)) { in zlib_decompress()
401 if (ret != Z_OK && ret != Z_STREAM_END) in zlib_decompress()
/linux-6.1.9/crypto/
Ddeflate.c60 if (ret != Z_OK) { in deflate_comp_init()
85 if (ret != Z_OK) { in deflate_decomp_init()
184 if (ret != Z_OK) { in __deflate_compress()
229 if (ret != Z_OK) { in __deflate_decompress()
245 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
/linux-6.1.9/arch/xtensa/boot/lib/
Dzmem.c64 if (r != Z_OK) { in gunzip()
73 if (r != Z_OK && r != Z_STREAM_END) { in gunzip()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_zlib.c49 if (rc != Z_OK) in cudbg_compress_buff()
62 if (rc != Z_OK) in cudbg_compress_buff()
/linux-6.1.9/lib/zlib_inflate/
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()
Dinfutil.c33 if (rc == Z_OK) { in zlib_inflate_blob()
/linux-6.1.9/drivers/net/ppp/
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-6.1.9/lib/
Ddecompress_inflate.c144 while (rc == Z_OK) { in __gunzip()
174 } else if (rc != Z_OK) { in __gunzip()
/linux-6.1.9/lib/zlib_deflate/
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()
464 return s->pending != 0 ? Z_OK : Z_STREAM_END; in zlib_deflate()
486 return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK; in zlib_deflateEnd()
/linux-6.1.9/arch/arm/kernel/
Dhead-inflate-data.c56 if (rc == Z_OK || rc == Z_STREAM_END) in __inflate_kernel_data()
/linux-6.1.9/fs/cramfs/
Duncompress.c42 if (err != Z_OK) { in cramfs_uncompress_block()
/linux-6.1.9/kernel/module/
Ddecompress.c108 if (rc != Z_OK) { in module_gzip_decompress()
128 } while (rc == Z_OK); in module_gzip_decompress()
/linux-6.1.9/include/linux/
Dzlib.h148 #define Z_OK 0 macro
/linux-6.1.9/tools/perf/util/
Dzlib.c43 if (inflateInit2(&zs, 16 + MAX_WBITS) != Z_OK) in gzip_decompress_to_file()
/linux-6.1.9/fs/isofs/
Dcompress.c108 if (zerr != Z_OK) { in zisofs_uncompress_block()
152 if (zerr != Z_OK) { in zisofs_uncompress_block()
/linux-6.1.9/arch/powerpc/kernel/
Dnvram_64.c326 if (err != Z_OK) in nvram_compress()
341 if (err != Z_OK) in nvram_compress()
/linux-6.1.9/fs/
Dbinfmt_flat.c265 if (zlib_inflateInit2(&strm, -MAX_WBITS) != Z_OK) { in decompress_exec()
270 while ((ret = zlib_inflate(&strm, Z_NO_FLUSH)) == Z_OK) { in decompress_exec()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gpu_error.c281 return zlib_deflateInit(zstream, Z_DEFAULT_COMPRESSION) == Z_OK; in compress_start()
320 if (zlib_deflate(zstream, Z_NO_FLUSH) != Z_OK) in compress_page()
340 case Z_OK: /* more space requested */ in compress_flush()
/linux-6.1.9/security/apparmor/
Dpolicy_unpack.c1083 if (error != Z_OK) { in deflate_compress()
Dapparmorfs.c1317 if (error != Z_OK) { in deflate_decompress()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_main.c1037 if (rc != Z_OK) { in qed_unzip_data()
1046 if (rc != Z_OK && rc != Z_STREAM_END) { in qed_unzip_data()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c6640 if (rc != Z_OK) in bnx2x_gunzip()
6644 if ((rc != Z_OK) && (rc != Z_STREAM_END)) in bnx2x_gunzip()