Home
last modified time | relevance | path

Searched refs:BP_IS_HOLE (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddnode_sync.c143 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 Ddmu_traverse.c83 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 Dzil.c328 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 Ddbuf.c646 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 Ddmu.c1648 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 Dzio.c1474 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 Ddmu_send.c1085 !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 Ddmu_diff.c126 if (BP_IS_HOLE(bp)) { in diff_cb()
H A Dbptree.c158 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in bptree_visit_cb()
H A Ddmu_direct.c294 if (bp == NULL || BP_IS_HOLE(bp) || db->db_state == DB_CACHED) { in dmu_read_abd()
H A Ddmu_redact.c303 } else if (zb->zb_level > 0 && !BP_IS_HOLE(bp)) { in redact_cb()
325 if (BP_IS_HOLE(bp)) { in redact_cb()
H A Ddnode.c839 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 Dspa_errlog.c252 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 Ddsl_destroy.c133 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 Ddsl_scan.c1763 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 Dbpobj.c879 ASSERT(!BP_IS_HOLE(bp)); in bpobj_enqueue()
H A Ddmu_recv.c1038 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 Darc.c5375 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 Ddsl_crypt.c2056 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 Dzdb_il.c178 !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 Dzdb.c2469 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 Dzio_crypt.c750 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 Dzio_crypt.c833 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 Dzfsimpl.h455 #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 Dspa.h561 #define BP_IS_HOLE(bp) \ macro
635 } else if (BP_IS_HOLE(bp)) { \

12