Lines Matching refs:le

1221 static void l2arc_hdr_restore(const l2arc_log_ent_phys_t *le,
7565 l2arc_hdr_restore(const l2arc_log_ent_phys_t *le, l2arc_dev_t *dev, in l2arc_hdr_restore() argument
7570 arc_buf_contents_t type = LE_GET_TYPE(le); in l2arc_hdr_restore()
7577 ASSERT(L2ARC_IS_VALID_COMPRESS(LE_GET_COMPRESS(le)) || in l2arc_hdr_restore()
7578 LE_GET_COMPRESS(le) == ZIO_COMPRESS_OFF); in l2arc_hdr_restore()
7579 hdr = arc_buf_alloc_l2only(load_guid, LE_GET_LSIZE(le), type, in l2arc_hdr_restore()
7580 dev, le->le_dva, le->le_daddr, LE_GET_PSIZE(le), le->le_birth, in l2arc_hdr_restore()
7581 le->le_freeze_cksum, LE_GET_COMPRESS(le)); in l2arc_hdr_restore()
7803 l2arc_log_ent_phys_t *le; in l2arc_log_blk_insert() local
7808 le = &lb->lb_entries[index]; in l2arc_log_blk_insert()
7809 bzero(le, sizeof (*le)); in l2arc_log_blk_insert()
7810 le->le_dva = ab->b_dva; in l2arc_log_blk_insert()
7811 le->le_birth = ab->b_birth; in l2arc_log_blk_insert()
7812 le->le_daddr = ab->b_l2hdr.b_daddr; in l2arc_log_blk_insert()
7813 LE_SET_LSIZE(le, ab->b_size); in l2arc_log_blk_insert()
7814 LE_SET_PSIZE(le, ab->b_l2hdr.b_asize); in l2arc_log_blk_insert()
7815 LE_SET_COMPRESS(le, ab->b_l2hdr.b_compress); in l2arc_log_blk_insert()
7818 ASSERT(L2ARC_IS_VALID_COMPRESS(LE_GET_COMPRESS(le))); in l2arc_log_blk_insert()
7820 le->le_freeze_cksum = *ab->b_freeze_cksum; in l2arc_log_blk_insert()
7821 LE_SET_CHECKSUM(le, ZIO_CHECKSUM_FLETCHER_2); in l2arc_log_blk_insert()
7822 LE_SET_TYPE(le, arc_flags_to_bufc(ab->b_flags)); in l2arc_log_blk_insert()