Home
last modified time | relevance | path

Searched refs:BP_GET_LEVEL (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h441 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) macro
450 BP_GET_LEVEL(bp) <= 0 && \
455 BP_GET_LEVEL(bp) <= 0 && \
459 (BP_USES_CRYPT(bp) && BP_GET_LEVEL(bp) > 0)
542 (BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp)))
662 (u_longlong_t)BP_GET_LEVEL(bp), \
670 (u_longlong_t)BP_GET_LEVEL(bp), \
680 (u_longlong_t)BP_GET_LEVEL(bp), \
708 (u_longlong_t)BP_GET_LEVEL(bp), \
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_traverse.c198 if (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_DNODE) in traverse_prefetch_metadata()
298 if (BP_GET_LEVEL(bp) > 0) { in traverse_visitbp()
H A Ddsl_scan.c2075 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_DNODE && in dsl_scan_prefetch()
2123 zb.zb_level = BP_GET_LEVEL(&dnp->dn_blkptr[i]); in dsl_scan_prefetch_dnode()
2157 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_prefetch_cb()
2247 ASSERT3U(BP_GET_LEVEL(&spic->spic_bp), ==, 0); in dsl_scan_prefetch_thread()
2253 if (BP_GET_LEVEL(bp) == 1 && BP_GET_TYPE(bp) != DMU_OT_DNODE && in dsl_scan_prefetch_thread()
2349 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_recurse()
3745 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_OBJSET)) { in dsl_scan_free_block_cb()
4863 int l = (i < 2) ? BP_GET_LEVEL(bp) : DN_MAX_LEVELS; in count_block()
H A Ddbuf.c1448 BP_SET_LSIZE(bp, BP_GET_LEVEL(dbbp) == 1 ? in dbuf_handle_indirect_hole()
1451 BP_SET_LEVEL(bp, BP_GET_LEVEL(dbbp) - 1); in dbuf_handle_indirect_hole()
3688 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_issue_final_prefetch()
3729 ASSERT3S(BP_GET_LEVEL(zio->io_bp), ==, dpa->dpa_curlevel); in dbuf_prefetch_indirect_done()
3785 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_prefetch_indirect_done()
3883 ASSERT3U(curlevel, ==, BP_GET_LEVEL(&bp)); in dbuf_prefetch_impl()
5010 ASSERT(BP_GET_LEVEL(bp) == db->db_level); in dbuf_write_ready()
H A Ddnode_sync.c150 uint64_t lvl = BP_GET_LEVEL(bp); in free_blocks()
H A Dzio.c3698 ASSERT0(BP_GET_LEVEL(bp)); in zio_nop_write()
3769 if (BP_GET_LEVEL(bp) > 0 || in zio_brt_free()
5457 ASSERT0(BP_GET_LEVEL(bp)); in zio_encrypt()
5484 if (BP_GET_LEVEL(bp) > 0) { in zio_encrypt()
5525 ASSERT(BP_GET_LEVEL(bp) == 0 || ot == DMU_OT_INTENT_LOG); in zio_encrypt()
H A Darc.c5659 if (BP_GET_LEVEL(zio->io_bp) > 0) { in arc_read_done()
6270 if (BP_GET_LEVEL(bp) > 0) in arc_read()
6894 if (BP_GET_LEVEL(bp) > 0) { in arc_write_ready()
7078 ASSERT0(BP_GET_LEVEL(zio->io_bp)); in arc_write_done()
H A Ddmu_objset.c1498 ASSERT0(BP_GET_LEVEL(bp)); in dmu_objset_write_ready()
H A Ddmu_send.c809 ASSERT0(BP_GET_LEVEL(bp)); in dump_object_range()
H A Ddmu.c2054 ASSERT0(BP_GET_LEVEL(bp)); in dmu_sync_ready()
H A Dspa.c3025 meta = DMU_OT_IS_CRITICAL(type, BP_GET_LEVEL(bp)); in spa_load_verify_done()
3027 meta = BP_GET_LEVEL(bp) != 0 || in spa_load_verify_done()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h389 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) macro
423 ((BP_GET_LEVEL(bp) > 0 || dmu_ot[BP_GET_TYPE(bp)].ot_metadata) ? \
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2923 if (BP_GET_LEVEL(bp) != zb->zb_level) { in print_indirect()
2926 BP_GET_LEVEL(bp), (longlong_t)zb->zb_level); in print_indirect()
3051 ASSERT3U(BP_GET_LEVEL(bp), ==, zb->zb_level); in print_file_layout()
3083 if (BP_GET_LEVEL(bp) == 0) in visit_indirect()
3089 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in visit_indirect()
6681 int l = (i < 2) ? BP_GET_LEVEL(bp) : ZB_TOTAL; in zdb_count_block()
6925 is_metadata = (BP_GET_LEVEL(bp) != 0 || DMU_OT_IS_METADATA(type)); in zdb_blkptr_cb()
8307 BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp))) in zdb_ddt_add_cb()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c866 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c949 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()