Lines Matching refs:to_write
8371 abd_t *cabd = NULL, *eabd = NULL, *to_write = hdr->b_l1hdr.b_pabd; in l2arc_apply_transforms() local
8393 to_write = abd_alloc_for_io(asize, ismd); in l2arc_apply_transforms()
8394 abd_copy(to_write, hdr->b_crypt_hdr.b_rabd, psize); in l2arc_apply_transforms()
8396 abd_zero_off(to_write, psize, asize - psize); in l2arc_apply_transforms()
8403 to_write = abd_alloc_for_io(asize, ismd); in l2arc_apply_transforms()
8404 abd_copy(to_write, hdr->b_l1hdr.b_pabd, size); in l2arc_apply_transforms()
8406 abd_zero_off(to_write, size, asize - size); in l2arc_apply_transforms()
8414 psize = zio_compress_data(compress, to_write, tmp, size); in l2arc_apply_transforms()
8420 to_write = cabd; in l2arc_apply_transforms()
8439 hdr->b_crypt_hdr.b_iv, mac, psize, to_write, eabd, in l2arc_apply_transforms()
8445 abd_copy(eabd, to_write, psize); in l2arc_apply_transforms()
8454 if (to_write == cabd) in l2arc_apply_transforms()
8457 to_write = eabd; in l2arc_apply_transforms()
8461 ASSERT3P(to_write, !=, hdr->b_l1hdr.b_pabd); in l2arc_apply_transforms()
8462 *abd_out = to_write; in l2arc_apply_transforms()
8554 abd_t *to_write = NULL; in l2arc_write_buffers() local
8622 to_write = hdr->b_crypt_hdr.b_rabd; in l2arc_write_buffers()
8627 to_write = hdr->b_l1hdr.b_pabd; in l2arc_write_buffers()
8633 &to_write); in l2arc_write_buffers()
8641 l2arc_free_abd_on_write(to_write, asize, type); in l2arc_write_buffers()
8684 hdr->b_l2hdr.b_daddr, asize, to_write, in l2arc_write_buffers()