Lines Matching defs:l2hdr
2142 l2arc_buf_hdr_t *l2hdr = &hdr->b_l2hdr;
2143 l2arc_dev_t *dev = l2hdr->b_dev;
2157 * If the l2hdr's b_daddr is equal to L2ARC_ADDR_UNSET, then
2166 IMPLY(l2hdr->b_daddr == L2ARC_ADDR_UNSET, HDR_L2_WRITING(hdr));
2176 if (l2hdr->b_daddr != L2ARC_ADDR_UNSET) {
2177 ARCSTAT_INCR(arcstat_l2_asize, -l2hdr->b_asize);
2181 -l2hdr->b_asize, 0, 0);
2184 l2hdr->b_asize, hdr);
6168 * not, otherwise, when this l2hdr is evicted we'll
6225 * size in l2hdr->b_asize. This routine tries to compress the data and
6227 * *) The buffer was incompressible. The original l2hdr contents were left
6236 * l2arc_release_cdata_buf on this l2hdr to free this temporary buffer.
6247 l2arc_buf_hdr_t *l2hdr = &hdr->b_l2hdr;
6250 ASSERT3S(l2hdr->b_compress, ==, ZIO_COMPRESS_OFF);
6253 len = l2hdr->b_asize;
6257 cdata, l2hdr->b_asize);
6268 l2hdr->b_compress = ZIO_COMPRESS_EMPTY;
6269 l2hdr->b_asize = 0;
6278 l2hdr->b_compress = ZIO_COMPRESS_LZ4;
6279 l2hdr->b_asize = csize;
6286 * l2hdr will be left unmodified.