| /freebsd/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb_il.c | 176 (u_longlong_t)BP_GET_LSIZE(bp)); in zil_prt_rec_write() 186 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in zil_prt_rec_write() 189 lr->lr_offset / BP_GET_LSIZE(bp)); in zil_prt_rec_write() 191 data = abd_alloc(BP_GET_LSIZE(bp), B_FALSE); in zil_prt_rec_write() 193 bp, data, BP_GET_LSIZE(bp), NULL, NULL, in zil_prt_rec_write()
|
| H A D | zdb.c | 2682 return (zb->zb_blkid * BP_GET_LSIZE(bp)); in blkid2offset() 2740 buf = abd_borrow_buf_copy(pabd, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2751 abd_return_buf_copy(pabd, buf, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2796 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 2802 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 3001 next_offset = file_offset + BP_GET_LSIZE(bp); in print_file_layout_raidz() 3066 boolean_t last = (file_offset + BP_GET_LSIZE(bp)) >= in print_file_layout() 3093 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in visit_indirect() 6687 zb->zb_lsize += BP_GET_LSIZE(bp); in zdb_count_block() 6808 case BIN_LSIZE: bin = BIN(BP_GET_LSIZE(bp)); break; in zdb_count_block() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_traverse.c | 115 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in traverse_zil_record() 117 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in traverse_zil_record() 272 uint64_t size = BP_GET_LSIZE(bp); in traverse_visitbp() 302 int32_t epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in traverse_visitbp() 369 int32_t epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in traverse_visitbp() 582 pfd->pd_bytes_fetched += BP_GET_LSIZE(bp); in traverse_prefetcher()
|
| H A D | dnode_sync.c | 148 uint64_t lsize = BP_GET_LSIZE(bp); in free_blocks() 740 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == in dnode_sync() 744 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == 1 << dnp->dn_indblkshift); in dnode_sync()
|
| H A D | dmu_diff.c | 129 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in diff_cb()
|
| H A D | zil.c | 274 uint64_t size = BP_GET_LSIZE(bp); in zil_read_log_block() 323 memset(wbuf, 0, MAX(BP_GET_LSIZE(bp), lr->lr_length)); in zil_read_log_data() 338 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in zil_read_log_data() 340 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in zil_read_log_data() 824 sz = BP_GET_LSIZE(bp); in zil_alloc_lwb() 1974 uint64_t alloc_size = BP_GET_LSIZE(&lwb->lwb_blk); in zil_lwb_write_issue() 2067 ASSERT3U(BP_GET_LSIZE(bp), ==, max_size); in zil_lwb_write_issue() 2069 nlwb->lwb_sz = BP_GET_LSIZE(bp); in zil_lwb_write_issue() 2071 ASSERT3U(BP_GET_LSIZE(bp), ==, nlwb->lwb_sz); in zil_lwb_write_issue() 2123 BP_GET_LSIZE(&lwb->lwb_blk)); in zil_lwb_write_issue() [all …]
|
| H A D | dmu_send.c | 542 DDK_SET_LSIZE(&drrw->drr_key, BP_GET_LSIZE(bp)); in dmu_dump_write() 599 uint64_t blksz = BP_GET_LSIZE(bp); in dump_spill() 889 uint64_t epb = BP_GET_LSIZE(&range->sru.object_range.bp) >> in do_dump() 909 ASSERT3U(srdp->datablksz, ==, BP_GET_LSIZE(bp)); in do_dump() 1142 BP_GET_LSIZE(bp) : dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT); in send_cb() 1645 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp); in issue_data_read() 1750 spill_range->sru.data.datablksz = BP_GET_LSIZE(bp); in piggyback_unmodified_spill() 1755 return (BP_GET_LSIZE(bp)); in piggyback_unmodified_spill()
|
| H A D | dsl_scan.c | 1937 ASSERT3U(BP_GET_LSIZE(bp), !=, 0); in dsl_scan_zil_record() 1940 lr->lr_offset / BP_GET_LSIZE(bp)); in dsl_scan_zil_record() 2160 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_prefetch_cb() 2171 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_prefetch_cb() 2353 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_recurse() 2376 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_recurse() 2507 if (BP_GET_LSIZE(bp) > SPA_OLD_MAXBLOCKSIZE) in dsl_scan_visitbp() 4873 zb->zb_lsize += BP_GET_LSIZE(bp); in count_block() 5122 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp); in scan_exec_io()
|
| H A D | zfs_vnops.c | 2488 BP_GET_LSIZE(bi) != BP_GET_LSIZE(bo) || in zfs_dedupe_bp_provably_equal() 2531 BP_GET_LSIZE(bi) != BP_GET_LSIZE(bo) || in zfs_dedupe_bp_provably_unequal()
|
| H A D | zio.c | 569 uint64_t lsize = BP_GET_LSIZE(bp); in zio_decrypt() 1193 if (unlikely(BP_GET_LSIZE(bp) > SPA_MAXBLOCKSIZE)) { in zfs_blkptr_verify() 1196 bp, (longlong_t)BP_GET_LSIZE(bp)); in zfs_blkptr_verify() 3356 ASSERT(BP_GET_LSIZE(bp) == BP_GET_PSIZE(bp) || gn == gio->io_gang_tree); in zio_gang_tree_issue() 3729 ASSERT3U(BP_GET_LSIZE(bp), ==, BP_GET_LSIZE(bp_orig)); in zio_nop_write() 3991 if (BP_GET_LSIZE(&blk) != zio->io_orig_size) in zio_ddt_collision() 5487 zio->io_orig_abd, BP_GET_LSIZE(bp), BP_SHOULD_BYTESWAP(bp), in zio_encrypt()
|
| H A D | dbuf.c | 1447 ASSERT3U(BP_GET_LSIZE(dbbp), ==, indbs); in dbuf_handle_indirect_hole() 1449 dn->dn_datablksz : BP_GET_LSIZE(dbbp)); in dbuf_handle_indirect_hole() 3556 BP_GET_LSIZE(blkptr) : SPA_MINBLOCKSIZE; in dbuf_create() 3733 ASSERT3U(BP_GET_LSIZE(zio->io_bp), ==, zio->io_size); in dbuf_prefetch_indirect_done() 5195 ASSERT3U(BP_GET_LSIZE(db->db_blkptr), ==, in dbuf_write_done() 5484 IMPLY(!BP_IS_HOLE(obp), size == BP_GET_LSIZE(obp)); in dbuf_write()
|
| H A D | dmu.c | 1842 *l2sz += BP_GET_LSIZE(bp); in dmu_cached_bps() 1844 *l1sz += BP_GET_LSIZE(bp); in dmu_cached_bps() 2927 if (!BP_IS_HOLE(bp) && BP_GET_LSIZE(bp) != dbuf->db_size) { in dmu_brt_clone()
|
| H A D | zfs_replay.c | 820 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in zfs_replay_write()
|
| H A D | zvol.c | 528 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in zvol_replay_write()
|
| H A D | ddt.c | 757 DDK_SET_LSIZE(ddk, BP_GET_LSIZE(bp)); in ddt_key_fill()
|
| H A D | arc.c | 5596 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_hdr_verify() 6099 uint64_t lsize = BP_GET_LSIZE(bp); in arc_read() 6935 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_write_ready()
|
| H A D | dmu_recv.c | 1608 ASSERT(abd_get_size(abd) == BP_GET_LSIZE(bp) || in do_corrective_recv()
|
| H A D | dsl_dataset.c | 163 if (BP_GET_LSIZE(bp) > SPA_OLD_MAXBLOCKSIZE) { in dsl_dataset_block_born()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 403 #define BP_GET_LSIZE(bp) \ macro 551 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)) 664 (u_longlong_t)BP_GET_LSIZE(bp), \ 682 (u_longlong_t)BP_GET_LSIZE(bp), \ 718 (u_longlong_t)BP_GET_LSIZE(bp), \
|
| /freebsd/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 365 #define BP_GET_LSIZE(bp) \ macro 424 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 2375 size, buf, BP_GET_LSIZE(bp)); in zio_read_impl() 2429 BP_GET_PSIZE(bp), buf, BP_GET_LSIZE(bp)); in zio_read_impl() 3747 size = BP_GET_LSIZE(bp); in zfs_dnode_stat() 3808 size = BP_GET_LSIZE(bp); in zfs_dnode_readlink()
|
| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 2452 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in ztest_replay_write() 8227 VERIFY3U(BP_GET_LSIZE(&dr->dt.dl.dr_overridden_by), ==, old_size); in ztest_dmu_sync_blocksize_change() 8276 VERIFY3U(BP_GET_LSIZE(&bp), ==, old_size); in ztest_dmu_sync_blocksize_change()
|