| /freebsd-14-stable/sys/contrib/openzfs/module/zfs/ |
| HD | abd.c | 109 abd_verify(abd_t *abd) in abd_verify() argument 112 ASSERT3U(abd->abd_size, <=, SPA_MAXBLOCKSIZE); in abd_verify() 113 ASSERT3U(abd->abd_flags, ==, abd->abd_flags & (ABD_FLAG_LINEAR | in abd_verify() 117 IMPLY(abd->abd_parent != NULL, !(abd->abd_flags & ABD_FLAG_OWNER)); in abd_verify() 118 IMPLY(abd->abd_flags & ABD_FLAG_META, abd->abd_flags & ABD_FLAG_OWNER); in abd_verify() 119 if (abd_is_linear(abd)) { in abd_verify() 120 ASSERT3U(abd->abd_size, >, 0); in abd_verify() 121 ASSERT3P(ABD_LINEAR_BUF(abd), !=, NULL); in abd_verify() 122 } else if (abd_is_gang(abd)) { in abd_verify() 124 for (abd_t *cabd = list_head(&ABD_GANG(abd).abd_gang_chain); in abd_verify() [all …]
|
| HD | zio_checksum.c | 95 abd_checksum_off(abd_t *abd, uint64_t size, in abd_checksum_off() argument 98 (void) abd, (void) size, (void) ctx_template; in abd_checksum_off() 103 abd_fletcher_2_native(abd_t *abd, uint64_t size, in abd_fletcher_2_native() argument 108 (void) abd_iterate_func(abd, 0, size, in abd_fletcher_2_native() 113 abd_fletcher_2_byteswap(abd_t *abd, uint64_t size, in abd_fletcher_2_byteswap() argument 118 (void) abd_iterate_func(abd, 0, 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() argument 126 abd_iterate_func(abd, 0, size, fletcher_4_abd_ops.acf_iter, acdp); in abd_fletcher_4_impl() 131 abd_fletcher_4_native(abd_t *abd, uint64_t size, in abd_fletcher_4_native() argument 143 abd_fletcher_4_impl(abd, size, &acd); in abd_fletcher_4_native() [all …]
|
| HD | sha2_zfs.c | 43 abd_checksum_sha256(abd_t *abd, uint64_t size, in abd_checksum_sha256() argument 52 uint8_t *buf = abd_borrow_buf_copy(abd, size); in abd_checksum_sha256() 54 abd_return_buf(abd, buf, size); in abd_checksum_sha256() 62 (void) abd_iterate_func(abd, 0, size, sha_incremental, &ctx); in abd_checksum_sha256() 80 abd_checksum_sha512_native(abd_t *abd, uint64_t size, in abd_checksum_sha512_native() argument 87 (void) abd_iterate_func(abd, 0, size, sha_incremental, &ctx); in abd_checksum_sha512_native() 92 abd_checksum_sha512_byteswap(abd_t *abd, uint64_t size, in abd_checksum_sha512_byteswap() argument 97 abd_checksum_sha512_native(abd, size, ctx_template, &tmp); in abd_checksum_sha512_byteswap()
|
| HD | zfs_chksum.c | 140 chksum_run(chksum_stat_t *cs, abd_t *abd, void *ctx, int round, in chksum_run() argument 171 cs->func(abd, size, ctx, &zcp); in chksum_run() 189 abd_t *abd; in chksum_benchit() local 199 abd = abd_alloc_linear(1<<20, B_FALSE); in chksum_benchit() 200 chksum_run(cs, abd, ctx, 1, &cs->bs1k); in chksum_benchit() 201 chksum_run(cs, abd, ctx, 2, &cs->bs4k); in chksum_benchit() 202 chksum_run(cs, abd, ctx, 3, &cs->bs16k); in chksum_benchit() 203 chksum_run(cs, abd, ctx, 4, &cs->bs64k); in chksum_benchit() 204 chksum_run(cs, abd, ctx, 5, &cs->bs256k); in chksum_benchit() 219 chksum_run(cs, abd, ctx, 6, &cs->bs1m); in chksum_benchit() [all …]
|
| HD | skein_zfs.c | 45 abd_checksum_skein_native(abd_t *abd, uint64_t size, in abd_checksum_skein_native() argument 52 (void) abd_iterate_func(abd, 0, size, skein_incremental, &ctx); in abd_checksum_skein_native() 63 abd_checksum_skein_byteswap(abd_t *abd, uint64_t size, in abd_checksum_skein_byteswap() argument 68 abd_checksum_skein_native(abd, size, ctx_template, &tmp); in abd_checksum_skein_byteswap()
|
| HD | blake3_zfs.c | 47 abd_checksum_blake3_native(abd_t *abd, uint64_t size, const void *ctx_template, in abd_checksum_blake3_native() argument 60 (void) abd_iterate_func(abd, 0, size, blake3_incremental, ctx); in abd_checksum_blake3_native() 77 abd_checksum_blake3_byteswap(abd_t *abd, uint64_t size, in abd_checksum_blake3_byteswap() argument 84 abd_checksum_blake3_native(abd, size, ctx_template, &tmp); in abd_checksum_blake3_byteswap()
|
| HD | edonr_zfs.c | 49 abd_checksum_edonr_native(abd_t *abd, uint64_t size, in abd_checksum_edonr_native() argument 57 (void) abd_iterate_func(abd, 0, size, edonr_incremental, &ctx); in abd_checksum_edonr_native() 66 abd_checksum_edonr_byteswap(abd_t *abd, uint64_t size, in abd_checksum_edonr_byteswap() argument 71 abd_checksum_edonr_native(abd, size, ctx_template, &tmp); in abd_checksum_edonr_byteswap()
|
| HD | dmu_recv.c | 95 abd_t *abd; member 1372 abd_t *abd = rrd->abd; in do_corrective_recv() local 1392 abd, abd_to_buf(dabd), abd_get_size(abd), in do_corrective_recv() 1400 abd_free(abd); in do_corrective_recv() 1401 abd = dabd; in do_corrective_recv() 1410 abd, &buf, abd_get_size(abd), in do_corrective_recv() 1414 abd_free(abd); in do_corrective_recv() 1415 abd = cabd; in do_corrective_recv() 1460 mac, abd_get_size(abd), abd, eabd, &no_crypt); in do_corrective_recv() 1472 abd_free(abd); in do_corrective_recv() [all …]
|
| HD | vdev_queue.c | 628 abd_t *abd; in vdev_queue_aggregate() local 771 abd = abd_alloc_gang(); in vdev_queue_aggregate() 772 if (abd == NULL) in vdev_queue_aggregate() 776 abd, size, first->io_type, zio->io_priority, in vdev_queue_aggregate() 793 abd = abd_alloc_for_io( in vdev_queue_aggregate() 795 abd_gang_add(aio->io_abd, abd, B_TRUE); in vdev_queue_aggregate() 801 abd = abd_get_offset_size(dio->io_abd, 0, dio->io_size); in vdev_queue_aggregate() 802 abd_gang_add(aio->io_abd, abd, B_TRUE); in vdev_queue_aggregate()
|
| HD | vdev_label.c | 1318 abd_t *abd = NULL; in vdev_label_read_bootenv() local 1325 zio_t *zio = zio_root(spa, NULL, &abd, flags); in vdev_label_read_bootenv() 1329 if (abd != NULL) { in vdev_label_read_bootenv() 1331 vdev_boot_envblock_t *vbe = abd_to_buf(abd); in vdev_label_read_bootenv() 1357 buf = abd_to_buf(abd); in vdev_label_read_bootenv() 1369 abd_free(abd); in vdev_label_read_bootenv() 1419 abd_t *abd = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE); in vdev_label_write_bootenv() local 1420 abd_zero(abd, VDEV_PAD_SIZE); in vdev_label_write_bootenv() 1422 bootenv = abd_borrow_buf_copy(abd, VDEV_PAD_SIZE); in vdev_label_write_bootenv() 1447 abd_return_buf_copy(abd, bootenv, VDEV_PAD_SIZE); in vdev_label_write_bootenv() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| HD | abd_os.c | 122 abd_scatter_chunkcnt(abd_t *abd) in abd_scatter_chunkcnt() argument 124 ASSERT(!abd_is_linear(abd)); in abd_scatter_chunkcnt() 126 ABD_SCATTER(abd).abd_offset + abd->abd_size)); in abd_scatter_chunkcnt() 136 abd_update_scatter_stats(abd_t *abd, abd_stats_op_t op) in abd_update_scatter_stats() argument 138 uint_t n = abd_scatter_chunkcnt(abd); in abd_update_scatter_stats() 140 int waste = (n << PAGE_SHIFT) - abd->abd_size; in abd_update_scatter_stats() 143 ABDSTAT_INCR(abdstat_scatter_data_size, abd->abd_size); in abd_update_scatter_stats() 148 ABDSTAT_INCR(abdstat_scatter_data_size, -(int)abd->abd_size); in abd_update_scatter_stats() 155 abd_update_linear_stats(abd_t *abd, abd_stats_op_t op) in abd_update_linear_stats() argument 160 ABDSTAT_INCR(abdstat_linear_data_size, abd->abd_size); in abd_update_linear_stats() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/lib/libzpool/ |
| HD | abd_os.c | 63 #define abd_for_each_sg(abd, sg, n, i) \ argument 64 for_each_sg(ABD_SCATTER(abd).abd_sgl, sg, n, i) 120 abd_t *abd = kmem_cache_alloc(abd_cache, KM_PUSHPAGE); in abd_alloc_struct_impl() local 121 ASSERT3P(abd, !=, NULL); in abd_alloc_struct_impl() 123 return (abd); in abd_alloc_struct_impl() 127 abd_free_struct_impl(abd_t *abd) in abd_free_struct_impl() argument 129 kmem_cache_free(abd_cache, abd); in abd_free_struct_impl() 153 abd_free_sg_table(abd_t *abd) in abd_free_sg_table() argument 155 int nents = ABD_SCATTER(abd).abd_nents; in abd_free_sg_table() 156 vmem_free(ABD_SCATTER(abd).abd_sgl, in abd_free_sg_table() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
| HD | abd_os.c | 154 #define abd_for_each_sg(abd, sg, n, i) \ argument 155 for_each_sg(ABD_SCATTER(abd).abd_sgl, sg, n, i) 213 abd_t *abd = kmem_cache_alloc(abd_cache, KM_PUSHPAGE); in abd_alloc_struct_impl() local 214 ASSERT3P(abd, !=, NULL); in abd_alloc_struct_impl() 217 return (abd); in abd_alloc_struct_impl() 221 abd_free_struct_impl(abd_t *abd) in abd_free_struct_impl() argument 223 kmem_cache_free(abd_cache, abd); in abd_free_struct_impl() 269 abd_alloc_chunks(abd_t *abd, size_t size) in abd_alloc_chunks() argument 343 ASSERT0(ABD_SCATTER(abd).abd_offset); in abd_alloc_chunks() 367 abd->abd_flags |= ABD_FLAG_LINEAR; in abd_alloc_chunks() [all …]
|
| HD | vdev_disk.c | 751 vbio_submit(vbio_t *vbio, abd_t *abd, uint64_t size) in vbio_submit() argument 764 (void) abd_iterate_page_func(abd, 0, size, vbio_fill_cb, vbio); in vbio_submit() 882 vdev_disk_check_alignment(abd_t *abd, uint64_t size, struct block_device *bdev) in vdev_disk_check_alignment() argument 888 if (abd_iterate_page_func(abd, 0, size, in vdev_disk_check_alignment() 931 abd_t *abd = zio->io_abd; in vdev_disk_io_rw() local 932 if (!vdev_disk_check_alignment(abd, zio->io_size, bdev)) { in vdev_disk_io_rw() 934 abd = abd_alloc_for_io(zio->io_size, in vdev_disk_io_rw() 939 abd_copy(abd, zio->io_abd, zio->io_size); in vdev_disk_io_rw() 948 VERIFY(vdev_disk_check_alignment(abd, zio->io_size, bdev)); in vdev_disk_io_rw() 953 if (abd != zio->io_abd) in vdev_disk_io_rw() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/include/sys/ |
| HD | abd.h | 52 typedef struct abd { struct 57 struct abd *abd_parent; argument 146 abd_copy_from_buf(abd_t *abd, const void *buf, size_t size) in abd_copy_from_buf() argument 148 abd_copy_from_buf_off(abd, buf, 0, size); in abd_copy_from_buf() 152 abd_copy_to_buf(void* buf, abd_t *abd, size_t size) in abd_copy_to_buf() argument 154 abd_copy_to_buf_off(buf, abd, 0, size); in abd_copy_to_buf() 158 abd_cmp_buf(abd_t *abd, const void *buf, size_t size) in abd_cmp_buf() argument 160 return (abd_cmp_buf_off(abd, buf, 0, size)); in abd_cmp_buf() 164 abd_zero(abd_t *abd, size_t size) in abd_zero() argument 166 abd_zero_off(abd, 0, size); in abd_zero() [all …]
|
| HD | abd_impl.h | 111 #define ABD_SCATTER(abd) (abd->abd_u.abd_scatter) argument 112 #define ABD_LINEAR_BUF(abd) (abd->abd_u.abd_linear.abd_buf) argument 113 #define ABD_GANG(abd) (abd->abd_u.abd_gang) argument
|
| HD | zio_checksum.h | 39 struct abd; 44 typedef void zio_checksum_t(struct abd *abd, uint64_t size, 141 struct abd *, uint64_t); 143 struct abd *, uint64_t, uint64_t, zio_bad_cksum_t *);
|
| HD | zio.h | 369 struct abd; 397 zio_gang_node_t *gn, struct abd *data, uint64_t offset); 399 typedef void zio_transform_func_t(zio_t *zio, struct abd *data, uint64_t size); 402 struct abd *zt_orig_abd; 479 struct abd *io_abd; 480 struct abd *io_orig_abd; 557 struct abd *data, uint64_t lsize, zio_done_func_t *done, void *priv, 561 struct abd *data, uint64_t size, uint64_t psize, const zio_prop_t *zp, 567 struct abd *data, uint64_t size, zio_done_func_t *done, void *priv, 587 uint64_t size, struct abd *data, int checksum, [all …]
|
| HD | dsl_crypt.h | 219 abd_t *abd, uint_t datalen, uint8_t *mac); 221 abd_t *abd, uint_t datalen, boolean_t byteswap);
|
| /freebsd-14-stable/contrib/netbsd-tests/lib/libc/regex/data/ |
| HD | subexp.in | 4 a(b|(c))d - abd abd b,- 35 a(b|c)+d - abd abd b 41 a(b|c){0,1}d - abd abd b 46 a(b|c){1,1}d - abd abd b 48 a(b|c){1,2}d - abd abd b 50 a(b|c){1,}d - abd abd b 59 a(b+|((c)*))+d - abd abd @d,@d,-
|
| HD | subtle.in | 14 [abc]b[abd] - abd abd 18 a[bc]d - xyzaaabcaababdacd abd
|
| HD | meta.in | 3 a[bc]d & abd abd
|
| HD | complex.in | 3 a(b|(c))d - abd abd
|
| /freebsd-14-stable/lib/libc/regex/grot/ |
| HD | tests | 128 a[bc]d & abd abd 330 a(b|(c))d - abd abd 365 [abc]b[abd] - abd abd 369 a[bc]d - xyzaaabcaababdacd abd 376 a(b|(c))d - abd abd b,- 404 a(b|c)+d - abd abd b 410 a(b|c){0,1}d - abd abd b 415 a(b|c){1,1}d - abd abd b 417 a(b|c){1,2}d - abd abd b 419 a(b|c){1,}d - abd abd b [all …]
|
| /freebsd-14-stable/sys/dev/qat/qat_api/firmware/include/ |
| HD | icp_qat_hw_20_comp.h | 40 icp_qat_hw_comp_20_abd_t abd; member 106 csr.abd, in ICP_QAT_FW_COMP_20_BUILD_CONFIG_LOWER()
|