Lines Matching refs:le
2718 static void l2arc_hdr_restore(const l2arc_log_ent_phys_t *le,
9656 l2arc_hdr_restore(const l2arc_log_ent_phys_t *le, l2arc_dev_t *dev) in l2arc_hdr_restore() argument
9660 arc_buf_contents_t type = L2BLK_GET_TYPE((le)->le_prop); in l2arc_hdr_restore()
9668 hdr = arc_buf_alloc_l2only(L2BLK_GET_LSIZE((le)->le_prop), type, in l2arc_hdr_restore()
9669 dev, le->le_dva, le->le_daddr, in l2arc_hdr_restore()
9670 L2BLK_GET_PSIZE((le)->le_prop), le->le_birth, in l2arc_hdr_restore()
9671 L2BLK_GET_COMPRESS((le)->le_prop), in l2arc_hdr_restore()
9672 L2BLK_GET_PROTECTED((le)->le_prop), in l2arc_hdr_restore()
9673 L2BLK_GET_PREFETCH((le)->le_prop), in l2arc_hdr_restore()
9674 L2BLK_GET_STATE((le)->le_prop)); in l2arc_hdr_restore()
9676 L2BLK_GET_PSIZE((le)->le_prop)); in l2arc_hdr_restore()
9703 exists->b_l2hdr.b_daddr = le->le_daddr; in l2arc_hdr_restore()
9705 L2BLK_GET_STATE((le)->le_prop); in l2arc_hdr_restore()
9983 l2arc_log_ent_phys_t *le; in l2arc_log_blk_insert() local
9993 le = &lb->lb_entries[index]; in l2arc_log_blk_insert()
9994 bzero(le, sizeof (*le)); in l2arc_log_blk_insert()
9995 le->le_dva = hdr->b_dva; in l2arc_log_blk_insert()
9996 le->le_birth = hdr->b_birth; in l2arc_log_blk_insert()
9997 le->le_daddr = hdr->b_l2hdr.b_daddr; in l2arc_log_blk_insert()
9999 dev->l2ad_log_blk_payload_start = le->le_daddr; in l2arc_log_blk_insert()
10000 L2BLK_SET_LSIZE((le)->le_prop, HDR_GET_LSIZE(hdr)); in l2arc_log_blk_insert()
10001 L2BLK_SET_PSIZE((le)->le_prop, HDR_GET_PSIZE(hdr)); in l2arc_log_blk_insert()
10002 L2BLK_SET_COMPRESS((le)->le_prop, HDR_GET_COMPRESS(hdr)); in l2arc_log_blk_insert()
10003 L2BLK_SET_TYPE((le)->le_prop, hdr->b_type); in l2arc_log_blk_insert()
10004 L2BLK_SET_PROTECTED((le)->le_prop, !!(HDR_PROTECTED(hdr))); in l2arc_log_blk_insert()
10005 L2BLK_SET_PREFETCH((le)->le_prop, !!(HDR_PREFETCH(hdr))); in l2arc_log_blk_insert()
10006 L2BLK_SET_STATE((le)->le_prop, hdr->b_l1hdr.b_state->arcs_state); in l2arc_log_blk_insert()