| /freebsd-14.2/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() 579 ASSERT(BP_IS_HOLE(dn->dn_phys->dn_blkptr)); in dnode_sync_free() 695 BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 700 BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 711 ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 847 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() 108 if (BP_IS_HOLE(bp)) in traverse_zil_record() 195 if (BP_IS_HOLE(bp) || bp->blk_birth <= td->td_min_txg) in traverse_prefetch_metadata() 213 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp) || in prefetch_needed() 281 if (BP_IS_HOLE(bp) || BP_IS_REDACTED(bp)) { in traverse_visitbp() 668 if (ds != NULL && !ds->ds_is_snapshot && !BP_IS_HOLE(rootbp)) { in traverse_impl()
|
| H A D | zil.c | 326 if (BP_IS_HOLE(bp)) { in zil_read_log_data() 569 ASSERT(!BP_IS_HOLE(bp)); in zil_clear_log_block() 731 !BP_IS_HOLE(bp)) { in zil_free_write() 759 if (!BP_IS_HOLE(bp)) { in zil_free_clone_range() 995 if (!BP_IS_HOLE(&blk)) { in zil_create() 1077 if (BP_IS_HOLE(&zh->zh_log)) in zil_destroy() 1097 if (!BP_IS_HOLE(&lwb->lwb_blk)) in zil_destroy() 1179 if (!BP_IS_HOLE(&zh->zh_log)) { in zil_claim() 1250 if (!BP_IS_HOLE(bp)) { in zil_check_log_chain() 3751 if (!BP_IS_HOLE(&lwb->lwb_blk)) in zil_sync() [all …]
|
| H A D | dbuf.c | 625 if (bp == NULL || BP_IS_HOLE(bp)) in dbuf_is_l2cacheable() 654 if (bp == NULL || BP_IS_HOLE(bp)) in dnode_level_is_l2cacheable() 1203 ASSERT(BP_IS_HOLE(bp)); in dbuf_verify() 3197 ASSERT(BP_IS_HOLE(*bpp)); in dbuf_findbp() 4671 ASSERT(!(BP_IS_HOLE(bp)) && in dbuf_write_ready() 4713 if (BP_IS_HOLE(bp)) { in dbuf_write_ready() 4723 if (BP_IS_HOLE(ibp)) in dbuf_write_ready() 4766 if (!BP_IS_HOLE(bp)) in dbuf_write_children_ready() 4841 if (!BP_IS_HOLE(db->db_blkptr)) { in dbuf_write_done() 4895 if (!BP_IS_HOLE(obp)) in dbuf_write_override_done() [all …]
|
| H A D | dmu.c | 1574 if (BP_IS_HOLE(bp)) { in dmu_sync_ready() 1639 if (BP_IS_HOLE(&dr->dt.dl.dr_overridden_by) && in dmu_sync_done() 1667 if (!BP_IS_HOLE(bp)) { in dmu_sync_late_arrival_done() 1670 ASSERT(BP_IS_HOLE(bp_orig) || !BP_EQUAL(bp, bp_orig)); in dmu_sync_late_arrival_done() 2289 if (BP_IS_METADATA(bp) && !BP_IS_HOLE(bp)) { in dmu_read_l0_bps() 2351 if (!BP_IS_HOLE(bp) && BP_GET_LSIZE(bp) != dbuf->db_size) { in dmu_brt_clone() 2365 ASSERT(BP_IS_HOLE(bp) || dbuf->db_size == BP_GET_LSIZE(bp)); in dmu_brt_clone() 2376 if (!BP_IS_HOLE(bp) || bp->blk_birth != 0) { in dmu_brt_clone() 2394 if (!BP_IS_HOLE(bp) && !BP_IS_EMBEDDED(bp)) { in dmu_brt_clone()
|
| H A D | zio.c | 1366 ASSERT(!BP_IS_HOLE(bp)); in zio_free_sync() 1735 if (!BP_IS_HOLE(bp) && zp->zp_nopwrite) { in zio_write_bp_init() 1744 if (BP_IS_HOLE(bp) || !zp->zp_dedup) in zio_write_bp_init() 2840 if (BP_IS_HOLE(gbp)) in zio_gang_tree_issue() 2902 if (BP_IS_HOLE(zio->io_bp)) in zio_write_gang_member_ready() 2905 ASSERT(BP_IS_HOLE(&zio->io_bp_orig)); in zio_write_gang_member_ready() 3107 ASSERT(BP_IS_HOLE(bp)); in zio_nop_write() 3121 if (BP_IS_HOLE(bp_orig) || in zio_nop_write() 3465 ASSERT(BP_IS_HOLE(bp) || zio->io_bp_override); in zio_ddt_write() 3658 ASSERT(BP_IS_HOLE(bp)); in zio_dva_allocate() [all …]
|
| H A D | dmu_diff.c | 126 if (BP_IS_HOLE(bp)) { in diff_cb()
|
| H A D | dmu_send.c | 1125 !BP_IS_HOLE(bp) && !BP_USES_CRYPT(bp)) { in send_cb() 1149 !BP_IS_HOLE(bp)) { in send_cb() 1156 if (zb->zb_level < 0 || (zb->zb_level > 0 && !BP_IS_HOLE(bp))) in send_cb() 1158 if (zb->zb_object == DMU_META_DNODE_OBJECT && !BP_IS_HOLE(bp)) in send_cb() 1172 ASSERT(BP_IS_HOLE(bp)); in send_cb() 1180 if (BP_IS_HOLE(bp)) in send_cb() 1193 if (BP_IS_HOLE(bp)) { in send_cb() 1714 enum type range_type = (bp == NULL || BP_IS_HOLE(bp) ? HOLE : in enqueue_range() 1892 ASSERT(!BP_IS_HOLE(&bp)); in send_reader_thread()
|
| 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_redact.c | 301 } else if (zb->zb_level > 0 && !BP_IS_HOLE(bp)) { in redact_cb() 323 if (BP_IS_HOLE(bp)) { in redact_cb()
|
| H A D | dnode.c | 815 ASSERT(BP_IS_HOLE(&dn->dn_phys->dn_blkptr[0]) || in dnode_reallocate() 2171 if (!BP_IS_HOLE(dn->dn_objset->os_rootbp)) { in dnode_set_dirtyctx() 2202 (db->db_blkptr && !BP_IS_HOLE(db->db_blkptr)); in dnode_partial_zero() 2539 BP_IS_HOLE(db->db_blkptr))) { in dnode_next_offset_level()
|
| H A D | spa_errlog.c | 258 if (error == 0 && BP_IS_HOLE(&bp)) in find_birth_txg() 897 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() 717 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in kill_blkptr()
|
| H A D | dsl_scan.c | 1726 if (BP_IS_HOLE(bp) || bp->blk_birth <= scn->scn_phys.scn_cur_min_txg) in dsl_scan_zil_block() 1760 if (BP_IS_HOLE(bp) || in dsl_scan_zil_record() 1908 if (BP_IS_HOLE(bp) || bp->blk_birth <= scn->scn_phys.scn_cur_min_txg || in dsl_scan_prefetch() 2327 if (BP_IS_HOLE(bp)) { in dsl_scan_visitbp() 3949 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 | 1000 if (BP_IS_HOLE(dsl_dataset_get_blkptr(newds)) && in dmu_recv_begin_sync() 1204 ASSERT(!BP_IS_HOLE(dsl_dataset_get_blkptr(ds)) || in dmu_recv_resume_begin_sync() 2686 !BP_IS_HOLE(dsl_dataset_get_blkptr(ds))) { in dmu_recv_cleanup_ds()
|
| H A D | arc.c | 5228 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) { in arc_hdr_verify() 5491 ASSERT(!BP_IS_HOLE(bp)); in arc_read() 5636 ASSERT(!embedded_bp || !BP_IS_HOLE(bp)); in arc_read() 6388 uint64_t psize = BP_IS_HOLE(bp) ? 0 : BP_GET_PSIZE(bp); in arc_write_ready() 6463 } else if (BP_IS_HOLE(bp) && ARC_BUF_ENCRYPTED(buf)) { in arc_write_ready() 6472 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) { in arc_write_ready() 6564 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()
|
| H A D | dmu_objset.c | 441 if (bp == NULL || BP_IS_HOLE(bp)) in dmu_os_is_l2cacheable() 494 if (!BP_IS_HOLE(os->os_rootbp)) { in dmu_objset_open_impl()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb_il.c | 176 !BP_IS_HOLE(bp) && in zil_prt_rec_write() 183 if (BP_IS_HOLE(bp)) { in zil_prt_rec_write() 240 !BP_IS_HOLE(bp) && in zil_prt_rec_write_enc() 516 if (BP_IS_HOLE(&zh->zh_log) || verbose < 1) in dump_intent_log()
|
| H A D | zdb.c | 2427 if (BP_IS_HOLE(bp)) in snprintf_zstd_header() 2512 if (BP_IS_HOLE(bp)) { in snprintf_blkptr_compact() 2581 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in visit_indirect() 4184 if (BP_IS_HOLE(os->os_rootbp)) in dump_objset() 5944 if (BP_IS_HOLE(bp) || BP_IS_REDACTED(bp)) in zdb_blkptr_cb() 7285 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in zdb_ddt_add_cb() 7297 if (BP_IS_HOLE(bp) || BP_GET_CHECKSUM(bp) == ZIO_CHECKSUM_OFF || in zdb_ddt_add_cb()
|
| /freebsd-14.2/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-14.2/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-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 560 #define BP_IS_HOLE(bp) \ macro 629 } else if (BP_IS_HOLE(bp)) { \
|
| /freebsd-14.2/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))
|