Home
last modified time | relevance | path

Searched refs:pabd (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dabd.c364 abd_gang_add_gang(abd_t *pabd, abd_t *cabd, boolean_t free_on_free) in abd_gang_add_gang() argument
366 ASSERT(abd_is_gang(pabd)); in abd_gang_add_gang()
390 pabd->abd_size += cabd->abd_size; in abd_gang_add_gang()
392 list_move_tail(&ABD_GANG(pabd).abd_gang_chain, in abd_gang_add_gang()
395 abd_verify(pabd); in abd_gang_add_gang()
407 abd_gang_add(pabd, child, B_FALSE); in abd_gang_add_gang()
409 abd_verify(pabd); in abd_gang_add_gang()
417 abd_gang_add(abd_t *pabd, abd_t *cabd, boolean_t free_on_free) in abd_gang_add() argument
419 ASSERT(abd_is_gang(pabd)); in abd_gang_add()
429 return (abd_gang_add_gang(pabd, cabd, free_on_free)); in abd_gang_add()
[all …]
H A Dvdev_raidz_math.c466 abd_t *pabd; in benchmark_raidz() local
496 pabd = bench_rm->rm_row[0]->rr_col[c].rc_abd; in benchmark_raidz()
497 memset(abd_to_buf(pabd), 0xAA, abd_get_size(pabd)); in benchmark_raidz()
H A Ddsl_crypt.c2824 uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd, in spa_do_crypt_abd() argument
2841 plainbuf = abd_borrow_buf_copy(pabd, datalen); in spa_do_crypt_abd()
2844 plainbuf = abd_borrow_buf(pabd, datalen); in spa_do_crypt_abd()
2888 abd_return_buf(pabd, plainbuf, datalen); in spa_do_crypt_abd()
2891 abd_return_buf_copy(pabd, plainbuf, datalen); in spa_do_crypt_abd()
2905 abd_return_buf(pabd, plainbuf, datalen); in spa_do_crypt_abd()
2908 abd_return_buf_copy(pabd, plainbuf, datalen); in spa_do_crypt_abd()
H A Dvdev_raidz_math_impl.h364 abd_t *pabd = rr->rr_col[CODE_P].rc_abd; in raidz_generate_p_impl() local
373 raidz_copy(pabd, rr->rr_col[1].rc_abd, off, size); in raidz_generate_p_impl()
383 raidz_add(pabd, dabd, off, size); in raidz_generate_p_impl()
H A Ddsl_dataset.c2433 abd_t pabd, cabd; in get_receive_resume_token_impl() local
2434 abd_get_from_buf_struct(&pabd, packed, packed_size); in get_receive_resume_token_impl()
2436 compressed_size = zfs_gzip_compress(&pabd, &cabd, in get_receive_resume_token_impl()
2439 abd_free(&pabd); in get_receive_resume_token_impl()
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_recompress.c288 abd_t *pabd = in zstream_do_recompress() local
291 &pabd, drrw->drr_logical_size, in zstream_do_recompress()
300 abd_zero_off(pabd, csize, in zstream_do_recompress()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c1785 uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) in zio_do_crypt_abd() argument
1791 ptmp = abd_borrow_buf_copy(pabd, datalen); in zio_do_crypt_abd()
1794 ptmp = abd_borrow_buf(pabd, datalen); in zio_do_crypt_abd()
1804 abd_return_buf(pabd, ptmp, datalen); in zio_do_crypt_abd()
1807 abd_return_buf_copy(pabd, ptmp, datalen); in zio_do_crypt_abd()
1815 abd_return_buf(pabd, ptmp, datalen); in zio_do_crypt_abd()
1818 abd_return_buf_copy(pabd, ptmp, datalen); in zio_do_crypt_abd()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c2035 uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) in zio_do_crypt_abd() argument
2041 ptmp = abd_borrow_buf_copy(pabd, datalen); in zio_do_crypt_abd()
2044 ptmp = abd_borrow_buf(pabd, datalen); in zio_do_crypt_abd()
2054 abd_return_buf(pabd, ptmp, datalen); in zio_do_crypt_abd()
2057 abd_return_buf_copy(pabd, ptmp, datalen); in zio_do_crypt_abd()
2065 abd_return_buf(pabd, ptmp, datalen); in zio_do_crypt_abd()
2068 abd_return_buf_copy(pabd, ptmp, datalen); in zio_do_crypt_abd()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzio_crypt.h157 uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd,
H A Ddsl_crypt.h224 uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd,
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2401 static abd_t *pabd = NULL; in snprintf_zstd_header() local
2432 if (!pabd) in snprintf_zstd_header()
2433 pabd = abd_alloc_for_io(SPA_MAXBLOCKSIZE, B_FALSE); in snprintf_zstd_header()
2437 zio_nowait(zio_read(zio, spa, bp, pabd, BP_GET_PSIZE(bp), NULL, NULL, in snprintf_zstd_header()
2445 buf = abd_borrow_buf_copy(pabd, BP_GET_LSIZE(bp)); in snprintf_zstd_header()
2456 abd_return_buf_copy(pabd, buf, BP_GET_LSIZE(bp)); in snprintf_zstd_header()
8673 try_decompress_block(abd_t *pabd, uint64_t lsize, uint64_t psize, in try_decompress_block() argument
8700 if (zio_decompress_data(cfunc, pabd, in try_decompress_block()
8702 zio_decompress_data(cfunc, pabd, in try_decompress_block()
8714 zdb_decompress_block(abd_t *pabd, void *buf, void *lbuf, uint64_t lsize, in zdb_decompress_block() argument
[all …]