Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dspa.h473 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) macro
482 BP_GET_LEVEL(bp) <= 0 && \
487 BP_GET_LEVEL(bp) <= 0 && \
491 (BP_USES_CRYPT(bp) && BP_GET_LEVEL(bp) > 0)
538 (BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp)))
653 (u_longlong_t)BP_GET_LEVEL(bp), \
661 (u_longlong_t)BP_GET_LEVEL(bp), \
671 (u_longlong_t)BP_GET_LEVEL(bp), \
703 (u_longlong_t)BP_GET_LEVEL(bp), \
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Ddmu_traverse.c201 if (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_DNODE) in traverse_prefetch_metadata()
301 if (BP_GET_LEVEL(bp) > 0) { in traverse_visitbp()
H A Ddsl_scan.c1573 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_DNODE && in dsl_scan_prefetch()
1621 zb.zb_level = BP_GET_LEVEL(&dnp->dn_blkptr[i]); in dsl_scan_prefetch_dnode()
1655 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_prefetch_cb()
1740 ASSERT3U(BP_GET_LEVEL(&spic->spic_bp), ==, 0); in dsl_scan_prefetch_thread()
1836 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_recurse()
3185 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_OBJSET)) { in dsl_scan_free_block_cb()
3819 int l = (i < 2) ? BP_GET_LEVEL(bp) : DN_MAX_LEVELS; in count_block()
H A Ddbuf.c1354 BP_SET_LSIZE(bp, BP_GET_LEVEL(db->db_blkptr) == 1 ? in dbuf_handle_indirect_hole()
1357 BP_SET_LEVEL(bp, BP_GET_LEVEL(db->db_blkptr) - 1); in dbuf_handle_indirect_hole()
3168 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_issue_final_prefetch()
3209 ASSERT3S(BP_GET_LEVEL(zio->io_bp), ==, dpa->dpa_curlevel); in dbuf_prefetch_indirect_done()
3256 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_prefetch_indirect_done()
3353 ASSERT3U(curlevel, ==, BP_GET_LEVEL(&bp)); in dbuf_prefetch_impl()
4480 ASSERT(BP_GET_LEVEL(bp) == db->db_level); in dbuf_write_ready()
H A Dzio.c1573 if (!DMU_OT_IS_METADATA(BP_GET_TYPE(bp)) && BP_GET_LEVEL(bp) == 0) in zio_read_bp_init()
2981 ASSERT(BP_GET_LEVEL(bp) == 0); in zio_nop_write()
4143 ASSERT0(BP_GET_LEVEL(bp)); in zio_encrypt()
4170 if (BP_GET_LEVEL(bp) > 0) { in zio_encrypt()
4211 ASSERT(BP_GET_LEVEL(bp) == 0 || ot == DMU_OT_INTENT_LOG); in zio_encrypt()
H A Ddnode_sync.c159 uint64_t lvl = BP_GET_LEVEL(bp); in free_blocks()
H A Ddmu.c1522 ASSERT(BP_GET_LEVEL(bp) == 0); in dmu_sync_ready()
H A Darc.c5735 if (BP_GET_LEVEL(zio->io_bp) > 0) { in arc_read_done()
6261 if (BP_GET_LEVEL(bp) > 0) in arc_read()
6857 if (BP_GET_LEVEL(bp) > 0) { in arc_write_ready()
7048 ASSERT(BP_GET_LEVEL(zio->io_bp) == 0); in arc_write_done()
H A Dzil.c1244 ASSERT(BP_GET_LEVEL(zio->io_bp) == 0); in zil_lwb_write_done()
H A Ddmu_objset.c1547 ASSERT0(BP_GET_LEVEL(bp)); in dmu_objset_write_ready()
H A Ddmu_send.c836 ASSERT0(BP_GET_LEVEL(bp)); in dump_object_range()
H A Dspa.c2270 if ((BP_GET_LEVEL(bp) != 0 || DMU_OT_IS_METADATA(type)) && in spa_load_verify_done()
/freebsd-13.1/sys/cddl/boot/zfs/
H A Dzfsimpl.h388 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) macro
407 ((BP_GET_LEVEL(bp) > 0 || dmu_ot[BP_GET_TYPE(bp)].ot_metadata) ? \
/freebsd-13.1/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2324 ASSERT3U(BP_GET_LEVEL(bp), ==, zb->zb_level); in print_indirect()
2356 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in visit_indirect()
5186 int l = (i < 2) ? BP_GET_LEVEL(bp) : ZB_TOTAL; in zdb_count_block()
5385 is_metadata = (BP_GET_LEVEL(bp) != 0 || DMU_OT_IS_METADATA(type)); in zdb_blkptr_cb()
6661 BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp))) in zdb_ddt_add_cb()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c887 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c946 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()