| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb_il.c | 176 (u_longlong_t)BP_GET_LSIZE(bp)); in zil_prt_rec_write() 188 lr->lr_offset / BP_GET_LSIZE(bp)); in zil_prt_rec_write() 190 data = abd_alloc(BP_GET_LSIZE(bp), B_FALSE); in zil_prt_rec_write() 192 bp, data, BP_GET_LSIZE(bp), NULL, NULL, in zil_prt_rec_write()
|
| H A D | zdb.c | 2151 return (zb->zb_blkid * BP_GET_LSIZE(bp)); in blkid2offset() 2207 buf = abd_borrow_buf_copy(pabd, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2217 abd_return_buf_copy(pabd, buf, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2260 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 2266 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 2328 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in visit_indirect() 5078 zb->zb_lsize += BP_GET_LSIZE(bp); in zdb_count_block() 5161 bin = highbit64(BP_GET_LSIZE(bp)) - 1; in zdb_count_block() 5164 zcb->zcb_lsize_len[bin] += BP_GET_LSIZE(bp); in zdb_count_block() 5165 zcb->zcb_lsize_total += BP_GET_LSIZE(bp); in zdb_count_block() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu_traverse.c | 114 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in traverse_zil_record() 270 uint64_t size = BP_GET_LSIZE(bp); in traverse_visitbp() 299 int32_t epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in traverse_visitbp() 336 int32_t epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in traverse_visitbp() 549 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 | zil.c | 138 #define LWB_EMPTY(lwb) ((BP_GET_LSIZE(&lwb->lwb_blk) - \ 271 uint64_t size = BP_GET_LSIZE(bp); in zil_read_log_block() 308 bzero(wbuf, MAX(BP_GET_LSIZE(bp), lr->lr_length)); in zil_read_log_data() 324 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in zil_read_log_data() 557 lwb->lwb_buf = zio_buf_alloc(BP_GET_LSIZE(bp)); in zil_alloc_lwb() 565 lwb->lwb_sz = BP_GET_LSIZE(bp); in zil_alloc_lwb() 568 lwb->lwb_sz = BP_GET_LSIZE(bp) - sizeof (zil_chain_t); in zil_alloc_lwb() 1381 BP_GET_LSIZE(&lwb->lwb_blk)); in zil_lwb_write_open() 1399 BP_GET_LSIZE(&lwb->lwb_blk), zil_lwb_write_done, lwb, in zil_lwb_write_open()
|
| H A D | dnode_sync.c | 156 uint64_t lsize = BP_GET_LSIZE(bp); in free_blocks() 684 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == in dnode_sync() 688 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == 1 << dnp->dn_indblkshift); in dnode_sync()
|
| H A D | dmu_send.c | 541 DDK_SET_LSIZE(&drrw->drr_key, BP_GET_LSIZE(bp)); in dmu_dump_write() 592 uint64_t blksz = BP_GET_LSIZE(bp); in dump_spill() 805 record.sru.data.datablksz = BP_GET_LSIZE(bp); in dump_dnode() 906 uint64_t epb = BP_GET_LSIZE(&range->sru.object_range.bp) >> in do_dump() 926 ASSERT3U(srdp->datablksz, ==, BP_GET_LSIZE(bp)); in do_dump() 1176 BP_GET_LSIZE(bp) : dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT); in send_cb() 1655 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp); in issue_data_read()
|
| H A D | zio.c | 463 uint64_t lsize = BP_GET_LSIZE(bp); in zio_decrypt() 990 if (BP_GET_LSIZE(bp) > SPA_MAXBLOCKSIZE) { in zfs_blkptr_verify() 993 bp, (longlong_t)BP_GET_LSIZE(bp)); in zfs_blkptr_verify() 2675 ASSERT(BP_GET_LSIZE(bp) == BP_GET_PSIZE(bp) || gn == gio->io_gang_tree); in zio_gang_tree_issue() 2990 ASSERT3U(BP_GET_LSIZE(bp), ==, BP_GET_LSIZE(bp_orig)); in zio_nop_write() 3196 if (BP_GET_LSIZE(&blk) != zio->io_orig_size) in zio_ddt_collision() 4119 zio->io_orig_abd, BP_GET_LSIZE(bp), BP_SHOULD_BYTESWAP(bp), in zio_encrypt()
|
| H A D | dsl_scan.c | 1436 lr->lr_offset / BP_GET_LSIZE(bp)); in dsl_scan_zil_record() 1654 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_prefetch_cb() 1665 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_prefetch_cb() 1824 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_recurse() 1847 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_recurse() 3825 zb->zb_lsize += BP_GET_LSIZE(bp); in count_block()
|
| H A D | dbuf.c | 1330 ASSERT3U(BP_GET_LSIZE(db->db_blkptr), ==, indbs); in dbuf_handle_indirect_hole() 1332 dn->dn_datablksz : BP_GET_LSIZE(db->db_blkptr)); in dbuf_handle_indirect_hole() 2985 BP_GET_LSIZE(blkptr) : SPA_MINBLOCKSIZE; in dbuf_create() 3160 ASSERT3U(BP_GET_LSIZE(zio->io_bp), ==, zio->io_size); in dbuf_prefetch_indirect_done() 4582 ASSERT3U(BP_GET_LSIZE(db->db_blkptr), ==, in dbuf_write_done()
|
| H A D | zfs_replay.c | 718 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in zfs_replay_write()
|
| H A D | ddt.c | 306 DDK_SET_LSIZE(ddk, BP_GET_LSIZE(bp)); in ddt_key_fill()
|
| H A D | zvol.c | 502 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in zvol_replay_write()
|
| H A D | arc.c | 5652 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_hdr_verify() 6100 uint64_t lsize = BP_GET_LSIZE(bp); in arc_read() 6881 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_write_ready()
|
| H A D | dsl_dataset.c | 161 if (BP_GET_LSIZE(bp) > SPA_OLD_MAXBLOCKSIZE) { in dsl_dataset_block_born()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | spa.h | 429 #define BP_GET_LSIZE(bp) \ macro 541 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)) 649 (u_longlong_t)BP_GET_LSIZE(bp), \ 667 (u_longlong_t)BP_GET_LSIZE(bp), \ 707 (u_longlong_t)BP_GET_LSIZE(bp), \
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 2012 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in ztest_replay_write()
|