Lines Matching defs:compressed

138  * compressed ARC functionality is disabled, the b_pdata will point to an
151 * compressed form. The typical case is that consumers will want uncompressed
154 * compressed arc_buf_t's is "zfs send", when it streams data exactly as it
159 * first one is owned by a compressed send consumer (and therefore references
160 * the same compressed data buffer as the arc_buf_hdr_t) and the second could be
183 * compressed | | | |
185 * +------+ compressed, | data
196 * hdr is compressed and the desired compression characteristics of the
199 * the last buffer in the hdr's b_buf list, however a shared compressed buf can
246 * that when compressed ARC is enabled that the L2ARC blocks are identical
249 * L2ARC to determine if the contents are valid. However, if the compressed
472 * Number of compressed bytes stored in the arc_buf_hdr_t's b_pdata.
473 * Note that the compressed bytes may match the uncompressed bytes
474 * if the block is either not compressed or compressed arc is disabled.
478 * Uncompressed size of the data stored in b_pdata. If compressed
799 /* compressed size of entire arc */
1031 * If we discover during ARC scan any buffers to be compressed, we boost
1415 * This is the size that the buf occupies in memory. If the buf is compressed,
1416 * it will correspond to the compressed size. You should use this method of
1475 * Return true iff at least one of the bufs on hdr is not compressed.
1491 * or if the buf is compressed, this is a no-op.
1533 * is valid or not. When compressed arc is enabled, the l2arc
1537 * a separate checksum in the arc_buf_hdr_t. However, if compressed
1541 * compressed on the main pool before we can validate the checksum.
1593 * isn't modified later on. If buf is compressed or there is already a checksum
1862 * If the buf is marked as compressed but uncompressed data was requested, this
1864 * buf with uncompressed data. You can't request a compressed buf on a hdr with
1866 * want compressed data your buf must already be marked as compressed and have
1870 arc_buf_fill(arc_buf_t *buf, boolean_t compressed)
1877 IMPLY(compressed, hdr_compressed);
1878 IMPLY(compressed, ARC_BUF_COMPRESSED(buf));
1880 if (hdr_compressed == compressed) {
1887 ASSERT(!compressed);
1919 * should not be compressed at the end of this function.
2386 * 4. the buf is either compressed or it is the last buf in the hdr list
2390 * might ask, "if a compressed buf is allocated first, won't that be the
2392 * a shared uncompressed buf anyway (because the hdr must be compressed
2393 * to have the compressed buf). You might also think that #3 is
2413 * or if you want a compressed buffer, pass those flags in. Returns 0 if the
2417 arc_buf_alloc_impl(arc_buf_hdr_t *hdr, void *tag, boolean_t compressed,
2444 * Only honor requests for compressed bufs if the hdr is actually
2445 * compressed.
2447 if (compressed && HDR_GET_COMPRESS(hdr) != ZIO_COMPRESS_OFF)
2620 * to increment its compressed and uncompressed kstats and
2742 * There is an equivalent case for compressed bufs, but since
2750 /* hdr is uncompressed so can't have compressed buf */
2771 * if we have a compressed, shared buffer.
2860 * the compressed or uncompressed data depending on the block
2861 * it references and compressed arc enablement.
2994 * Allocate a compressed buf in the same manner as arc_alloc_buf. Don't use this
3237 * If this hdr is being evicted and has a compressed
4906 * RAW I/O and will store the compressed data in the hdr's
5246 * if we have a compressed, shared buffer.
5380 * If the hdr is compressed, then copy the compressed
5383 * io_data into b_pdata but the user may have disabled compressed
5399 * This hdr is not compressed so we're able to share
5453 * If the block to be written was all-zero or compressed enough to be
6168 * l2arc_headroom_boost when we find compressed buffers during ARC
6171 * since more compressed buffers are likely to