| /freebsd-14.2/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb_il.c | 185 (u_longlong_t)BP_GET_LSIZE(bp)); in zil_prt_rec_write() 195 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in zil_prt_rec_write() 198 lr->lr_offset / BP_GET_LSIZE(bp)); in zil_prt_rec_write() 200 data = abd_alloc(BP_GET_LSIZE(bp), B_FALSE); in zil_prt_rec_write() 202 bp, data, BP_GET_LSIZE(bp), NULL, NULL, in zil_prt_rec_write()
|
| H A D | zdb.c | 2404 return (zb->zb_blkid * BP_GET_LSIZE(bp)); in blkid2offset() 2462 buf = abd_borrow_buf_copy(pabd, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2473 abd_return_buf_copy(pabd, buf, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2516 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 2522 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 2585 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in visit_indirect() 5720 zb->zb_lsize += BP_GET_LSIZE(bp); in zdb_count_block() 5803 bin = highbit64(BP_GET_LSIZE(bp)) - 1; in zdb_count_block() 5806 zcb->zcb_lsize_len[bin] += BP_GET_LSIZE(bp); in zdb_count_block() 5807 zcb->zcb_lsize_total += BP_GET_LSIZE(bp); in zdb_count_block() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_traverse.c | 114 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in traverse_zil_record() 116 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in traverse_zil_record() 271 uint64_t size = BP_GET_LSIZE(bp); in traverse_visitbp() 301 int32_t epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in traverse_visitbp() 368 int32_t epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in traverse_visitbp() 581 pfd->pd_bytes_fetched += BP_GET_LSIZE(bp); in traverse_prefetcher()
|
| H A D | dmu_diff.c | 138 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in diff_cb()
|
| H A D | dnode_sync.c | 157 uint64_t lsize = BP_GET_LSIZE(bp); in free_blocks() 697 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == in dnode_sync() 701 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == 1 << dnp->dn_indblkshift); in dnode_sync()
|
| H A D | dmu_send.c | 547 DDK_SET_LSIZE(&drrw->drr_key, BP_GET_LSIZE(bp)); in dmu_dump_write() 604 uint64_t blksz = BP_GET_LSIZE(bp); in dump_spill() 819 record.sru.data.datablksz = BP_GET_LSIZE(bp); in dump_dnode() 920 uint64_t epb = BP_GET_LSIZE(&range->sru.object_range.bp) >> in do_dump() 940 ASSERT3U(srdp->datablksz, ==, BP_GET_LSIZE(bp)); in do_dump() 1191 BP_GET_LSIZE(bp) : dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT); in send_cb() 1671 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp); in issue_data_read()
|
| H A D | zil.c | 279 uint64_t size = BP_GET_LSIZE(bp); in zil_read_log_block() 328 memset(wbuf, 0, MAX(BP_GET_LSIZE(bp), lr->lr_length)); in zil_read_log_data() 343 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in zil_read_log_data() 345 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in zil_read_log_data() 811 sz = BP_GET_LSIZE(bp); in zil_alloc_lwb() 2030 BP_GET_LSIZE(&lwb->lwb_blk)); in zil_lwb_write_issue() 2038 BP_GET_LSIZE(&lwb->lwb_blk)); in zil_lwb_write_issue()
|
| H A D | dsl_scan.c | 1772 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in dsl_scan_zil_record() 1775 lr->lr_offset / BP_GET_LSIZE(bp)); in dsl_scan_zil_record() 1994 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_prefetch_cb() 2005 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_prefetch_cb() 2187 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_recurse() 2210 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_recurse() 2342 if (BP_GET_LSIZE(bp) > SPA_OLD_MAXBLOCKSIZE) in dsl_scan_visitbp() 4615 zb->zb_lsize += BP_GET_LSIZE(bp); in count_block()
|
| H A D | zio.c | 511 uint64_t lsize = BP_GET_LSIZE(bp); in zio_decrypt() 1100 if (BP_GET_LSIZE(bp) > SPA_MAXBLOCKSIZE) { in zfs_blkptr_verify() 1103 bp, (longlong_t)BP_GET_LSIZE(bp)); in zfs_blkptr_verify() 2827 ASSERT(BP_GET_LSIZE(bp) == BP_GET_PSIZE(bp) || gn == gio->io_gang_tree); in zio_gang_tree_issue() 3139 ASSERT3U(BP_GET_LSIZE(bp), ==, BP_GET_LSIZE(bp_orig)); in zio_nop_write() 3375 if (BP_GET_LSIZE(&blk) != zio->io_orig_size) in zio_ddt_collision() 4315 zio->io_orig_abd, BP_GET_LSIZE(bp), BP_SHOULD_BYTESWAP(bp), in zio_encrypt()
|
| H A D | dbuf.c | 1435 ASSERT3U(BP_GET_LSIZE(dbbp), ==, indbs); in dbuf_handle_indirect_hole() 1437 dn->dn_datablksz : BP_GET_LSIZE(dbbp)); in dbuf_handle_indirect_hole() 3258 BP_GET_LSIZE(blkptr) : SPA_MINBLOCKSIZE; in dbuf_create() 3440 ASSERT3U(BP_GET_LSIZE(zio->io_bp), ==, zio->io_size); in dbuf_prefetch_indirect_done() 4846 ASSERT3U(BP_GET_LSIZE(db->db_blkptr), ==, in dbuf_write_done()
|
| H A D | dmu.c | 2351 if (!BP_IS_HOLE(bp) && BP_GET_LSIZE(bp) != dbuf->db_size) { in dmu_brt_clone() 2365 ASSERT(BP_IS_HOLE(bp) || dbuf->db_size == BP_GET_LSIZE(bp)); in dmu_brt_clone()
|
| H A D | zfs_replay.c | 852 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in zfs_replay_write()
|
| H A D | zvol.c | 468 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in zvol_replay_write()
|
| H A D | ddt.c | 307 DDK_SET_LSIZE(ddk, BP_GET_LSIZE(bp)); in ddt_key_fill()
|
| H A D | arc.c | 5236 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_hdr_verify() 5673 uint64_t lsize = BP_GET_LSIZE(bp); in arc_read() 6475 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_write_ready()
|
| H A D | dmu_recv.c | 1486 ASSERT(abd_get_size(abd) == BP_GET_LSIZE(bp) || in do_corrective_recv()
|
| H A D | dsl_dataset.c | 168 if (BP_GET_LSIZE(bp) > SPA_OLD_MAXBLOCKSIZE) { in dsl_dataset_block_born()
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 415 #define BP_GET_LSIZE(bp) \ macro 527 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)) 635 (u_longlong_t)BP_GET_LSIZE(bp), \ 653 (u_longlong_t)BP_GET_LSIZE(bp), \ 694 (u_longlong_t)BP_GET_LSIZE(bp), \
|
| /freebsd-14.2/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 364 #define BP_GET_LSIZE(bp) \ macro 423 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
|
| /freebsd-14.2/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 2247 size, buf, BP_GET_LSIZE(bp)); in zio_read() 2301 BP_GET_PSIZE(bp), buf, BP_GET_LSIZE(bp)); in zio_read() 3593 size = BP_GET_LSIZE(bp); in zfs_dnode_stat() 3645 size = BP_GET_LSIZE(bp); in zfs_dnode_readlink()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 2131 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in ztest_replay_write()
|