Searched refs:BP_GET_LEVEL (Results 1 – 15 of 15) sorted by relevance
| /src/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 449 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) macro 458 BP_GET_LEVEL(bp) <= 0 && \ 463 BP_GET_LEVEL(bp) <= 0 && \ 467 (BP_USES_CRYPT(bp) && BP_GET_LEVEL(bp) > 0) 550 (BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp))) 670 (u_longlong_t)BP_GET_LEVEL(bp), \ 678 (u_longlong_t)BP_GET_LEVEL(bp), \ 688 (u_longlong_t)BP_GET_LEVEL(bp), \ 716 (u_longlong_t)BP_GET_LEVEL(bp), \
|
| /src/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_traverse.c | 208 if (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_DNODE) in traverse_prefetch_metadata() 308 if (BP_GET_LEVEL(bp) > 0) { in traverse_visitbp()
|
| H A D | dsl_scan.c | 1960 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_DNODE && in dsl_scan_prefetch() 2008 zb.zb_level = BP_GET_LEVEL(&dnp->dn_blkptr[i]); in dsl_scan_prefetch_dnode() 2042 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_prefetch_cb() 2132 ASSERT3U(BP_GET_LEVEL(&spic->spic_bp), ==, 0); in dsl_scan_prefetch_thread() 2138 if (BP_GET_LEVEL(bp) == 1 && BP_GET_TYPE(bp) != DMU_OT_DNODE && in dsl_scan_prefetch_thread() 2234 if (BP_GET_LEVEL(bp) > 0) { in dsl_scan_recurse() 3616 (BP_GET_LEVEL(bp) == 0 && BP_GET_TYPE(bp) != DMU_OT_OBJSET)) { in dsl_scan_free_block_cb() 4711 int l = (i < 2) ? BP_GET_LEVEL(bp) : DN_MAX_LEVELS; in count_block()
|
| H A D | dbuf.c | 1458 BP_SET_LSIZE(bp, BP_GET_LEVEL(dbbp) == 1 ? in dbuf_handle_indirect_hole() 1461 BP_SET_LEVEL(bp, BP_GET_LEVEL(dbbp) - 1); in dbuf_handle_indirect_hole() 3605 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_issue_final_prefetch() 3646 ASSERT3S(BP_GET_LEVEL(zio->io_bp), ==, dpa->dpa_curlevel); in dbuf_prefetch_indirect_done() 3702 ASSERT3U(dpa->dpa_curlevel, ==, BP_GET_LEVEL(bp)); in dbuf_prefetch_indirect_done() 3800 ASSERT3U(curlevel, ==, BP_GET_LEVEL(&bp)); in dbuf_prefetch_impl() 4927 ASSERT(BP_GET_LEVEL(bp) == db->db_level); in dbuf_write_ready()
|
| H A D | dnode_sync.c | 160 uint64_t lvl = BP_GET_LEVEL(bp); in free_blocks()
|
| H A D | zio.c | 3365 ASSERT0(BP_GET_LEVEL(bp)); in zio_nop_write() 3436 if (BP_GET_LEVEL(bp) > 0 || in zio_brt_free() 5063 ASSERT0(BP_GET_LEVEL(bp)); in zio_encrypt() 5090 if (BP_GET_LEVEL(bp) > 0) { in zio_encrypt() 5131 ASSERT(BP_GET_LEVEL(bp) == 0 || ot == DMU_OT_INTENT_LOG); in zio_encrypt()
|
| H A D | arc.c | 5667 if (BP_GET_LEVEL(zio->io_bp) > 0) { in arc_read_done() 6260 if (BP_GET_LEVEL(bp) > 0) in arc_read() 6877 if (BP_GET_LEVEL(bp) > 0) { in arc_write_ready() 7061 ASSERT0(BP_GET_LEVEL(zio->io_bp)); in arc_write_done()
|
| H A D | dmu_objset.c | 1507 ASSERT0(BP_GET_LEVEL(bp)); in dmu_objset_write_ready()
|
| H A D | dmu.c | 1880 ASSERT0(BP_GET_LEVEL(bp)); in dmu_sync_ready()
|
| H A D | dmu_send.c | 819 ASSERT0(BP_GET_LEVEL(bp)); in dump_object_range()
|
| H A D | spa.c | 2967 if ((BP_GET_LEVEL(bp) != 0 || DMU_OT_IS_METADATA(type)) && in spa_load_verify_done()
|
| /src/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 389 #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) ? \
|
| /src/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 2692 if (BP_GET_LEVEL(bp) != zb->zb_level) { in print_indirect() 2695 BP_GET_LEVEL(bp), (longlong_t)zb->zb_level); in print_indirect() 2716 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in visit_indirect() 6166 int l = (i < 2) ? BP_GET_LEVEL(bp) : ZB_TOTAL; in zdb_count_block() 6401 is_metadata = (BP_GET_LEVEL(bp) != 0 || DMU_OT_IS_METADATA(type)); in zdb_blkptr_cb() 7727 BP_GET_LEVEL(bp) > 0 || DMU_OT_IS_METADATA(BP_GET_TYPE(bp))) in zdb_ddt_add_cb()
|
| /src/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 870 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()
|
| /src/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 953 if (BP_GET_LEVEL(bp) != 0) { in zio_crypt_bp_zero_nonportable_blkprop()
|