Searched refs:Z_OK (Results 1 - 21 of 21) sorted by relevance

/linux-4.1.27/fs/logfs/
H A Dcompr.c24 if (err != Z_OK) logfs_compress()
39 if (err != Z_OK) logfs_compress()
58 if (err != Z_OK) logfs_uncompress()
73 if (err != Z_OK) logfs_uncompress()
/linux-4.1.27/arch/xtensa/boot/lib/
H A Dzmem.c63 if (r != Z_OK) { gunzip()
72 if (r != Z_OK && r != Z_STREAM_END) { gunzip()
/linux-4.1.27/lib/zlib_inflate/
H A Dinfutil.c33 if (rc == Z_OK) { zlib_inflate_blob()
48 return rc; /* returns Z_OK (0) if successful */ zlib_inflate_blob()
H A Dinflate.c45 return Z_OK; zlib_inflateReset()
155 return Z_OK; zlib_inflateSyncPacket()
313 when flush is set to Z_FINISH, inflate() cannot return Z_OK. Instead it
348 ret = Z_OK; zlib_inflate()
732 if (flush == Z_PACKET_FLUSH && ret == Z_OK && zlib_inflate()
736 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK) zlib_inflate()
746 return Z_OK; zlib_inflateEnd()
785 return Z_OK; zlib_inflateIncomp()
/linux-4.1.27/crypto/
H A Ddeflate.c59 if (ret != Z_OK) { deflate_comp_init()
81 if (ret != Z_OK) { deflate_decomp_init()
135 if (ret != Z_OK) { deflate_compress()
165 if (ret != Z_OK) { deflate_decompress()
181 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { deflate_decompress()
H A Dzlib.c121 if (ret != Z_OK) { zlib_compress_setup()
137 if (ret != Z_OK) zlib_compress_init()
158 case Z_OK: zlib_compress_update()
235 if (ret != Z_OK) { zlib_decompress_setup()
251 if (ret != Z_OK) zlib_decompress_init()
272 case Z_OK: zlib_decompress_update()
316 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { zlib_decompress_final()
/linux-4.1.27/fs/squashfs/
H A Dzlib_wrapper.c93 if (zlib_err != Z_OK) { zlib_uncompress()
104 } while (zlib_err == Z_OK); zlib_uncompress()
112 if (zlib_err != Z_OK) zlib_uncompress()
/linux-4.1.27/fs/jffs2/
H A Dcompr_zlib.c83 if (Z_OK != zlib_deflateInit(&def_strm, 3)) { jffs2_zlib_compress()
105 if (ret != Z_OK) { jffs2_zlib_compress()
174 if (Z_OK != zlib_inflateInit2(&inf_strm, wbits)) { jffs2_zlib_decompress()
180 while((ret = zlib_inflate(&inf_strm, Z_FINISH)) == Z_OK) jffs2_zlib_decompress()
/linux-4.1.27/tools/perf/util/
H A Dzlib.c40 if (inflateInit2(&zs, 16 + MAX_WBITS) != Z_OK) gzip_decompress_to_file()
/linux-4.1.27/lib/
H A Ddecompress_inflate.c130 while (rc == Z_OK) { __gunzip()
160 } else if (rc != Z_OK) { __gunzip()
182 return rc; /* returns Z_OK (0) if successful */ __gunzip()
/linux-4.1.27/fs/btrfs/
H A Dzlib.c97 if (Z_OK != zlib_deflateInit(&workspace->strm, 3)) { zlib_compress_pages()
125 if (ret != Z_OK) { zlib_compress_pages()
251 if (Z_OK != zlib_inflateInit2(&workspace->strm, wbits)) { zlib_decompress_biovec()
257 if (ret != Z_OK && ret != Z_STREAM_END) zlib_decompress_biovec()
341 if (Z_OK != zlib_inflateInit2(&workspace->strm, wbits)) { zlib_decompress()
352 if (ret != Z_OK && ret != Z_STREAM_END) zlib_decompress()
/linux-4.1.27/fs/cramfs/
H A Duncompress.c41 if (err != Z_OK) { cramfs_uncompress_block()
/linux-4.1.27/include/linux/
H A Dzlib.h148 #define Z_OK 0 macro
208 deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
243 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
267 was enough output space; if deflate returns with Z_OK, this function must be
286 deflate() returns Z_OK if some progress has been made (more input
301 deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
328 inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
362 call of inflate(). If inflate returns Z_OK and with zero avail_out, it
408 total_out bytes) and returns Z_OK, Z_STREAM_END or an error code as described
420 inflate() returns Z_OK if some progress has been made (more input processed
442 inflateEnd returns Z_OK if success, Z_STREAM_ERROR if the stream state
491 deflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
504 deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
547 inflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
561 inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
/linux-4.1.27/fs/pstore/
H A Dplatform.c141 if (err != Z_OK) pstore_compress()
156 if (err != Z_OK) pstore_compress()
174 if (err != Z_OK) pstore_decompress()
189 if (err != Z_OK) pstore_decompress()
/linux-4.1.27/arch/powerpc/boot/
H A Dgunzip_util.c77 if (r != Z_OK) gunzip_start()
113 if (r != Z_OK && r != Z_STREAM_END) gunzip_partial()
/linux-4.1.27/drivers/net/ppp/
H A Dppp_deflate.c116 != Z_OK) z_comp_alloc()
230 if (r != Z_OK) { z_compress()
330 if (zlib_inflateInit2(&state->strm, -w_size) != Z_OK) z_decomp_alloc()
464 if (r != Z_OK) { z_decompress()
546 if (r != Z_OK) { z_incomp()
/linux-4.1.27/lib/zlib_deflate/
H A Ddeflate.c280 return Z_OK; zlib_deflateReset()
384 return Z_OK; zlib_deflate()
416 return Z_OK; zlib_deflate()
444 return Z_OK; zlib_deflate()
450 if (flush != Z_FINISH) return Z_OK; zlib_deflate()
461 return s->pending != 0 ? Z_OK : Z_STREAM_END; zlib_deflate()
483 return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK; zlib_deflateEnd()
/linux-4.1.27/fs/isofs/
H A Dcompress.c108 if (zerr != Z_OK) { zisofs_uncompress_block()
152 if (zerr != Z_OK) { zisofs_uncompress_block()
/linux-4.1.27/arch/powerpc/kernel/
H A Dnvram_64.c340 if (err != Z_OK) nvram_compress()
355 if (err != Z_OK) nvram_compress()
/linux-4.1.27/fs/
H A Dbinfmt_flat.c275 if (zlib_inflateInit2(&strm, -MAX_WBITS) != Z_OK) { decompress_exec()
280 while ((ret = zlib_inflate(&strm, Z_NO_FLUSH)) == Z_OK) { decompress_exec()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c6576 if (rc != Z_OK) bnx2x_gunzip()
6580 if ((rc != Z_OK) && (rc != Z_STREAM_END)) bnx2x_gunzip()

Completed in 642 milliseconds