Lines Matching defs:abd

298 #include <sys/abd.h>
1790 abd_t *abd = hdr->b_l1hdr.b_pabd;
1795 ASSERT3P(abd, !=, NULL);
1801 * abd so we can verify the MAC. The performance overhead of this will
1807 abd = NULL;
1809 hdr->b_l1hdr.b_pabd, &abd, lsize, MIN(lsize, psize),
1815 ASSERT3P(abd, !=, NULL);
1816 abd_zero_off(abd, csize, psize - csize);
1827 ret = spa_do_crypt_objset_mac_abd(B_FALSE, spa, dsobj, abd,
1830 ret = spa_do_crypt_mac_abd(B_FALSE, spa, dsobj, abd, psize,
1840 abd_free(abd);
1885 * zfs_abd_scatter_enabled setting, so we allocate an abd here
1887 * linear buffer and wrapping it in an abd later.
1915 * abd plaintext pointer for use. This involves authenticated protected
1916 * data and decrypting encrypted data into the plaintext abd.
2917 l2arc_free_abd_on_write(abd_t *abd, size_t size, arc_buf_contents_t type)
2921 df->l2df_abd = abd;
5095 arc_free_data_abd(arc_buf_hdr_t *hdr, abd_t *abd, uint64_t size,
5099 abd_free(abd);
6100 abd_t *abd;
6127 abd = abd_alloc_for_io(asize,
6129 cb->l2rcb_abd = abd;
6131 abd = hdr_abd;
6147 asize, abd,
8532 * Free the allocated abd buffers for writing the log blocks.
8538 abd_free(abd_buf->abd);
8811 void *abd = (using_rdata) ?
8817 abd, zio->io_size, arc_read_done,
9135 * Handle any abd transforms that might be required for writing to the L2ARC.
9136 * If successful, this function will always return an abd with the data
9137 * transformed as it is on disk in a new abd of asize bytes.
10343 abd_t *abd;
10347 abd = abd_get_from_buf(l2dhdr, l2dhdr_asize);
10350 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd,
10355 abd_free(abd);
10486 abd_t *abd = abd_alloc_linear(asize, B_TRUE);
10487 abd_copy_from_buf_off(abd, this_lb, 0, asize);
10492 abd, &dabd, asize, sizeof (*this_lb), NULL);
10494 abd_free(abd);
10703 abd_t *abd;
10724 abd = abd_get_from_buf(l2dhdr, l2dhdr_asize);
10727 VDEV_LABEL_START_SIZE, l2dhdr_asize, abd, ZIO_CHECKSUM_LABEL, NULL,
10730 abd_free(abd);
10753 abd_t *abd = NULL;
10759 abd_buf->abd = abd_get_from_buf(lb, sizeof (*lb));
10769 * l2arc_write_buffers() call. Save the allocated abd buffers in a list
10776 abd_buf->abd, &abd, sizeof (*lb),
10805 abd_zero_off(abd, psize, asize - psize);
10811 abd_copy_from_buf_off(abd, lb, 0, sizeof (*lb));
10818 abd_fletcher_4_native(abd, asize, NULL,
10821 abd_free(abd_buf->abd);
10824 abd_buf->abd = abd;
10826 asize, abd_buf->abd, ZIO_CHECKSUM_OFF, NULL, NULL,