/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | abd.h | 53 } abd_t; typedef 61 abd_is_linear(abd_t *abd) in abd_is_linear() 70 abd_t *abd_alloc(size_t, boolean_t); 71 abd_t *abd_alloc_linear(size_t, boolean_t); 72 abd_t *abd_alloc_for_io(size_t, boolean_t); 73 abd_t *abd_alloc_sametype(abd_t *, size_t); 74 void abd_free(abd_t *); 75 abd_t *abd_get_offset(abd_t *, size_t); 76 abd_t *abd_get_offset_size(abd_t *, size_t, size_t); 77 abd_t *abd_get_from_buf(void *, size_t); [all …]
|
H A D | zio_crypt.h | 129 void zio_crypt_copy_dnode_bonus(abd_t *src_abd, uint8_t *dst, uint_t datalen); 133 int zio_crypt_do_indirect_mac_checksum_abd(boolean_t generate, abd_t *abd, 145 uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd,
|
H A D | zio_compress.h | 71 typedef int zio_decompress_abd_func_t(abd_t *src, void *dst, 109 extern size_t zio_compress_data(enum zio_compress c, abd_t *src, void *dst, 111 extern int zio_decompress_data(enum zio_compress c, abd_t *src, void *dst,
|
H A D | dsl_crypt.h | 224 abd_t *abd, uint_t datalen, uint8_t *mac); 226 abd_t *abd, uint_t datalen, boolean_t byteswap); 229 uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd,
|
H A D | zio.h | 338 const abd_t *good_data); 649 const abd_t *good_data, const abd_t *bad_data, boolean_t drop_if_identical); 657 uint64_t length, const abd_t *good_data, const abd_t *bad_data,
|
H A D | arc_impl.h | 176 abd_t *b_pabd; 310 abd_t *abd; 413 abd_t *b_rabd; /* raw encrypted data */
|
H A D | vdev_raidz_impl.h | 108 abd_t *rc_abd; /* I/O data */
|
H A D | vdev.h | 181 extern void vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | abd.c | 186 extern inline boolean_t abd_is_linear(abd_t *abd); 187 extern inline void abd_copy(abd_t *dabd, abd_t *sabd, size_t size); 188 extern inline void abd_copy_from_buf(abd_t *abd, const void *buf, size_t size); 189 extern inline void abd_copy_to_buf(void* buf, abd_t *abd, size_t size); 190 extern inline int abd_cmp_buf(abd_t *abd, const void *buf, size_t size); 191 extern inline void abd_zero(abd_t *abd, size_t size); 250 abd_scatter_chunkcnt(abd_t *abd) in abd_scatter_chunkcnt() 258 abd_verify(abd_t *abd) in abd_verify() 279 static inline abd_t * 282 size_t size = offsetof(abd_t, abd_u.abd_scatter.abd_chunks[chunkcnt]); in abd_alloc_struct() [all …]
|
H A D | vdev_raidz_math_impl.h | 358 abd_t *pabd = rm->rm_col[CODE_P].rc_abd; in raidz_generate_p_impl() 360 abd_t *dabd; in raidz_generate_p_impl() 426 abd_t *dabd; in raidz_generate_pq_impl() 427 abd_t *cabds[] = { in raidz_generate_pq_impl() 499 abd_t *dabd; in raidz_generate_pqr_impl() 500 abd_t *cabds[] = { in raidz_generate_pqr_impl() 593 abd_t *xabd = rm->rm_col[x].rc_abd; in raidz_reconstruct_p_impl() 595 abd_t *dabd; in raidz_reconstruct_p_impl() 664 abd_t *dabd; in raidz_reconstruct_q_impl() 668 abd_t *xabd = rm->rm_col[x].rc_abd; in raidz_reconstruct_q_impl() [all …]
|
H A D | zio_checksum.c | 97 abd_checksum_off(abd_t *abd, uint64_t size, in abd_checksum_off() 105 abd_fletcher_2_native(abd_t *abd, uint64_t size, in abd_fletcher_2_native() 115 abd_fletcher_2_byteswap(abd_t *abd, uint64_t size, in abd_fletcher_2_byteswap() 124 abd_fletcher_4_impl(abd_t *abd, uint64_t size, zio_abd_checksum_data_t *acdp) in abd_fletcher_4_impl() 133 abd_fletcher_4_native(abd_t *abd, uint64_t size, in abd_fletcher_4_native() 150 abd_fletcher_4_byteswap(abd_t *abd, uint64_t size, in abd_fletcher_4_byteswap() 335 abd_t *abd, uint64_t size) in zio_checksum_compute() 409 enum zio_checksum checksum, abd_t *abd, uint64_t size, in zio_checksum_error_impl() 539 abd_t *data = zio->io_abd; in zio_checksum_error()
|
H A D | zfs_fm.c | 437 const abd_t *goodabd, const abd_t *badabd, size_t size, in annotate_ecksum() 493 good = (const uint64_t *) abd_borrow_buf_copy((abd_t *)goodabd, size); in annotate_ecksum() 494 bad = (const uint64_t *) abd_borrow_buf_copy((abd_t *)badabd, size); in annotate_ecksum() 525 abd_return_buf((abd_t *)goodabd, (void *)good, size); in annotate_ecksum() 526 abd_return_buf((abd_t *)badabd, (void *)bad, size); in annotate_ecksum() 568 abd_return_buf((abd_t *)goodabd, (void *)good, size); in annotate_ecksum() 569 abd_return_buf((abd_t *)badabd, (void *)bad, size); in annotate_ecksum() 759 zfs_ereport_finish_checksum(zio_cksum_report_t *report, const abd_t *good_data, in zfs_ereport_finish_checksum() 760 const abd_t *bad_data, boolean_t drop_if_identical) in zfs_ereport_finish_checksum() 809 const abd_t *good_data, const abd_t *bad_data, zio_bad_cksum_t *zbc) in zfs_ereport_post_checksum()
|
H A D | sha256.c | 44 abd_checksum_SHA256(abd_t *abd, uint64_t size, in abd_checksum_SHA256() 69 abd_checksum_SHA512_native(abd_t *abd, uint64_t size, in abd_checksum_SHA512_native() 81 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 | 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 | vdev_raidz.c | 186 vdev_raidz_cksum_finish(zio_cksum_report_t *zcr, const abd_t *good_data) in vdev_raidz_cksum_finish() 192 const abd_t *good = NULL; in vdev_raidz_cksum_finish() 193 const abd_t *bad = rm->rm_col[c].rc_abd; in vdev_raidz_cksum_finish() 207 abd_t *bad_parity[VDEV_RAIDZ_MAXPARITY]; in vdev_raidz_cksum_finish() 228 abd_get_offset_size((abd_t *)good_data, in vdev_raidz_cksum_finish() 261 good = abd_get_offset_size((abd_t *)good_data, offset, in vdev_raidz_cksum_finish() 267 abd_put((abd_t *)good); in vdev_raidz_cksum_finish() 314 abd_t *tmp = abd_get_offset_size(rm->rm_abd_copy, offset, in vdev_raidz_cksum_report() 555 abd_t *src; in vdev_raidz_generate_parity_p() 576 abd_t *src; in vdev_raidz_generate_parity_pq() [all …]
|
H A D | zio_compress.c | 103 zio_compress_data(enum zio_compress c, abd_t *src, void *dst, size_t s_len) in zio_compress_data() 150 zio_decompress_data(enum zio_compress c, abd_t *src, void *dst, in zio_decompress_data()
|
H A D | vdev_initialize.c | 186 vdev_initialize_write(vdev_t *vd, uint64_t start, uint64_t size, abd_t *data) in vdev_initialize_write() 259 static abd_t * 263 abd_t *data = abd_alloc_for_io(zfs_initialize_chunk_size, B_FALSE); in vdev_initialize_block_alloc() 273 vdev_initialize_block_free(abd_t *data) in vdev_initialize_block_free() 279 vdev_initialize_ranges(vdev_t *vd, abd_t *data) in vdev_initialize_ranges() 476 abd_t *deadbeef = vdev_initialize_block_alloc(); in vdev_initialize_thread()
|
H A D | vdev_label.c | 188 vdev_label_read(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_read() 203 vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_write() 753 abd_t *vp_abd; in vdev_label_read_config() 955 abd_t *vp_abd; in vdev_label_init() 956 abd_t *bootenv; in vdev_label_init() 958 abd_t *ub_abd; in vdev_label_init() 1186 abd_t **cbp = rio->io_private; in vdev_label_read_bootenv_done() 1231 abd_t *abd = NULL; in vdev_label_read_bootenv() 1331 abd_t *abd = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE); in vdev_label_write_bootenv() 1576 abd_t *ub_abd = abd_alloc_for_io(VDEV_UBERBLOCK_SIZE(vd), B_TRUE); in vdev_uberblock_sync() [all …]
|
H A D | zio.c | 285 abd_free((abd_t *)abd); in zio_abd_free() 294 zio_push_transform(zio_t *zio, abd_t *data, uint64_t size, uint64_t bufsize, in zio_push_transform() 344 zio_subblock(zio_t *zio, abd_t *data, uint64_t size) in zio_subblock() 353 zio_decompress(zio_t *zio, abd_t *data, uint64_t size) in zio_decompress() 367 zio_decrypt(zio_t *zio, abd_t *data, uint64_t size) in zio_decrypt() 694 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, in zio_create() 931 abd_t *data, uint64_t size, zio_done_func_t *done, void *private, in zio_read() 949 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, in zio_write() 993 zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data, in zio_rewrite() 1175 abd_t *data, int checksum, zio_done_func_t *done, void *private, in zio_read_phys() [all …]
|
H A D | arc.c | 755 abd_t *l2rcb_abd; /* temporary buffer */ 760 abd_t *l2df_abd; 779 static abd_t *arc_get_data_abd(arc_buf_hdr_t *, uint64_t, void *, boolean_t); 790 static void arc_free_data_abd(arc_buf_hdr_t *, abd_t *, uint64_t, void *); 1636 abd_t *abd = hdr->b_l1hdr.b_pabd; in arc_hdr_authenticate() 1703 abd_t *cabd = NULL; in arc_hdr_decrypt() 2768 l2arc_free_abd_on_write(abd_t *abd, size_t size, arc_buf_contents_t type) in l2arc_free_abd_on_write() 4933 static abd_t * 5058 arc_free_data_abd(arc_buf_hdr_t *hdr, abd_t *abd, uint64_t size, void *tag) in arc_free_data_abd() 5352 abd_t *abd = NULL; in arc_hdr_verify_checksum() [all …]
|
H A D | zio_crypt.c | 893 zio_crypt_copy_dnode_bonus(abd_t *src_abd, uint8_t *dst, uint_t datalen) in zio_crypt_copy_dnode_bonus() 1356 zio_crypt_do_indirect_mac_checksum_abd(boolean_t generate, abd_t *abd, in zio_crypt_do_indirect_mac_checksum_abd() 1975 uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) in zio_do_crypt_abd()
|
H A D | vdev_indirect.c | 234 abd_t *ic_data; 1382 abd_t *bad_abd = ic->ic_data; in vdev_indirect_checksum_error() 1383 abd_t *good_abd = is->is_good_child->ic_data; in vdev_indirect_checksum_error()
|
H A D | mmp.c | 520 abd_t *ub_abd = abd_alloc_for_io(VDEV_UBERBLOCK_SIZE(vd), B_TRUE); in mmp_write_uberblock()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb_il.c | 152 abd_t *data; in zil_prt_rec_write()
|