Home
last modified time | relevance | path

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

/freebsd-src/sys/contrib/openzfs/include/sys/
H A Dspa.h446 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) macro
455 BP_GET_LEVEL(bp) <= 0 && \
460 BP_GET_LEVEL(bp) <= 0 && \
464 (BP_USES_CRYPT(bp) && BP_GET_LEVEL(bp) > 0)
519 (BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp)))
639 (u_longlong_t)BP_GET_LEVEL(bp), \
647 (u_longlong_t)BP_GET_LEVEL(bp), \
657 (u_longlong_t)BP_GET_LEVEL(bp), \
690 (u_longlong_t)BP_GET_LEVEL(bp), \
/freebsd-src/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.c1948 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_DNODE && in dsl_scan_prefetch_dnode()
1996 zb.zb_level = BP_GET_LEVEL(&dnp->dn_blkptr[i]); in dsl_scan_prefetch_cb()
2030 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_prefetch_cb()
2120 ASSERT3U(BP_GET_LEVEL(&spic->spic_bp), ==, 0); in dsl_scan_check_resume()
2126 if (BP_GET_LEVEL(bp) == 1 && BP_GET_TYPE(bp) != DMU_OT_DNODE && in dsl_scan_check_resume()
2222 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_recurse()
3597 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_OBJSET)) {
4673 int l = (i < 2) ? BP_GET_LEVEL(bp) : DN_MAX_LEVELS; in scan_io_queue_insert()
H A Ddbuf.c1468 BP_SET_LSIZE(bp, BP_GET_LEVEL(dbbp) == 1 ? in dbuf_read_hole()
1471 BP_SET_LEVEL(bp, BP_GET_LEVEL(dbbp) - 1); in dbuf_read_hole()
3580 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_prefetch_impl()
3622 ASSERT3S(BP_GET_LEVEL(zio->io_bp), ==, dpa->dpa_curlevel); in dbuf_prefetch_impl()
3672 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_prefetch()
3770 ASSERT3U(curlevel, ==, BP_GET_LEVEL(&bp)); in dbuf_hold_impl()
4900 ASSERT(BP_GET_LEVEL(bp) == db->db_level); in dbuf_write_done()
H A Dzio.c3206 ASSERT(BP_GET_LEVEL(bp) == 0);
3277 if (BP_GET_LEVEL(bp) > 0 || in zio_ddt_read_start()
4696 ASSERT0(BP_GET_LEVEL(bp)); in zio_dva_throttle_done()
4723 if (BP_GET_LEVEL(bp) > 0) { in zio_done()
4764 ASSERT(BP_GET_LEVEL(bp) == 0 || ot == DMU_OT_INTENT_LOG); in zio_done()
H A Ddnode_sync.c159 uint64_t lvl = BP_GET_LEVEL(bp); in free_blocks()
H A Darc.c5449 if (BP_GET_LEVEL(zio->io_bp) > 0) { in arc_read_done()
6024 if (BP_GET_LEVEL(bp) > 0) in arc_read()
6645 if (BP_GET_LEVEL(bp) > 0) { in arc_write()
6829 ASSERT(BP_GET_LEVEL(zio->io_bp) == 0);
H A Ddmu.c1870 ASSERT(BP_GET_LEVEL(bp) == 0); in dmu_sync()
H A Ddmu_send.c818 ASSERT0(BP_GET_LEVEL(bp)); in dump_dnode()
H A Ddmu_objset.c1608 ASSERT0(BP_GET_LEVEL(bp)); in dmu_objset_write_ready()
H A Dspa.c2737 if ((BP_GET_LEVEL(bp) != 0 || DMU_OT_IS_METADATA(type)) && in spa_load_verify_cb()
2779 * trust the BP_GET_TYPE and BP_GET_LEVEL values. in spa_load_verify()
/freebsd-src/sys/cddl/boot/zfs/
H A Dzfsimpl.h388 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) macro
422 ((BP_GET_LEVEL(bp) > 0 || dmu_ot[BP_GET_TYPE(bp)].ot_metadata) ? \
/freebsd-src/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c870 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()
/freebsd-src/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2588 ASSERT3U(BP_GET_LEVEL(bp), ==, zb->zb_level); in dump_dsl_dataset()
2620 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in dump_dsl_dataset()
5989 int l = (i < 2) ? BP_GET_LEVEL(bp) : ZB_TOTAL;
6168 is_metadata = (BP_GET_LEVEL(bp) != 0 || DMU_OT_IS_METADATA(type)); in checkpoint_sm_exclude_entry_cb()
7472 BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp))) in import_checkpointed_state()
/freebsd-src/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c952 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()