| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | zio.c | 1105 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 D | bpobj.c | 332 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 D | dsl_scan.c | 1982 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 D | bptree.c | 165 ba->ba_phys->bt_comp -= BP_GET_PSIZE(bp); in bptree_visit_cb()
|
| H A D | dsl_deadlist.c | 474 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 D | zio_checksum.c | 542 (BP_IS_GANG(bp) ? SPA_GANGBLOCKSIZE : BP_GET_PSIZE(bp))); in zio_checksum_error()
|
| H A D | dmu_recv.c | 1406 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 D | dmu_send.c | 548 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 D | vdev_rebuild.c | 572 uint64_t psize = BP_GET_PSIZE(&blk); in vdev_rebuild_range()
|
| H A D | dsl_destroy.c | 145 poa->comp += BP_GET_PSIZE(bp); in process_old_cb()
|
| H A D | ddt.c | 308 DDK_SET_PSIZE(ddk, BP_GET_PSIZE(bp)); in ddt_key_fill()
|
| H A D | dsl_bookmark.c | 1492 BP_GET_PSIZE(bp); in dsl_bookmark_block_killed()
|
| H A D | arc.c | 1460 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 D | dsl_dataset.c | 140 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 D | spa.c | 2635 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 D | dbuf.c | 3438 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 D | spa.h | 425 #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 D | zfsimpl.c | 243 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 D | zfsimpl.h | 374 #define BP_GET_PSIZE(bp) \ macro 423 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
|
| H A D | zfssubr.c | 288 size = BP_GET_PSIZE(bp); in zio_checksum_verify()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 2454 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()
|