Lines Matching defs:compressed

154  * compressed ARC functionality is disabled, the b_pabd will point to an
167 * compressed form. The typical case is that consumers will want uncompressed
170 * compressed arc_buf_t's is "zfs send", when it streams data exactly as it
175 * first one is owned by a compressed send consumer (and therefore references
176 * the same compressed data buffer as the arc_buf_hdr_t) and the second could be
199 * compressed | | | |
201 * +------+ compressed, | data
212 * hdr is compressed and the desired compression characteristics of the
215 * the last buffer in the hdr's b_buf list, however a shared compressed buf can
262 * that when compressed ARC is enabled that the L2ARC blocks are identical
265 * L2ARC to determine if the contents are valid. However, if the compressed
271 * Raw (encrypted + possibly compressed) data has a few subtle differences from
272 * data that is just compressed. The biggest difference is that it is not
275 * If a caller would prefer compressed data, but they actually wind up with
439 * Enable or disable compressed arc buffers.
804 * If we discover during ARC scan any buffers to be compressed, we boost
859 ARC_FILL_COMPRESSED = 1 << 1, /* fill with compressed data */
1296 * This is the size that the buf occupies in memory. If the buf is compressed,
1297 * it will correspond to the compressed size. You should use this method of
1349 * Indicates how this buffer is compressed in memory. If it is not compressed
1417 * Return true iff at least one of the bufs on hdr is not compressed.
1418 * Encrypted buffers count as compressed.
1437 * or if the buf is compressed, this is a no-op.
1500 * isn't modified later on. If buf is compressed or there is already a checksum
1798 * The MAC is calculated on the compressed data that is stored on disk.
1799 * However, if compressed arc is disabled we will only have the
1878 * compressed after decrypting it, we need to decompress the newly
1990 * If the buf is marked as compressed but uncompressed data was requested, this
1992 * buf with uncompressed data. You can't request a compressed buf on a hdr with
1994 * want compressed data your buf must already be marked as compressed and have
2005 boolean_t compressed = (flags & ARC_FILL_COMPRESSED) != 0;
2011 IMPLY(compressed, hdr_compressed || ARC_BUF_ENCRYPTED(buf));
2012 IMPLY(compressed, ARC_BUF_COMPRESSED(buf));
2064 ASSERT(!compressed);
2083 if (hdr_compressed == compressed) {
2092 ASSERT(!compressed);
2126 * should not be compressed at the end of this function.
2699 * 5. the buf is either compressed or it is the last buf in the hdr list
2703 * might ask, "if a compressed buf is allocated first, won't that be the
2705 * a shared uncompressed buf anyway (because the hdr must be compressed
2706 * to have the compressed buf). You might also think that #3 is
2728 * or if you want a compressed buffer, pass those flags in. Returns 0 if the
2733 const void *tag, boolean_t encrypted, boolean_t compressed,
2745 IMPLY(encrypted, compressed);
2762 * Only honor requests for compressed bufs if the hdr is actually
2763 * compressed. This must be overridden if the buffer is encrypted since
2770 } else if (compressed &&
2988 * to increment its compressed and uncompressed kstats and
3124 * There is an equivalent case for compressed bufs, but since
3133 /* hdr is uncompressed so can't have compressed buf */
3154 * if we have a compressed, shared buffer.
3461 * Allocate a compressed buf in the same manner as arc_alloc_buf. Don't use this
3847 * If this hdr is being evicted and has a compressed buffer then we
5525 * where one callback is compressed and another
5714 * we maintain encrypted data separately from compressed / uncompressed
6116 * L2ARC block is compressed, arc_hdr_size()
6517 * if we have a compressed, shared buffer.
6698 * but to copy the data into b_radb. If the hdr is compressed, the data
6721 * user may have disabled compressed ARC, thus we must check the
6786 * If the block to be written was all-zero or compressed enough to be
8130 * l2arc_headroom_boost when we find compressed buffers during ARC
8133 * since more compressed buffers are likely to
8666 * If the L2ARC block was compressed, but ARC compression
11019 "Disable compressed ARC buffers");