| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | abd.c | 119 for (abd_t *cabd = list_head(&ABD_GANG(abd).abd_gang_chain); in abd_verify() local 120 cabd != NULL; in abd_verify() 121 cabd = list_next(&ABD_GANG(abd).abd_gang_chain, cabd)) { in abd_verify() 122 ASSERT(list_link_active(&cabd->abd_gang_link)); in abd_verify() 123 child_sizes += cabd->abd_size; in abd_verify() 124 abd_verify(cabd); in abd_verify() 261 abd_t *cabd; in abd_free_gang() local 263 while ((cabd = list_head(&ABD_GANG(abd).abd_gang_chain)) != NULL) { in abd_free_gang() 270 mutex_enter(&cabd->abd_mtx); in abd_free_gang() 271 ASSERT(list_link_active(&cabd->abd_gang_link)); in abd_free_gang() [all …]
|
| H A D | blkptr.c | 142 abd_t cabd, dabd; in decode_embedded_bp() local 143 abd_get_from_buf_struct(&cabd, dstbuf, psize); in decode_embedded_bp() 145 VERIFY0(zio_decompress_data(BP_GET_COMPRESS(bp), &cabd, in decode_embedded_bp() 148 abd_free(&cabd); in decode_embedded_bp()
|
| H A D | dsl_crypt.c | 2909 uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd, in spa_do_crypt_abd() argument 2927 cipherbuf = abd_borrow_buf(cabd, datalen); in spa_do_crypt_abd() 2930 cipherbuf = abd_borrow_buf_copy(cabd, datalen); in spa_do_crypt_abd() 2974 abd_return_buf_copy(cabd, cipherbuf, datalen); in spa_do_crypt_abd() 2977 abd_return_buf(cabd, cipherbuf, datalen); in spa_do_crypt_abd() 2991 abd_return_buf_copy(cabd, cipherbuf, datalen); in spa_do_crypt_abd() 2994 abd_return_buf(cabd, cipherbuf, datalen); in spa_do_crypt_abd()
|
| H A D | arc.c | 1888 abd_t *cabd = NULL; in arc_hdr_decrypt() local 1922 cabd = arc_get_data_abd(hdr, arc_hdr_size(hdr), hdr, 0); in arc_hdr_decrypt() 1925 hdr->b_l1hdr.b_pabd, cabd, HDR_GET_PSIZE(hdr), in arc_hdr_decrypt() 1933 hdr->b_l1hdr.b_pabd = cabd; in arc_hdr_decrypt() 1940 if (cabd != NULL) in arc_hdr_decrypt() 1941 arc_free_data_abd(hdr, cabd, arc_hdr_size(hdr), hdr); in arc_hdr_decrypt() 8862 abd_t *cabd = arc_get_data_abd(hdr, arc_hdr_size(hdr), hdr, in l2arc_untransform() local 8866 hdr->b_l1hdr.b_pabd, cabd, HDR_GET_PSIZE(hdr), in l2arc_untransform() 8869 arc_free_data_abd(hdr, cabd, arc_hdr_size(hdr), hdr); in l2arc_untransform() 8875 hdr->b_l1hdr.b_pabd = cabd; in l2arc_untransform() [all …]
|
| H A D | zio.c | 2032 abd_t *cabd = NULL; in zio_write_compress() local 2038 psize = zio_compress_data(compress, zio->io_abd, &cabd, in zio_write_compress() 2047 if (cabd != NULL) in zio_write_compress() 2048 abd_free(cabd); in zio_write_compress() 2052 void *cbuf = abd_borrow_buf_copy(cabd, lsize); in zio_write_compress() 2058 abd_return_buf(cabd, cbuf, lsize); in zio_write_compress() 2059 abd_free(cabd); in zio_write_compress() 2078 abd_free(cabd); in zio_write_compress() 2081 abd_zero_off(cabd, psize, rounded - psize); in zio_write_compress() 2083 zio_push_transform(zio, cabd, in zio_write_compress()
|
| H A D | dmu_recv.c | 1528 abd_t *cabd = abd_alloc_linear(BP_GET_PSIZE(bp), in do_corrective_recv() local 1531 abd, &cabd, abd_get_size(abd), BP_GET_PSIZE(bp), in do_corrective_recv() 1533 abd_zero_off(cabd, csize, BP_GET_PSIZE(bp) - csize); in do_corrective_recv() 1536 abd = cabd; in do_corrective_recv()
|
| H A D | dsl_dataset.c | 2483 abd_t pabd, cabd; in get_receive_resume_token_impl() local 2485 abd_get_from_buf_struct(&cabd, compressed, packed_size); in get_receive_resume_token_impl() 2486 compressed_size = zfs_gzip_compress(&pabd, &cabd, in get_receive_resume_token_impl() 2488 abd_free(&cabd); in get_receive_resume_token_impl()
|
| H A D | vdev_raidz.c | 4536 abd_t *cabd = abd_get_offset_size( in raidz_reflow_impl() local 4540 abd_gang_add(abd, cabd, B_TRUE); in raidz_reflow_impl()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | abd_os.c | 660 for (abd_t *cabd = list_head(&ABD_GANG(abd).abd_gang_chain); in abd_return_buf() local 661 cabd != NULL; in abd_return_buf() 662 cabd = list_next(&ABD_GANG(abd).abd_gang_chain, cabd)) { in abd_return_buf() 663 if (!abd_is_from_pages(cabd)) { in abd_return_buf() 664 ASSERT0(abd_cmp_buf(cabd, cmp_buf, in abd_return_buf() 665 cabd->abd_size)); in abd_return_buf() 667 cmp_buf = (char *)cmp_buf + cabd->abd_size; in abd_return_buf()
|
| H A D | zio_crypt.c | 1771 uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) in zio_do_crypt_abd() argument 1778 ctmp = abd_borrow_buf(cabd, datalen); in zio_do_crypt_abd() 1781 ctmp = abd_borrow_buf_copy(cabd, datalen); in zio_do_crypt_abd() 1791 abd_return_buf_copy(cabd, ctmp, datalen); in zio_do_crypt_abd() 1794 abd_return_buf(cabd, ctmp, datalen); in zio_do_crypt_abd() 1802 abd_return_buf_copy(cabd, ctmp, datalen); in zio_do_crypt_abd() 1805 abd_return_buf(cabd, ctmp, datalen); in zio_do_crypt_abd()
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 1048 for (abd_t *cabd = list_head(&ABD_GANG(abd).abd_gang_chain); in abd_return_buf() local 1049 cabd != NULL; in abd_return_buf() 1050 cabd = list_next(&ABD_GANG(abd).abd_gang_chain, cabd)) { in abd_return_buf() 1051 if (!abd_is_from_pages(cabd)) { in abd_return_buf() 1052 ASSERT0(abd_cmp_buf(cabd, cmp_buf, in abd_return_buf() 1053 cabd->abd_size)); in abd_return_buf() 1055 cmp_buf = (char *)cmp_buf + cabd->abd_size; in abd_return_buf()
|
| H A D | zio_crypt.c | 2032 uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) in zio_do_crypt_abd() argument 2039 ctmp = abd_borrow_buf(cabd, datalen); in zio_do_crypt_abd() 2042 ctmp = abd_borrow_buf_copy(cabd, datalen); in zio_do_crypt_abd() 2052 abd_return_buf_copy(cabd, ctmp, datalen); in zio_do_crypt_abd() 2055 abd_return_buf(cabd, ctmp, datalen); in zio_do_crypt_abd() 2063 abd_return_buf_copy(cabd, ctmp, datalen); in zio_do_crypt_abd() 2066 abd_return_buf(cabd, ctmp, datalen); in zio_do_crypt_abd()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | zio_crypt.h | 154 uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd,
|
| H A D | dsl_crypt.h | 222 uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd,
|