Lines Matching refs:le

1225 static void l2arc_hdr_restore(const l2arc_log_ent_phys_t *le,
7624 l2arc_hdr_restore(const l2arc_log_ent_phys_t *le, l2arc_dev_t *dev, in l2arc_hdr_restore() argument
7629 arc_buf_contents_t type = LE_GET_TYPE(le); in l2arc_hdr_restore()
7636 ASSERT(L2ARC_IS_VALID_COMPRESS(LE_GET_COMPRESS(le)) || in l2arc_hdr_restore()
7637 LE_GET_COMPRESS(le) == ZIO_COMPRESS_OFF); in l2arc_hdr_restore()
7638 hdr = arc_buf_alloc_l2only(load_guid, LE_GET_LSIZE(le), type, in l2arc_hdr_restore()
7639 dev, le->le_dva, le->le_daddr, LE_GET_PSIZE(le), le->le_birth, in l2arc_hdr_restore()
7640 le->le_freeze_cksum, LE_GET_COMPRESS(le)); in l2arc_hdr_restore()
7862 l2arc_log_ent_phys_t *le; in l2arc_log_blk_insert() local
7867 le = &lb->lb_entries[index]; in l2arc_log_blk_insert()
7868 bzero(le, sizeof (*le)); in l2arc_log_blk_insert()
7869 le->le_dva = ab->b_dva; in l2arc_log_blk_insert()
7870 le->le_birth = ab->b_birth; in l2arc_log_blk_insert()
7871 le->le_daddr = ab->b_l2hdr.b_daddr; in l2arc_log_blk_insert()
7872 LE_SET_LSIZE(le, ab->b_size); in l2arc_log_blk_insert()
7873 LE_SET_PSIZE(le, ab->b_l2hdr.b_asize); in l2arc_log_blk_insert()
7874 LE_SET_COMPRESS(le, ab->b_l2hdr.b_compress); in l2arc_log_blk_insert()
7877 ASSERT(L2ARC_IS_VALID_COMPRESS(LE_GET_COMPRESS(le))); in l2arc_log_blk_insert()
7879 le->le_freeze_cksum = *ab->b_freeze_cksum; in l2arc_log_blk_insert()
7880 LE_SET_CHECKSUM(le, ZIO_CHECKSUM_FLETCHER_2); in l2arc_log_blk_insert()
7881 LE_SET_TYPE(le, arc_flags_to_bufc(ab->b_flags)); in l2arc_log_blk_insert()