| /freebsd-13.1/sys/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 | 2181 return (zb->zb_blkid * BP_GET_LSIZE(bp)); in blkid2offset() 2238 buf = abd_borrow_buf_copy(pabd, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2249 abd_return_buf_copy(pabd, buf, BP_GET_LSIZE(bp)); in snprintf_zstd_header() 2292 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 2298 (u_longlong_t)BP_GET_LSIZE(bp), in snprintf_blkptr_compact() 2360 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in visit_indirect() 5192 zb->zb_lsize += BP_GET_LSIZE(bp); in zdb_count_block() 5275 bin = highbit64(BP_GET_LSIZE(bp)) - 1; in zdb_count_block() 5278 zcb->zcb_lsize_len[bin] += BP_GET_LSIZE(bp); in zdb_count_block() 5279 zcb->zcb_lsize_total += BP_GET_LSIZE(bp); in zdb_count_block() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_traverse.c | 115 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in traverse_zil_record() 275 uint64_t size = BP_GET_LSIZE(bp); in traverse_visitbp() 305 int32_t epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in traverse_visitbp() 372 int32_t epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in traverse_visitbp() 585 pfd->pd_bytes_fetched += BP_GET_LSIZE(bp); in traverse_prefetcher()
|
| H A D | zil.c | 138 #define LWB_EMPTY(lwb) ((BP_GET_LSIZE(&lwb->lwb_blk) - \ 273 uint64_t size = BP_GET_LSIZE(bp); in zil_read_log_block() 310 bzero(wbuf, MAX(BP_GET_LSIZE(bp), lr->lr_length)); in zil_read_log_data() 326 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in zil_read_log_data() 560 lwb->lwb_buf = zio_buf_alloc(BP_GET_LSIZE(bp)); in zil_alloc_lwb() 568 lwb->lwb_sz = BP_GET_LSIZE(bp); in zil_alloc_lwb() 571 lwb->lwb_sz = BP_GET_LSIZE(bp) - sizeof (zil_chain_t); in zil_alloc_lwb() 1413 BP_GET_LSIZE(&lwb->lwb_blk)); in zil_lwb_write_open() 1431 BP_GET_LSIZE(&lwb->lwb_blk), zil_lwb_write_done, lwb, in zil_lwb_write_open()
|
| 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() 690 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == in dnode_sync() 694 BP_GET_LSIZE(&dnp->dn_blkptr[0]) == 1 << dnp->dn_indblkshift); in dnode_sync()
|
| H A D | dmu_send.c | 546 DDK_SET_LSIZE(&drrw->drr_key, BP_GET_LSIZE(bp)); in dmu_dump_write() 597 uint64_t blksz = BP_GET_LSIZE(bp); in dump_spill() 812 record.sru.data.datablksz = BP_GET_LSIZE(bp); in dump_dnode() 913 uint64_t epb = BP_GET_LSIZE(&range->sru.object_range.bp) >> in do_dump() 933 ASSERT3U(srdp->datablksz, ==, BP_GET_LSIZE(bp)); in do_dump() 1186 BP_GET_LSIZE(bp) : dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT); in send_cb() 1668 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp); in issue_data_read()
|
| H A D | zio.c | 460 uint64_t lsize = BP_GET_LSIZE(bp); in zio_decrypt() 986 if (BP_GET_LSIZE(bp) > SPA_MAXBLOCKSIZE) { in zfs_blkptr_verify() 989 bp, (longlong_t)BP_GET_LSIZE(bp)); in zfs_blkptr_verify() 2698 ASSERT(BP_GET_LSIZE(bp) == BP_GET_PSIZE(bp) || gn == gio->io_gang_tree); in zio_gang_tree_issue() 3012 ASSERT3U(BP_GET_LSIZE(bp), ==, BP_GET_LSIZE(bp_orig)); in zio_nop_write() 3218 if (BP_GET_LSIZE(&blk) != zio->io_orig_size) in zio_ddt_collision() 4173 zio->io_orig_abd, BP_GET_LSIZE(bp), BP_SHOULD_BYTESWAP(bp), in zio_encrypt()
|
| H A D | dsl_scan.c | 1439 lr->lr_offset / BP_GET_LSIZE(bp)); in dsl_scan_zil_record() 1658 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_prefetch_cb() 1669 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_prefetch_cb() 1840 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT; in dsl_scan_recurse() 1863 int epb = BP_GET_LSIZE(bp) >> DNODE_SHIFT; in dsl_scan_recurse() 3829 zb->zb_lsize += BP_GET_LSIZE(bp); in count_block()
|
| H A D | dbuf.c | 1353 ASSERT3U(BP_GET_LSIZE(db->db_blkptr), ==, indbs); in dbuf_handle_indirect_hole() 1355 dn->dn_datablksz : BP_GET_LSIZE(db->db_blkptr)); in dbuf_handle_indirect_hole() 3036 BP_GET_LSIZE(blkptr) : SPA_MINBLOCKSIZE; in dbuf_create() 3213 ASSERT3U(BP_GET_LSIZE(zio->io_bp), ==, zio->io_size); in dbuf_prefetch_indirect_done() 4678 ASSERT3U(BP_GET_LSIZE(db->db_blkptr), ==, in dbuf_write_done()
|
| H A D | zfs_replay.c | 716 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 | 512 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in zvol_replay_write()
|
| H A D | arc.c | 5671 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_hdr_verify() 6132 uint64_t lsize = BP_GET_LSIZE(bp); in arc_read() 6895 ASSERT3U(HDR_GET_LSIZE(hdr), ==, BP_GET_LSIZE(bp)); in arc_write_ready()
|
| H A D | dsl_dataset.c | 159 if (BP_GET_LSIZE(bp) > SPA_OLD_MAXBLOCKSIZE) { in dsl_dataset_block_born()
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 435 #define BP_GET_LSIZE(bp) \ macro 547 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)) 655 (u_longlong_t)BP_GET_LSIZE(bp), \ 673 (u_longlong_t)BP_GET_LSIZE(bp), \ 713 (u_longlong_t)BP_GET_LSIZE(bp), \
|
| /freebsd-13.1/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 364 #define BP_GET_LSIZE(bp) \ macro 408 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
|
| /freebsd-13.1/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 2266 size, buf, BP_GET_LSIZE(bp)); in zio_read() 2320 BP_GET_PSIZE(bp), buf, BP_GET_LSIZE(bp)); in zio_read() 3560 size = BP_GET_LSIZE(bp); in zfs_dnode_stat() 3612 size = BP_GET_LSIZE(bp); in zfs_dnode_readlink()
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 2146 uint64_t blocksize = BP_GET_LSIZE(&lr->lr_blkptr); in ztest_replay_write()
|