/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dnode_sync.c | 143 if (BP_IS_HOLE(bp)) in free_blocks() 340 if (BP_IS_HOLE(bp)) in free_children() 356 ASSERT(BP_IS_HOLE(bp)); in free_children() 405 if (BP_IS_HOLE(bp)) in dnode_sync_free_range_impl() 586 ASSERT(BP_IS_HOLE(dn->dn_phys->dn_blkptr)); in dnode_sync_free() 703 BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 708 BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 719 ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 856 ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[i])); in dnode_sync()
|
H A D | dmu_traverse.c | 83 if (BP_IS_HOLE(bp)) in traverse_zil_block() 109 if (BP_IS_HOLE(bp)) in traverse_zil_record() 196 if (BP_IS_HOLE(bp) || BP_GET_LOGICAL_BIRTH(bp) <= td->td_min_txg) in traverse_prefetch_metadata() 214 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp) || in prefetch_needed() 282 if (BP_IS_HOLE(bp) || BP_IS_REDACTED(bp)) { in traverse_visitbp() 669 if (ds != NULL && !ds->ds_is_snapshot && !BP_IS_HOLE(rootbp)) { in traverse_impl()
|
H A D | zil.c | 328 if (BP_IS_HOLE(bp)) { in zil_read_log_data() 492 for (blk = zh->zh_log; !BP_IS_HOLE(&blk); blk = next_blk) { in zil_parse() 583 ASSERT(!BP_IS_HOLE(bp)); in zil_clear_log_block() 617 if (BP_IS_HOLE(bp) || BP_GET_LOGICAL_BIRTH(bp) < first_txg || in zil_claim_log_block() 680 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) in zil_claim_clone_range() 700 if (!BP_IS_HOLE(bp) && !BP_IS_EMBEDDED(bp)) in zil_claim_clone_range() 745 zil_bp_tree_add(zilog, bp) == 0 && !BP_IS_HOLE(bp)) { in zil_free_write() 773 if (!BP_IS_HOLE(bp)) { in zil_free_clone_range() 1003 if (BP_IS_HOLE(&blk) || BP_SHOULD_BYTESWAP(&blk)) { in zil_create() 1009 if (!BP_IS_HOLE(&blk)) { in zil_create() [all …]
|
H A D | dbuf.c | 646 if (db_bp == NULL || BP_IS_HOLE(db_bp)) in dbuf_is_l2cacheable() 675 if (bp == NULL || BP_IS_HOLE(bp)) in dnode_level_is_l2cacheable() 1186 if ((db->db_blkptr == NULL || BP_IS_HOLE(db->db_blkptr)) && in dbuf_verify() 1234 ASSERT(BP_IS_HOLE(bp)); in dbuf_verify() 1486 int is_hole = bp == NULL || BP_IS_HOLE(bp); in dbuf_read_hole() 1494 is_hole = dnode_block_freed(dn, db->db_blkid) || BP_IS_HOLE(bp); in dbuf_read_hole() 1500 if (bp != NULL && db->db_level > 0 && BP_IS_HOLE(bp) && in dbuf_read_hole() 1848 (bp != NULL && !BP_IS_HOLE(bp)))) { in dbuf_read() 1944 if (!BP_IS_HOLE(bp) && !dr->dt.dl.dr_nopwrite) in dbuf_unoverride() 2264 BP_IS_HOLE(dn->dn_objset->os_rootbp) || in dbuf_dirty() [all …]
|
H A D | dmu.c | 1648 if (BP_IS_HOLE(bp)) in dmu_cached_bps() 1858 if (BP_IS_HOLE(bp)) { in dmu_sync_ready() 1929 if (BP_IS_HOLE(&dr->dt.dl.dr_overridden_by) && in dmu_sync_done() 1959 if (!BP_IS_HOLE(bp)) { in dmu_sync_late_arrival_done() 1962 ASSERT(BP_IS_HOLE(bp_orig) || !BP_EQUAL(bp, bp_orig)); in dmu_sync_late_arrival_done() 2608 if (BP_IS_METADATA(bp) && !BP_IS_HOLE(bp)) { in dmu_read_l0_bps() 2671 if (!BP_IS_HOLE(bp) && BP_GET_LSIZE(bp) != dbuf->db_size) { in dmu_brt_clone() 2692 if (!BP_IS_HOLE(bp) || BP_GET_LOGICAL_BIRTH(bp) != 0) { in dmu_brt_clone() 2711 if (!BP_IS_HOLE(bp) && !BP_IS_EMBEDDED(bp)) { in dmu_brt_clone()
|
H A D | zio.c | 1474 ASSERT(!BP_IS_HOLE(bp)); in zio_free_sync() 1883 if (!BP_IS_HOLE(bp) && zp->zp_nopwrite) { in zio_write_bp_init() 1892 if (BP_IS_HOLE(bp) || !zp->zp_dedup) in zio_write_bp_init() 1953 if (!BP_IS_HOLE(bp) && BP_GET_LOGICAL_BIRTH(bp) == zio->io_txg) { in zio_write_compress() 2091 if (!BP_IS_HOLE(bp) && BP_GET_LOGICAL_BIRTH(bp) == zio->io_txg && in zio_write_compress() 3013 if (BP_IS_HOLE(gbp)) in zio_gang_tree_issue() 3081 if (BP_IS_HOLE(zio->io_bp)) in zio_write_gang_member_ready() 3084 ASSERT(BP_IS_HOLE(&zio->io_bp_orig)); in zio_write_gang_member_ready() 3292 ASSERT(BP_IS_HOLE(bp)); in zio_nop_write() 3306 if (BP_IS_HOLE(bp_orig) || in zio_nop_write() [all …]
|
H A D | dmu_send.c | 1085 !BP_IS_HOLE(bp) && !BP_USES_CRYPT(bp)) { in send_cb() 1109 !BP_IS_HOLE(bp)) { in send_cb() 1116 if (zb->zb_level < 0 || (zb->zb_level > 0 && !BP_IS_HOLE(bp))) in send_cb() 1118 if (zb->zb_object == DMU_META_DNODE_OBJECT && !BP_IS_HOLE(bp)) in send_cb() 1132 ASSERT(BP_IS_HOLE(bp)); in send_cb() 1140 if (BP_IS_HOLE(bp)) in send_cb() 1153 if (BP_IS_HOLE(bp)) { in send_cb() 1674 enum type range_type = (bp == NULL || BP_IS_HOLE(bp) ? HOLE : in enqueue_range() 1894 ASSERT(!BP_IS_HOLE(&bp)); in send_reader_thread()
|
H A D | dmu_diff.c | 126 if (BP_IS_HOLE(bp)) { in diff_cb()
|
H A D | bptree.c | 158 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in bptree_visit_cb()
|
H A D | dmu_direct.c | 294 if (bp == NULL || BP_IS_HOLE(bp) || db->db_state == DB_CACHED) { in dmu_read_abd()
|
H A D | dmu_redact.c | 303 } else if (zb->zb_level > 0 && !BP_IS_HOLE(bp)) { in redact_cb() 325 if (BP_IS_HOLE(bp)) { in redact_cb()
|
H A D | dnode.c | 839 ASSERT(BP_IS_HOLE(&dn->dn_phys->dn_blkptr[0]) || in dnode_reallocate() 2223 if (!BP_IS_HOLE(dn->dn_objset->os_rootbp)) { in dnode_set_dirtyctx() 2254 (db->db_blkptr && !BP_IS_HOLE(db->db_blkptr)); in dnode_partial_zero() 2591 BP_IS_HOLE(db->db_blkptr))) { in dnode_next_offset_level()
|
H A D | spa_errlog.c | 252 if (error == 0 && BP_IS_HOLE(&bp)) in find_birth_txg() 893 if (error != 0 || BP_IS_HOLE(&bp)) in sync_upgrade_errlog()
|
H A D | dsl_destroy.c | 133 ASSERT(!BP_IS_HOLE(bp)); in process_old_cb() 719 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in kill_blkptr()
|
H A D | dsl_scan.c | 1763 if (BP_IS_HOLE(bp) || in dsl_scan_zil_block() 1799 if (BP_IS_HOLE(bp) || in dsl_scan_zil_record() 1947 if (BP_IS_HOLE(bp) || in dsl_scan_prefetch() 2366 if (BP_IS_HOLE(bp)) { in dsl_scan_visitbp() 3997 if (!error && BP_IS_HOLE(&bp)) { in read_by_block_level()
|
H A D | bpobj.c | 879 ASSERT(!BP_IS_HOLE(bp)); in bpobj_enqueue()
|
H A D | dmu_recv.c | 1038 if (BP_IS_HOLE(dsl_dataset_get_blkptr(newds)) && in dmu_recv_begin_sync() 1242 ASSERT(!BP_IS_HOLE(dsl_dataset_get_blkptr(ds)) || in dmu_recv_resume_begin_sync() 2726 !BP_IS_HOLE(dsl_dataset_get_blkptr(ds))) { in dmu_recv_cleanup_ds()
|
H A D | arc.c | 5375 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) { in arc_hdr_verify() 5690 ASSERT(!BP_IS_HOLE(bp)); in arc_read() 5834 ASSERT(!embedded_bp || !BP_IS_HOLE(bp)); in arc_read() 6618 uint64_t psize = BP_IS_HOLE(bp) ? 0 : BP_GET_PSIZE(bp); in arc_write_ready() 6693 } else if (BP_IS_HOLE(bp) && ARC_BUF_ENCRYPTED(buf)) { in arc_write_ready() 6702 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) { in arc_write_ready() 6794 if (BP_IS_HOLE(zio->io_bp) || BP_IS_EMBEDDED(zio->io_bp)) { in arc_write_done()
|
H A D | dsl_crypt.c | 2056 if (!BP_IS_HOLE(dsl_dataset_get_blkptr(ds)) && in dsl_crypto_recv_raw_objset_check() 2123 if (BP_IS_HOLE(dsl_dataset_get_blkptr(ds))) { in dsl_crypto_recv_raw_objset_sync()
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb_il.c | 178 !BP_IS_HOLE(bp) && BP_GET_LOGICAL_BIRTH(bp) >= in zil_prt_rec_write() 185 if (BP_IS_HOLE(bp)) { in zil_prt_rec_write() 242 !BP_IS_HOLE(bp) && BP_GET_LOGICAL_BIRTH(bp) >= in zil_prt_rec_write_enc() 518 if (BP_IS_HOLE(&zh->zh_log) || verbose < 1) in dump_intent_log()
|
H A D | zdb.c | 2469 if (BP_IS_HOLE(bp)) in snprintf_zstd_header() 2554 if (BP_IS_HOLE(bp)) { in snprintf_blkptr_compact() 2623 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in visit_indirect() 4281 if (BP_IS_HOLE(os->os_rootbp)) in dump_objset() 6163 if (BP_IS_HOLE(bp) || BP_IS_REDACTED(bp)) in zdb_blkptr_cb() 7465 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in zdb_ddt_add_cb() 7477 if (BP_IS_HOLE(bp) || BP_GET_CHECKSUM(bp) == ZIO_CHECKSUM_OFF || in zdb_ddt_add_cb()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 750 ASSERT(BP_USES_CRYPT(bp) || BP_IS_HOLE(bp)); in zio_crypt_decode_mac_bp() 854 if (BP_IS_HOLE(bp)) { in zio_crypt_bp_zero_nonportable_blkprop() 895 ASSERT(BP_USES_CRYPT(&tmpbp) || BP_IS_HOLE(&tmpbp)); in zio_crypt_bp_auth_init()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 833 ASSERT(BP_USES_CRYPT(bp) || BP_IS_HOLE(bp)); in zio_crypt_decode_mac_bp() 936 if (BP_IS_HOLE(bp)) { in zio_crypt_bp_zero_nonportable_blkprop() 977 ASSERT(BP_USES_CRYPT(&tmpbp) || BP_IS_HOLE(&tmpbp)); in zio_crypt_bp_auth_init()
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 455 #define BP_IS_HOLE(bp) DVA_IS_EMPTY(BP_IDENTITY(bp)) macro 456 #define BP_IS_OLDER(bp, txg) (!BP_IS_HOLE(bp) && (bp)->blk_birth < (txg))
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa.h | 561 #define BP_IS_HOLE(bp) \ macro 635 } else if (BP_IS_HOLE(bp)) { \
|