Home
last modified time | relevance | path

Searched refs:dabd (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_impl.h179 #define raidz_zero(dabd, size) \ argument
181 abd_iterate_func(dabd, 0, size, raidz_zero_abd_cb, NULL); \
217 #define raidz_copy(dabd, sabd, off, size) \ argument
219 abd_iterate_func2(dabd, sabd, off, off, size, raidz_copy_abd_cb, \
258 #define raidz_add(dabd, sabd, off, size) \ argument
260 abd_iterate_func2(dabd, sabd, off, off, size, raidz_add_abd_cb, \
382 abd_t *dabd = rr->rr_col[c].rc_abd; in raidz_generate_p_impl() local
383 raidz_add(pabd, dabd, off, size); in raidz_generate_p_impl()
438 abd_t *dabd; in raidz_generate_pq_impl() local
453 dabd = rr->rr_col[c].rc_abd; in raidz_generate_pq_impl()
[all …]
H A Dddt_zap.c56 abd_t sabd, dabd; in ddt_zap_compress() local
58 abd_get_from_buf_struct(&dabd, dst, d_len); in ddt_zap_compress()
59 c_len = ci->ci_compress(&sabd, &dabd, s_len, d_len - 1, ci->ci_level); in ddt_zap_compress()
60 abd_free(&dabd); in ddt_zap_compress()
86 abd_t sabd, dabd; in ddt_zap_decompress() local
88 abd_get_from_buf_struct(&dabd, dst, d_len); in ddt_zap_decompress()
89 VERIFY0(zio_decompress_data(cpfunc, &sabd, &dabd, s_len, d_len, NULL)); in ddt_zap_decompress()
90 abd_free(&dabd); in ddt_zap_decompress()
H A Dabd.c935 abd_iterate_func2(abd_t *dabd, abd_t *sabd, size_t doff, size_t soff, in abd_iterate_func2() argument
945 abd_verify(dabd); in abd_iterate_func2()
948 ASSERT3U(doff + size, <=, dabd->abd_size); in abd_iterate_func2()
951 c_dabd = abd_init_abd_iter(dabd, &daiter, doff); in abd_iterate_func2()
955 IMPLY(abd_is_gang(dabd), c_dabd != NULL); in abd_iterate_func2()
977 abd_advance_abd_iter(dabd, c_dabd, &daiter, len); in abd_iterate_func2()
997 abd_copy_off(abd_t *dabd, abd_t *sabd, size_t doff, size_t soff, size_t size) in abd_copy_off() argument
999 (void) abd_iterate_func2(dabd, sabd, doff, soff, size, in abd_copy_off()
1014 abd_cmp(abd_t *dabd, abd_t *sabd) in abd_cmp() argument
1016 ASSERT3U(dabd->abd_size, ==, sabd->abd_size); in abd_cmp()
[all …]
H A Dblkptr.c145 abd_t cabd, dabd; in decode_embedded_bp() local
147 abd_get_from_buf_struct(&dabd, buf, buflen); in decode_embedded_bp()
149 &dabd, psize, buflen, NULL)); in decode_embedded_bp()
150 abd_free(&dabd); in decode_embedded_bp()
H A Ddmu_recv.c1429 abd_t *dabd = abd_alloc_linear( in do_corrective_recv() local
1432 abd, dabd, abd_get_size(abd), in do_corrective_recv()
1433 abd_get_size(dabd), NULL); in do_corrective_recv()
1436 abd_free(dabd); in do_corrective_recv()
1441 abd = dabd; in do_corrective_recv()
H A Darc.c2139 abd_t dabd; in arc_buf_fill() local
2140 abd_get_from_buf_struct(&dabd, buf->b_data, in arc_buf_fill()
2143 hdr->b_l1hdr.b_pabd, &dabd, in arc_buf_fill()
2146 abd_free(&dabd); in arc_buf_fill()
10507 abd_t dabd; in l2arc_log_blk_read() local
10508 abd_get_from_buf_struct(&dabd, this_lb, sizeof (*this_lb)); in l2arc_log_blk_read()
10511 abd, &dabd, asize, sizeof (*this_lb), NULL); in l2arc_log_blk_read()
10512 abd_free(&dabd); in l2arc_log_blk_read()
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_recompress.c262 abd_t cabd, dabd; in zstream_do_recompress() local
265 abd_get_from_buf_struct(&dabd, dbuf, in zstream_do_recompress()
267 if (zio_decompress_data(dtype, &cabd, &dabd, in zstream_do_recompress()
268 payload_size, abd_get_size(&dabd), in zstream_do_recompress()
278 abd_free(&dabd); in zstream_do_recompress()
285 abd_t dabd, abd; in zstream_do_recompress() local
286 abd_get_from_buf_struct(&dabd, in zstream_do_recompress()
290 size_t csize = zio_compress_data(ctype, &dabd, in zstream_do_recompress()
307 abd_free(&dabd); in zstream_do_recompress()
H A Dzstream_decompress.c295 abd_t sabd, dabd; in zstream_do_decompress() local
297 abd_get_from_buf_struct(&dabd, buf, lsize); in zstream_do_decompress()
298 int err = zio_decompress_data(c, &sabd, &dabd, in zstream_do_decompress()
300 abd_free(&dabd); in zstream_do_decompress()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dabd_os.c231 abd_get_offset_scatter(abd_t *dabd, abd_t *sabd, size_t off, size_t size) in abd_get_offset_scatter() argument
271 if (dabd == NULL || ABD_SCATTER(dabd).abd_iovcnt < iovcnt) in abd_get_offset_scatter()
272 dabd = abd_alloc_struct(iovcnt << ABD_PAGESHIFT); in abd_get_offset_scatter()
275 ABD_SCATTER(dabd).abd_offset = doff; in abd_get_offset_scatter()
278 memcpy(&ABD_SCATTER(dabd).abd_iov[0], in abd_get_offset_scatter()
282 return (dabd); in abd_get_offset_scatter()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dabd.h128 void abd_raidz_gen_iterate(abd_t **cabds, abd_t *dabd, size_t off,
142 abd_copy(abd_t *dabd, abd_t *sabd, size_t size) in abd_copy() argument
144 abd_copy_off(dabd, sabd, 0, 0, size); in abd_copy()
/freebsd/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c640 abd_t sabd, dabd; in zfs_zstd_compress_buf() local
642 abd_get_from_buf_struct(&dabd, d_start, d_len); in zfs_zstd_compress_buf()
643 pass_len = zfs_lz4_compress(&sabd, &dabd, s_len, d_len, 0); in zfs_zstd_compress_buf()
644 abd_free(&dabd); in zfs_zstd_compress_buf()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c4834 abd_t dabd; in dump_l2arc_log_blocks() local
4835 abd_get_from_buf_struct(&dabd, &this_lb, in dump_l2arc_log_blocks()
4838 (&lbps[0])->lbp_prop), abd, &dabd, in dump_l2arc_log_blocks()
4840 abd_free(&dabd); in dump_l2arc_log_blocks()