Home
last modified time | relevance | path

Searched refs:BP_GET_PSIZE (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dzio.c1105 if (BP_GET_PSIZE(bp) > SPA_MAXBLOCKSIZE) { in zfs_blkptr_verify()
1108 bp, (longlong_t)BP_GET_PSIZE(bp)); in zfs_blkptr_verify()
1388 BP_GET_PSIZE(bp), NULL, NULL, in zio_free_sync()
1934 BP_GET_PSIZE(bp) == psize && in zio_write_compress()
2677 buf, BP_GET_PSIZE(bp)); in zio_rewrite_gang()
2844 offset += BP_GET_PSIZE(gbp); in zio_gang_tree_issue()
3138 ASSERT3U(BP_GET_PSIZE(bp), ==, BP_GET_PSIZE(bp_orig)); in zio_nop_write()
3227 ASSERT(BP_GET_PSIZE(bp) == zio->io_size); in zio_ddt_read_start()
3274 ASSERT(BP_GET_PSIZE(bp) == zio->io_size); in zio_ddt_read_done()
3345 psize = BP_GET_PSIZE(&blk); in zio_ddt_collision()
[all …]
H A Dbpobj.c332 comp_freed += sign * BP_GET_PSIZE(bp); in bpobj_iterate_blkptrs()
931 bpo->bpo_phys->bpo_comp += sign * BP_GET_PSIZE(bp); in bpobj_enqueue()
961 sra->comp += BP_GET_PSIZE(bp); in space_range_cb()
H A Ddsl_scan.c1982 ASSERT3U(spa->spa_scrub_inflight, >=, BP_GET_PSIZE(bp)); in dsl_scan_prefetch_cb()
1983 spa->spa_scrub_inflight -= BP_GET_PSIZE(bp); in dsl_scan_prefetch_cb()
2073 spa->spa_scrub_inflight += BP_GET_PSIZE(&spic->spic_bp); in dsl_scan_prefetch_thread()
3561 -BP_GET_PSIZE(bp), -BP_GET_UCSIZE(bp), tx); in dsl_scan_free_block_cb()
4616 zb->zb_psize += BP_GET_PSIZE(bp); in count_block()
4732 size_t psize = BP_GET_PSIZE(bp); in dsl_scan_scrub_cb()
4799 spa->spa_scrub_inflight -= BP_GET_PSIZE(bp); in dsl_scan_scrub_done()
4805 queue->q_inflight_bytes -= BP_GET_PSIZE(bp); in dsl_scan_scrub_done()
4836 size_t size = BP_GET_PSIZE(bp); in scan_exec_io()
4845 spa->spa_scrub_inflight += BP_GET_PSIZE(bp); in scan_exec_io()
[all …]
H A Dbptree.c165 ba->ba_phys->bt_comp -= BP_GET_PSIZE(bp); in bptree_visit_cb()
H A Ddsl_deadlist.c474 dl->dl_phys->dl_comp += sign * BP_GET_PSIZE(bp); in dsl_deadlist_insert()
1039 ASSERT3U(BP_GET_PSIZE(bp), ==, BP_GET_PSIZE(&found->le_bp)); in dsl_livelist_iterate()
H A Dzio_checksum.c542 (BP_IS_GANG(bp) ? SPA_GANGBLOCKSIZE : BP_GET_PSIZE(bp))); in zio_checksum_error()
H A Ddmu_recv.c1406 abd_t *cabd = abd_alloc_linear(BP_GET_PSIZE(bp), in do_corrective_recv()
1412 abd_zero_off(cabd, csize, BP_GET_PSIZE(bp) - csize); in do_corrective_recv()
1433 abd_t *eabd = abd_alloc_linear(BP_GET_PSIZE(bp), B_FALSE); in do_corrective_recv()
1484 BP_GET_PSIZE(bp), NULL, NULL, ZIO_PRIORITY_SYNC_WRITE, flags, &zb); in do_corrective_recv()
1487 abd_get_size(abd) == BP_GET_PSIZE(bp)); in do_corrective_recv()
H A Ddmu_send.c548 DDK_SET_PSIZE(&drrw->drr_key, BP_GET_PSIZE(bp)); in dmu_dump_write()
633 drrs->drr_compressed_size = BP_GET_PSIZE(bp); in dump_spill()
1671 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp); in issue_data_read()
H A Dvdev_rebuild.c572 uint64_t psize = BP_GET_PSIZE(&blk); in vdev_rebuild_range()
H A Ddsl_destroy.c145 poa->comp += BP_GET_PSIZE(bp); in process_old_cb()
H A Dddt.c308 DDK_SET_PSIZE(ddk, BP_GET_PSIZE(bp)); in ddt_key_fill()
H A Ddsl_bookmark.c1492 BP_GET_PSIZE(bp); in dsl_bookmark_block_killed()
H A Darc.c1460 VERIFY3U(BP_GET_PSIZE(zio->io_bp), ==, HDR_GET_PSIZE(hdr)); in arc_cksum_is_equal()
5237 ASSERT3U(HDR_GET_PSIZE(hdr), ==, BP_GET_PSIZE(bp)); in arc_hdr_verify()
5674 uint64_t psize = BP_GET_PSIZE(bp); in arc_read()
6388 uint64_t psize = BP_IS_HOLE(bp) ? 0 : BP_GET_PSIZE(bp); in arc_write_ready()
H A Ddsl_dataset.c140 int compressed = BP_GET_PSIZE(bp); in dsl_dataset_block_born()
255 int compressed = BP_GET_PSIZE(bp); in dsl_dataset_block_kill()
H A Dspa.c2635 spa->spa_load_verify_bytes -= BP_GET_PSIZE(bp); in spa_load_verify_done()
2686 size_t size = BP_GET_PSIZE(bp); in spa_load_verify_cb()
2860 -BP_GET_PSIZE(bp), -BP_GET_UCSIZE(bp), tx); in delete_blkptr_cb()
H A Ddbuf.c3438 ASSERT3U(BP_GET_PSIZE(zio->io_bp), ==, zio->io_size); in dbuf_prefetch_indirect_done()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dspa.h425 #define BP_GET_PSIZE(bp) \ macro
527 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp))
573 BP_GET_PSIZE(bp))
695 (u_longlong_t)BP_GET_PSIZE(bp), \
/freebsd-14.2/stand/libsa/zfs/
H A Dzfsimpl.c243 psize = BP_GET_PSIZE(bp); in vdev_read_phys()
2209 pbuf += BP_GET_PSIZE(gbp); in zio_read_gang()
2278 size = BP_GET_PSIZE(bp); in zio_read()
2284 if (size != BP_GET_PSIZE(bp) || cpfunc != ZIO_COMPRESS_OFF) in zio_read()
2301 BP_GET_PSIZE(bp), buf, BP_GET_LSIZE(bp)); in zio_read()
2302 else if (size != BP_GET_PSIZE(bp)) in zio_read()
2303 bcopy(pbuf, buf, BP_GET_PSIZE(bp)); in zio_read()
/freebsd-14.2/sys/cddl/boot/zfs/
H A Dzfsimpl.h374 #define BP_GET_PSIZE(bp) \ macro
423 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
H A Dzfssubr.c288 size = BP_GET_PSIZE(bp); in zio_checksum_verify()
/freebsd-14.2/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2454 zio_nowait(zio_read(zio, spa, bp, pabd, BP_GET_PSIZE(bp), NULL, NULL, in snprintf_zstd_header()
2523 (u_longlong_t)BP_GET_PSIZE(bp), in snprintf_blkptr_compact()
5721 zb->zb_psize += BP_GET_PSIZE(bp); in zdb_count_block()
5729 unsigned idx = BP_GET_PSIZE(bp) >> SPA_MINBLOCKSHIFT; in zdb_count_block()
5797 int bin = highbit64(BP_GET_PSIZE(bp)) - 1; in zdb_count_block()
5800 zcb->zcb_psize_len[bin] += BP_GET_PSIZE(bp); in zdb_count_block()
5801 zcb->zcb_psize_total += BP_GET_PSIZE(bp); in zdb_count_block()
5892 spa->spa_load_verify_bytes -= BP_GET_PSIZE(bp); in zdb_blkptr_done()
5956 size_t size = BP_GET_PSIZE(bp); in zdb_blkptr_cb()
7313 zdde->zdde_ref_psize += BP_GET_PSIZE(bp); in zdb_ddt_add_cb()