* Indicates how this buffer is compressed in memory. If it is not compressed * the value will be ZIO_COMPRESS_OFF. It can be made normally readable with * arc_untransform() as long as it is also unencrypted. */
| 1376 | * arc_untransform() as long as it is also unencrypted. |
| 1377 | */ |
| 1378 | enum zio_compress |
| 1379 | arc_get_compression(arc_buf_t *buf) |
| 1380 | { |
| 1381 | return (ARC_BUF_COMPRESSED(buf) ? |
| 1382 | HDR_GET_COMPRESS(buf->b_hdr) : ZIO_COMPRESS_OFF); |
| 1383 | } |
| 1384 | |
| 1385 | /* |
| 1386 | * Return the compression algorithm used to store this data in the ARC. If ARC |
no outgoing calls
no test coverage detected