Searched refs:Z_OK (Results 1 – 12 of 12) sorted by relevance
93 if (zlib_err != Z_OK) { in zlib_uncompress()104 } while (zlib_err == Z_OK); in zlib_uncompress()112 if (zlib_err != Z_OK) in zlib_uncompress()
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()
64 if (ret != Z_OK) { in deflate_comp_init()89 if (ret != Z_OK) { in deflate_decomp_init()188 if (ret != Z_OK) { in __deflate_compress()233 if (ret != Z_OK) { in __deflate_decompress()249 if (ret == Z_OK && !stream->avail_in && stream->avail_out) { in __deflate_decompress()
87 if (Z_OK != zlib_deflateInit(&workspace->strm, workspace->level)) { in zlib_compress_pages()115 if (ret != Z_OK) { in zlib_compress_pages()238 if (Z_OK != zlib_inflateInit2(&workspace->strm, wbits)) { in zlib_decompress_bio()245 if (ret != Z_OK && ret != Z_STREAM_END) in zlib_decompress_bio()328 if (Z_OK != zlib_inflateInit2(&workspace->strm, wbits)) { in zlib_decompress()339 if (ret != Z_OK && ret != Z_STREAM_END) in zlib_decompress()
45 return Z_OK; in zlib_inflateReset()155 return Z_OK; in zlib_inflateSyncPacket()348 ret = Z_OK; in zlib_inflate()732 if (flush == Z_PACKET_FLUSH && ret == Z_OK && in zlib_inflate()736 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK) in zlib_inflate()746 return Z_OK; in zlib_inflateEnd()785 return Z_OK; in zlib_inflateIncomp()
33 if (rc == Z_OK) { in zlib_inflate_blob()
131 while (rc == Z_OK) { in __gunzip()161 } else if (rc != Z_OK) { in __gunzip()
280 return Z_OK; in zlib_deflateReset()384 return Z_OK; in zlib_deflate()416 return Z_OK; in zlib_deflate()444 return Z_OK; in zlib_deflate()450 if (flush != Z_FINISH) return Z_OK; in zlib_deflate()461 return s->pending != 0 ? Z_OK : Z_STREAM_END; in zlib_deflate()483 return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK; in zlib_deflateEnd()
42 if (err != Z_OK) { in cramfs_uncompress_block()
148 #define Z_OK 0 macro
114 if (zerr != Z_OK) { in zisofs_uncompress_block()158 if (zerr != Z_OK) { in zisofs_uncompress_block()
265 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()