/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | abd.h | 52 typedef struct abd { struct 53 abd_flags_t abd_flags; argument 54 uint_t abd_size; /* excludes scattered abd_offset */ argument 55 list_node_t abd_gang_link; argument 57 struct abd *abd_parent; argument 58 zfs_refcount_t abd_children; argument 60 kmutex_t abd_mtx; argument 62 struct abd_scatter abd_scatter; argument 67 } abd_u; argument 148 abd_copy_from_buf(abd_t *abd, const void *buf, size_t size) in abd_copy_from_buf() [all …]
|
H A D | abd_impl.h | 119 #define ABD_SCATTER(abd) ((abd)->abd_u.abd_scatter) argument 120 #define ABD_LINEAR_BUF(abd) ((abd)->abd_u.abd_linear.abd_buf) argument 121 #define ABD_GANG(abd) ((abd)->abd_u.abd_gang) argument
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | abd_os.c | 82 abd_t *abd = umem_alloc(sizeof (abd_t) + (n-1) * sizeof (struct iovec), in abd_alloc_struct_impl() local 90 abd_free_struct_impl(abd_t *abd) in abd_free_struct_impl() 100 abd_alloc_chunks(abd_t *abd, size_t size) in abd_alloc_chunks() 121 abd_free_chunks(abd_t *abd) in abd_free_chunks() 136 abd_update_scatter_stats(abd_t *abd, abd_stats_op_t op) in abd_update_scatter_stats() 148 abd_update_linear_stats(abd_t *abd, abd_stats_op_t op) in abd_update_linear_stats() 156 abd_verify_scatter(abd_t *abd) in abd_verify_scatter() 214 abd_free_linear_page(abd_t *abd) in abd_free_linear_page() 286 abd_iter_init(struct abd_iter *aiter, abd_t *abd) in abd_iter_init() 374 abd_borrow_buf(abd_t *abd, size_t n) in abd_borrow_buf() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | abd.c | 109 abd_verify(abd_t *abd) in abd_verify() 144 abd_init_struct(abd_t *abd) in abd_init_struct() 157 abd_fini_struct(abd_t *abd) in abd_fini_struct() 169 abd_t *abd = abd_alloc_struct_impl(size); in abd_alloc_struct() local 176 abd_free_struct(abd_t *abd) in abd_free_struct() 194 abd_t *abd = abd_alloc_struct(size); in abd_alloc() local 217 abd_t *abd = abd_alloc_struct(0); in abd_alloc_linear() local 239 abd_free_linear(abd_t *abd) in abd_free_linear() 256 abd_free_gang(abd_t *abd) in abd_free_gang() 279 abd_free_scatter(abd_t *abd) in abd_free_scatter() [all …]
|
H A D | zio_checksum.c | 95 abd_checksum_off(abd_t *abd, uint64_t size, in abd_checksum_off() 103 abd_fletcher_2_native(abd_t *abd, uint64_t size, in abd_fletcher_2_native() 113 abd_fletcher_2_byteswap(abd_t *abd, uint64_t size, in abd_fletcher_2_byteswap() 123 abd_fletcher_4_impl(abd_t *abd, uint64_t size, zio_abd_checksum_data_t *acdp) in abd_fletcher_4_impl() 131 abd_fletcher_4_native(abd_t *abd, uint64_t size, in abd_fletcher_4_native() 148 abd_fletcher_4_byteswap(abd_t *abd, uint64_t size, in abd_fletcher_4_byteswap() 347 abd_t *abd, uint64_t size) in zio_checksum_compute() 422 enum zio_checksum checksum, abd_t *abd, uint64_t size, uint64_t offset, in zio_checksum_error_impl()
|
H A D | sha2_zfs.c | 43 abd_checksum_sha256(abd_t *abd, uint64_t size, in abd_checksum_sha256() 80 abd_checksum_sha512_native(abd_t *abd, uint64_t size, in abd_checksum_sha512_native() 92 abd_checksum_sha512_byteswap(abd_t *abd, uint64_t size, in abd_checksum_sha512_byteswap()
|
H A D | skein_zfs.c | 45 abd_checksum_skein_native(abd_t *abd, uint64_t size, in abd_checksum_skein_native() 63 abd_checksum_skein_byteswap(abd_t *abd, uint64_t size, in abd_checksum_skein_byteswap()
|
H A D | blake3_zfs.c | 47 abd_checksum_blake3_native(abd_t *abd, uint64_t size, const void *ctx_template, in abd_checksum_blake3_native() 77 abd_checksum_blake3_byteswap(abd_t *abd, uint64_t size, in abd_checksum_blake3_byteswap()
|
H A D | edonr_zfs.c | 49 abd_checksum_edonr_native(abd_t *abd, uint64_t size, in abd_checksum_edonr_native() 66 abd_checksum_edonr_byteswap(abd_t *abd, uint64_t size, in abd_checksum_edonr_byteswap()
|
H A D | zfs_chksum.c | 140 chksum_run(chksum_stat_t *cs, abd_t *abd, void *ctx, int round, in chksum_run() 189 abd_t *abd; in chksum_benchit() local
|
H A D | dmu_recv.c | 95 abd_t *abd; member 1412 abd_t *abd = rrd->abd; in do_corrective_recv() local 2240 abd_t *abd = rrd->abd; in flush_write_batch_impl() local 2522 abd_t *abd) in receive_spill() 2901 abd_t *abd = abd_alloc_linear(size, B_FALSE); in receive_read_record() local 2952 abd_t *abd = abd_alloc_linear(size, B_FALSE); in receive_read_record() local
|
H A D | dmu_direct.c | 228 abd_t *abd = abd_get_offset_size(data, in dmu_write_abd() local
|
H A D | vdev_label.c | 1330 abd_t *abd = NULL; in vdev_label_read_bootenv() local 1431 abd_t *abd = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE); in vdev_label_write_bootenv() local
|
H A D | arc.c | 1790 abd_t *abd = hdr->b_l1hdr.b_pabd; in arc_hdr_authenticate() local 2917 l2arc_free_abd_on_write(abd_t *abd, size_t size, arc_buf_contents_t type) in l2arc_free_abd_on_write() 5095 arc_free_data_abd(arc_buf_hdr_t *hdr, abd_t *abd, uint64_t size, in arc_free_data_abd() 6100 abd_t *abd; in arc_read() local 8811 void *abd = (using_rdata) ? in l2arc_read_done() local 10343 abd_t *abd; in l2arc_dev_hdr_read() local 10486 abd_t *abd = abd_alloc_linear(asize, B_TRUE); in l2arc_log_blk_read() local 10703 abd_t *abd; in l2arc_dev_hdr_update() local 10753 abd_t *abd = NULL; in l2arc_log_blk_commit() local
|
H A D | vdev_queue.c | 628 abd_t *abd; in vdev_queue_aggregate() local
|
H A D | vdev_raidz.c | 521 abd_t *abd = abd_get_offset_struct(&rc->rc_abdstruct, in vdev_raidz_map_alloc_write() local 739 abd_t *abd = zio->io_abd; in vdev_raidz_map_alloc_expanded() local 4057 abd_t *abd = abd_alloc_for_io(n << ashift, B_FALSE); in raidz_reflow_impl() local 4075 abd_t *abd; in raidz_reflow_impl() local
|
H A D | dsl_crypt.c | 2709 abd_t *abd, uint_t datalen, boolean_t byteswap) in spa_do_crypt_objset_mac_abd() 2772 spa_do_crypt_mac_abd(boolean_t generate, spa_t *spa, uint64_t dsobj, abd_t *abd, in spa_do_crypt_mac_abd()
|
H A D | zio.c | 423 zio_abd_free(void *abd, size_t size) in zio_abd_free() 540 abd_t *abd = abd_alloc_linear(lsize, B_TRUE); in zio_decrypt() local 4527 void *abd = abd_alloc_sametype(zio->io_abd, zio->io_size); in zio_vsd_default_cksum_report() local
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | abd_os.c | 123 abd_scatter_chunkcnt(abd_t *abd) in abd_scatter_chunkcnt() 137 abd_update_scatter_stats(abd_t *abd, abd_stats_op_t op) in abd_update_scatter_stats() 158 abd_update_linear_stats(abd_t *abd, abd_stats_op_t op) in abd_update_linear_stats() 171 abd_verify_scatter(abd_t *abd) in abd_verify_scatter() 188 abd_alloc_chunks(abd_t *abd, size_t size) in abd_alloc_chunks() 200 abd_free_chunks(abd_t *abd) in abd_free_chunks() 230 abd_t *abd = kmem_alloc(abd_size, KM_PUSHPAGE); in abd_alloc_struct_impl() local 238 abd_free_struct_impl(abd_t *abd) in abd_free_struct_impl() 352 abd_free_linear_page(abd_t *abd) in abd_free_linear_page() 375 abd_get_offset_from_pages(abd_t *abd, abd_t *sabd, size_t chunkcnt, in abd_get_offset_from_pages() [all …]
|
H A D | vdev_label_os.c | 100 abd_t *abd = abd_alloc_linear(size, B_FALSE); in vdev_check_boot_reserve() local
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | abd_os.c | 154 #define abd_for_each_sg(abd, sg, n, i) \ argument 214 abd_t *abd = kmem_cache_alloc(abd_cache, KM_PUSHPAGE); in abd_alloc_struct_impl() local 222 abd_free_struct_impl(abd_t *abd) in abd_free_struct_impl() 270 abd_alloc_chunks(abd_t *abd, size_t size) in abd_alloc_chunks() 393 abd_alloc_chunks(abd_t *abd, size_t size) in abd_alloc_chunks() 434 abd_free_sg_table(abd_t *abd) in abd_free_sg_table() 444 abd_free_chunks(abd_t *abd) in abd_free_chunks() 529 abd_update_scatter_stats(abd_t *abd, abd_stats_op_t op) in abd_update_scatter_stats() 547 abd_update_linear_stats(abd_t *abd, abd_stats_op_t op) in abd_update_linear_stats() 560 abd_verify_scatter(abd_t *abd) in abd_verify_scatter() [all …]
|
H A D | vdev_disk.c | 754 vbio_submit(vbio_t *vbio, abd_t *abd, uint64_t size) in vbio_submit() 889 vdev_disk_check_alignment(abd_t *abd, uint64_t size, struct block_device *bdev) in vdev_disk_check_alignment() 938 abd_t *abd = zio->io_abd; in vdev_disk_io_rw() local
|
/freebsd/sys/contrib/openzfs/cmd/zstream/ |
H A D | zstream_recompress.c | 285 abd_t dabd, abd; in zstream_do_recompress() local
|
/freebsd/sys/dev/qat/qat_api/firmware/include/ |
H A D | icp_qat_hw_20_comp.h | 40 icp_qat_hw_comp_20_abd_t abd; member
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | zhack.c | 534 abd_t *abd; in zhack_repair_calc_cksum() local
|