| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zio.c | 1206 if (unlikely(BP_GET_PSIZE(bp) > SPA_MAXBLOCKSIZE)) { in zfs_blkptr_verify() 1209 bp, (longlong_t)BP_GET_PSIZE(bp)); in zfs_blkptr_verify() 1481 return (zio_create(pio, spa, txg, bp, NULL, BP_GET_PSIZE(bp), in zio_free_sync() 1482 BP_GET_PSIZE(bp), NULL, NULL, in zio_free_sync() 1520 zio = zio_create(pio, spa, txg, bp, NULL, BP_GET_PSIZE(bp), in zio_claim() 1521 BP_GET_PSIZE(bp), done, private, ZIO_TYPE_CLAIM, ZIO_PRIORITY_NOW, in zio_claim() 1806 BP_IS_EMBEDDED(bp) ? BPE_GET_PSIZE(bp) : BP_GET_PSIZE(bp); in zio_read_bp_init() 2079 BP_GET_PSIZE(bp) == psize && in zio_write_compress() 2815 BP_GET_PSIZE(bp), zio_gang_issue_func_done, in zio_read_gang() 2846 buf, BP_GET_PSIZE(bp)); in zio_rewrite_gang() [all …]
|
| H A D | bpobj.c | 333 comp_freed += sign * BP_GET_PSIZE(bp); in bpobj_iterate_blkptrs() 933 bpo->bpo_phys->bpo_comp += sign * BP_GET_PSIZE(bp); in bpobj_enqueue() 964 sra->comp += BP_GET_PSIZE(bp); in space_range_cb()
|
| H A D | dsl_scan.c | 2028 ASSERT3U(spa->spa_scrub_inflight, >=, BP_GET_PSIZE(bp)); in dsl_scan_prefetch_cb() 2029 spa->spa_scrub_inflight -= BP_GET_PSIZE(bp); in dsl_scan_prefetch_cb() 2119 spa->spa_scrub_inflight += BP_GET_PSIZE(&spic->spic_bp); in dsl_scan_prefetch_thread() 3620 -BP_GET_PSIZE(bp), -BP_GET_UCSIZE(bp), tx); in dsl_scan_free_block_cb() 4717 zb->zb_psize += BP_GET_PSIZE(bp); in count_block() 4833 size_t psize = BP_GET_PSIZE(bp); in dsl_scan_scrub_cb() 4899 ASSERT3U(spa->spa_scrub_inflight, >=, BP_GET_PSIZE(bp)); in dsl_scan_scrub_done() 4900 spa->spa_scrub_inflight -= BP_GET_PSIZE(bp); in dsl_scan_scrub_done() 4905 ASSERT3U(queue->q_inflight_bytes, >=, BP_GET_PSIZE(bp)); in dsl_scan_scrub_done() 4906 queue->q_inflight_bytes -= BP_GET_PSIZE(bp); in dsl_scan_scrub_done() [all …]
|
| H A D | bptree.c | 167 ba->ba_phys->bt_comp -= BP_GET_PSIZE(bp); in bptree_visit_cb()
|
| H A D | dsl_deadlist.c | 484 dl->dl_phys->dl_comp += sign * BP_GET_PSIZE(bp); in dsl_deadlist_insert() 1047 ASSERT3U(BP_GET_PSIZE(bp), ==, BP_GET_PSIZE(&found->le_bp)); in dsl_livelist_iterate()
|
| H A D | dmu_recv.c | 1475 abd_t *cabd = abd_alloc_linear(BP_GET_PSIZE(bp), in do_corrective_recv() 1478 abd, &cabd, abd_get_size(abd), BP_GET_PSIZE(bp), in do_corrective_recv() 1480 abd_zero_off(cabd, csize, BP_GET_PSIZE(bp) - csize); in do_corrective_recv() 1501 abd_t *eabd = abd_alloc_linear(BP_GET_PSIZE(bp), B_FALSE); in do_corrective_recv() 1552 abd, BP_GET_PSIZE(bp), NULL, NULL, ZIO_PRIORITY_SYNC_WRITE, flags, in do_corrective_recv() 1556 abd_get_size(abd) == BP_GET_PSIZE(bp)); in do_corrective_recv()
|
| H A D | zio_checksum.c | 548 uint64_t size = bp ? BP_GET_PSIZE(bp) : zio->io_size; in zio_checksum_error()
|
| H A D | dmu_send.c | 553 DDK_SET_PSIZE(&drrw->drr_key, BP_GET_PSIZE(bp)); in dmu_dump_write() 638 drrs->drr_compressed_size = BP_GET_PSIZE(bp); in dump_spill() 1632 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp); in issue_data_read()
|
| H A D | vdev_rebuild.c | 577 uint64_t psize = BP_GET_PSIZE(&blk); in vdev_rebuild_range()
|
| H A D | dsl_destroy.c | 147 poa->comp += BP_GET_PSIZE(bp); in process_old_cb()
|
| H A D | dsl_bookmark.c | 1532 BP_GET_PSIZE(bp); in dsl_bookmark_block_killed()
|
| H A D | arc.c | 1518 VERIFY3U(BP_GET_PSIZE(zio->io_bp), ==, HDR_GET_PSIZE(hdr)); in arc_cksum_is_equal() 5618 ASSERT3U(HDR_GET_PSIZE(hdr), ==, BP_GET_PSIZE(bp)); in arc_hdr_verify() 6106 uint64_t psize = BP_GET_PSIZE(bp); in arc_read() 6847 uint64_t psize = BP_IS_HOLE(bp) ? 0 : BP_GET_PSIZE(bp); in arc_write_ready()
|
| H A D | dsl_dataset.c | 143 int compressed = BP_GET_PSIZE(bp); in dsl_dataset_block_born() 260 int compressed = BP_GET_PSIZE(bp); in dsl_dataset_block_kill()
|
| H A D | ddt.c | 765 DDK_SET_PSIZE(ddk, BP_GET_PSIZE(bp)); in ddt_key_fill()
|
| H A D | spa.c | 3022 spa->spa_load_verify_bytes -= BP_GET_PSIZE(bp); in spa_load_verify_done() 3073 size_t size = BP_GET_PSIZE(bp); in spa_load_verify_cb() 3247 -BP_GET_PSIZE(bp), -BP_GET_UCSIZE(bp), tx); in delete_blkptr_cb()
|
| H A D | dbuf.c | 3723 ASSERT3U(BP_GET_PSIZE(zio->io_bp), ==, zio->io_size); in dbuf_prefetch_indirect_done()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 421 #define BP_GET_PSIZE(bp) \ macro 559 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)) 605 BP_GET_PSIZE(bp)) 727 (u_longlong_t)BP_GET_PSIZE(bp), \
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 240 psize = BP_GET_PSIZE(bp); in vdev_read_phys() 2335 pbuf += BP_GET_PSIZE(gbp); in zio_read_gang() 2405 size = BP_GET_PSIZE(bp); in zio_read_impl() 2411 if (size != BP_GET_PSIZE(bp) || cpfunc != ZIO_COMPRESS_OFF) in zio_read_impl() 2428 BP_GET_PSIZE(bp), buf, BP_GET_LSIZE(bp)); in zio_read_impl() 2429 else if (size != BP_GET_PSIZE(bp)) in zio_read_impl() 2430 bcopy(pbuf, buf, BP_GET_PSIZE(bp)); in zio_read_impl()
|
| /freebsd/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 375 #define BP_GET_PSIZE(bp) \ macro 424 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
|
| H A D | zfssubr.c | 288 size = BP_GET_PSIZE(bp); in zio_checksum_verify()
|
| /freebsd/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 2580 zio_nowait(zio_read(zio, spa, bp, pabd, BP_GET_PSIZE(bp), NULL, NULL, in snprintf_zstd_header() 2651 (u_longlong_t)BP_GET_PSIZE(bp), in snprintf_blkptr_compact() 2794 zio.io_size = P2ROUNDUP_TYPED(BP_GET_PSIZE(bp), in print_file_layout_raidz() 6503 zb->zb_psize += BP_GET_PSIZE(bp); in zdb_count_block() 6511 unsigned idx = BP_GET_PSIZE(bp) >> SPA_MINBLOCKSHIFT; in zdb_count_block() 6622 case BIN_PSIZE: bin = BIN(BP_GET_PSIZE(bp)); break; in zdb_count_block() 6630 bin = BIN(BP_GET_PSIZE(bp)); in zdb_count_block() 6633 zcb->zcb_psize_len[bin] += BP_GET_PSIZE(bp); in zdb_count_block() 6634 zcb->zcb_psize_total += BP_GET_PSIZE(bp); in zdb_count_block() 6671 spa->spa_load_verify_bytes -= BP_GET_PSIZE(bp); in zdb_blkptr_done() [all …]
|