Searched refs:Z_OK (Results 1 – 21 of 21) sorted by relevance
104 } while (ret == Z_OK && stream->avail_out); in deflate_compress_one()107 } while (ret == Z_OK); in deflate_compress_one()128 if (err != Z_OK) { in deflate_compress()184 } while (ret == Z_OK && stream->avail_in); in deflate_decompress_one()191 } while (ret == Z_OK); in deflate_decompress_one()210 if (err != Z_OK) { in deflate_decompress()
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()
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()
131 if (zerr != Z_OK) { in __z_erofs_deflate_decompress()155 if (zerr != Z_OK || !(rq->outputsize + strm->z.avail_out)) { in __z_erofs_deflate_decompress()156 if (zerr == Z_OK && rq->partial_decoding) in __z_erofs_deflate_decompress()166 if (zlib_inflateEnd(&strm->z) != Z_OK && !reason) in __z_erofs_deflate_decompress()
65 if (r != Z_OK) { in gunzip()74 if (r != Z_OK && r != Z_STREAM_END) { in gunzip()
49 if (rc != Z_OK) in cudbg_compress_buff()62 if (rc != Z_OK) in cudbg_compress_buff()
112 != Z_OK) in z_comp_alloc()226 if (r != Z_OK) { in z_compress()325 if (zlib_inflateInit2(&state->strm, -w_size) != Z_OK) in z_decomp_alloc()459 if (r != Z_OK) { in z_decompress()541 if (r != Z_OK) { in z_incomp()
164 if (unlikely(ret != Z_OK)) { in zlib_compress_bio()230 if (unlikely(ret != Z_OK)) { in zlib_compress_bio()280 if (unlikely(ret != Z_OK && ret != Z_BUF_ERROR)) { in zlib_compress_bio()379 if (unlikely(ret != Z_OK)) { in zlib_decompress_bio()390 if (ret != Z_OK && ret != Z_STREAM_END) in zlib_decompress_bio()469 if (unlikely(ret != Z_OK)) { in zlib_decompress()
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()
33 if (rc == Z_OK) { in zlib_inflate_blob()
144 while (rc == Z_OK) { in __gunzip()174 } else if (rc != Z_OK) { in __gunzip()
190 if (ret != Z_OK) in pstore_compress()198 if (ret != Z_OK) in pstore_compress()607 if (ret != Z_OK) { in decompress_record()718 if (zlib_inflateEnd(&zstream) != Z_OK) in pstore_get_backend_records()
53 if (rc == Z_OK || rc == Z_STREAM_END) in __inflate_kernel_data()
42 if (err != Z_OK) { in cramfs_uncompress_block()
148 #define Z_OK 0 macro
43 if (inflateInit2(&zs, 16 + MAX_WBITS) != Z_OK) in gzip_decompress_to_file()
56 else if (err != Z_OK) in config_contains()
110 if (zerr != Z_OK) { in zisofs_uncompress_block()154 if (zerr != Z_OK) { in zisofs_uncompress_block()
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()
326 if (err != Z_OK) in nvram_compress()341 if (err != Z_OK) in nvram_compress()
1027 if (rc != Z_OK) { in qed_unzip_data()1036 if (rc != Z_OK && rc != Z_STREAM_END) { in qed_unzip_data()