| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dnode_sync.c | 144 if (BP_IS_HOLE(bp)) in free_blocks() 341 if (BP_IS_HOLE(bp)) in free_children() 357 ASSERT(BP_IS_HOLE(bp)); in free_children() 406 if (BP_IS_HOLE(bp)) in dnode_sync_free_range_impl() 570 ASSERT(BP_IS_HOLE(dn->dn_phys->dn_blkptr)); in dnode_sync_free() 745 BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 750 BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 761 ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[0]) || in dnode_sync() 873 ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[i])); in dnode_sync()
|
| H A D | dmu_traverse.c | 93 if (BP_IS_HOLE(bp)) in traverse_zil_block() 119 if (BP_IS_HOLE(bp)) in traverse_zil_record() 206 if (BP_IS_HOLE(bp) || get_birth_time(td, bp) <= td->td_min_txg) in traverse_prefetch_metadata() 224 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp) || in prefetch_needed() 292 if (BP_IS_HOLE(bp) || BP_IS_REDACTED(bp)) { in traverse_visitbp() 679 if (ds != NULL && !ds->ds_is_snapshot && !BP_IS_HOLE(rootbp)) { in traverse_impl()
|
| H A D | zil.c | 331 if (BP_IS_HOLE(bp)) { in zil_read_log_data() 499 for (blk = zh->zh_log; !BP_IS_HOLE(&blk); blk = next_blk) { in zil_parse() 590 ASSERT(!BP_IS_HOLE(bp)); in zil_clear_log_block() 624 if (BP_IS_HOLE(bp) || BP_GET_BIRTH(bp) < first_txg || in zil_claim_log_block() 687 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) in zil_claim_clone_range() 707 if (!BP_IS_HOLE(bp) && !BP_IS_EMBEDDED(bp)) in zil_claim_clone_range() 752 zil_bp_tree_add(zilog, bp) == 0 && !BP_IS_HOLE(bp)) { in zil_free_write() 780 if (!BP_IS_HOLE(bp)) { in zil_free_clone_range() 1011 if (BP_IS_HOLE(&blk) || BP_SHOULD_BYTESWAP(&blk)) { in zil_create() 1017 if (!BP_IS_HOLE(&blk)) { in zil_create() [all …]
|
| H A D | dbuf.c | 650 if (db_bp == NULL || BP_IS_HOLE(db_bp)) in dbuf_is_l2cacheable() 678 if (bp == NULL || BP_IS_HOLE(bp)) in dnode_level_is_l2cacheable() 1203 if ((db->db_blkptr == NULL || BP_IS_HOLE(db->db_blkptr)) && in dbuf_verify() 1249 ASSERT(BP_IS_HOLE(bp)); in dbuf_verify() 1477 int is_hole = bp == NULL || BP_IS_HOLE(bp); in dbuf_read_hole() 1489 is_hole = dnode_block_freed(dn, db->db_blkid) || BP_IS_HOLE(bp); in dbuf_read_hole() 1495 if (bp != NULL && db->db_level > 0 && BP_IS_HOLE(bp) && in dbuf_read_hole() 1849 (bp != NULL && !BP_IS_HOLE(bp)))) { in dbuf_read() 1949 if (!BP_IS_HOLE(bp) && !dr->dt.dl.dr_nopwrite) in dbuf_unoverride() 2347 BP_IS_HOLE(dn->dn_objset->os_rootbp) || in dbuf_dirty() [all …]
|
| H A D | dmu.c | 1742 if (BP_IS_HOLE(bp)) in dmu_cached_bps() 1951 if (BP_IS_HOLE(bp)) { in dmu_sync_ready() 2023 if (BP_IS_HOLE(&dr->dt.dl.dr_overridden_by) && in dmu_sync_done() 2053 if (!BP_IS_HOLE(bp)) { in dmu_sync_late_arrival_done() 2056 ASSERT(BP_IS_HOLE(bp_orig) || !BP_EQUAL(bp, bp_orig)); in dmu_sync_late_arrival_done() 2734 if (BP_IS_METADATA(bp) && !BP_IS_HOLE(bp)) { in dmu_read_l0_bps() 2798 if (!BP_IS_HOLE(bp) && BP_GET_LSIZE(bp) != dbuf->db_size) { in dmu_brt_clone() 2819 if (!BP_IS_HOLE(bp) || BP_GET_LOGICAL_BIRTH(bp) != 0) { in dmu_brt_clone() 2839 if (!BP_IS_HOLE(bp) && !BP_IS_EMBEDDED(bp)) { in dmu_brt_clone()
|
| H A D | zio.c | 1190 } else if (BP_IS_HOLE(bp)) { in zfs_blkptr_verify() 1460 ASSERT(!BP_IS_HOLE(bp)); in zio_free_sync() 1871 if (!BP_IS_HOLE(bp) && zp->zp_nopwrite) { in zio_write_bp_init() 1880 if (BP_IS_HOLE(bp) || !zp->zp_dedup) in zio_write_bp_init() 1941 if (!BP_IS_HOLE(bp) && BP_GET_BIRTH(bp) == zio->io_txg) { in zio_write_compress() 2078 if (!BP_IS_HOLE(bp) && BP_GET_BIRTH(bp) == zio->io_txg && in zio_write_compress() 3032 if (BP_IS_HOLE(gbp)) in zio_gang_tree_issue() 3100 if (BP_IS_HOLE(zio->io_bp)) in zio_write_gang_member_ready() 3107 ASSERT(BP_IS_HOLE(&zio->io_bp_orig) || in zio_write_gang_member_ready() 3359 ASSERT(BP_IS_HOLE(bp)); in zio_nop_write() [all …]
|
| H A D | dmu_diff.c | 127 if (BP_IS_HOLE(bp)) { in diff_cb()
|
| H A D | dmu_send.c | 1086 !BP_IS_HOLE(bp) && !BP_USES_CRYPT(bp)) { in send_cb() 1110 !BP_IS_HOLE(bp)) { in send_cb() 1117 if (zb->zb_level < 0 || (zb->zb_level > 0 && !BP_IS_HOLE(bp))) in send_cb() 1119 if (zb->zb_object == DMU_META_DNODE_OBJECT && !BP_IS_HOLE(bp)) in send_cb() 1133 ASSERT(BP_IS_HOLE(bp)); in send_cb() 1141 if (BP_IS_HOLE(bp)) in send_cb() 1154 if (BP_IS_HOLE(bp)) { in send_cb() 1675 enum type range_type = (bp == NULL || BP_IS_HOLE(bp) ? HOLE : in enqueue_range() 1895 ASSERT(!BP_IS_HOLE(&bp)); in send_reader_thread()
|
| H A D | bptree.c | 160 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in bptree_visit_cb()
|
| H A D | dmu_direct.c | 301 if (bp == NULL || BP_IS_HOLE(bp) || db->db_state == DB_CACHED) { in dmu_read_abd()
|
| H A D | dmu_redact.c | 300 } else if (zb->zb_level > 0 && !BP_IS_HOLE(bp)) { in redact_cb() 322 if (BP_IS_HOLE(bp)) { in redact_cb()
|
| H A D | dsl_destroy.c | 134 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 | spa_errlog.c | 253 if (error == 0 && BP_IS_HOLE(&bp)) in find_birth_txg() 894 if (error != 0 || BP_IS_HOLE(&bp)) in sync_upgrade_errlog()
|
| H A D | dmu_objset.c | 439 if (bp == NULL || BP_IS_HOLE(bp)) in dmu_os_is_l2cacheable() 492 if (!BP_IS_HOLE(os->os_rootbp)) { in dmu_objset_open_impl() 3057 if (BP_IS_HOLE(bp)) in dmu_objset_block_is_shared()
|
| H A D | dsl_scan.c | 1769 if (BP_IS_HOLE(bp) || in dsl_scan_zil_block() 1805 if (BP_IS_HOLE(bp) || in dsl_scan_zil_record() 1953 if (BP_IS_HOLE(bp) || in dsl_scan_prefetch() 2372 if (BP_IS_HOLE(bp)) { in dsl_scan_visitbp() 4026 if (!error && BP_IS_HOLE(&bp)) { in read_by_block_level()
|
| H A D | dnode.c | 845 ASSERT(BP_IS_HOLE(&dn->dn_phys->dn_blkptr[0]) || in dnode_reallocate() 2229 (db->db_blkptr && !BP_IS_HOLE(db->db_blkptr)); in dnode_partial_zero() 2568 BP_IS_HOLE(db->db_blkptr))) { in dnode_next_offset_level()
|
| H A D | bpobj.c | 881 ASSERT(!BP_IS_HOLE(bp)); in bpobj_enqueue()
|
| H A D | dmu_recv.c | 1056 if (BP_IS_HOLE(dsl_dataset_get_blkptr(newds)) && in dmu_recv_begin_sync() 1260 ASSERT(!BP_IS_HOLE(dsl_dataset_get_blkptr(ds)) || in dmu_recv_resume_begin_sync() 2763 !BP_IS_HOLE(dsl_dataset_get_blkptr(ds))) { in dmu_recv_cleanup_ds()
|
| H A D | arc.c | 5609 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) { in arc_hdr_verify() 5924 ASSERT(!BP_IS_HOLE(bp)); in arc_read() 6068 ASSERT(!embedded_bp || !BP_IS_HOLE(bp)); in arc_read() 6847 uint64_t psize = BP_IS_HOLE(bp) ? 0 : BP_GET_PSIZE(bp); in arc_write_ready() 6922 } else if (BP_IS_HOLE(bp) && ARC_BUF_ENCRYPTED(buf)) { in arc_write_ready() 6931 if (BP_IS_HOLE(bp) || BP_IS_EMBEDDED(bp)) { in arc_write_ready() 7023 if (BP_IS_HOLE(zio->io_bp) || BP_IS_EMBEDDED(zio->io_bp)) { in arc_write_done()
|
| /freebsd/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb_il.c | 177 !BP_IS_HOLE(bp) && BP_GET_BIRTH(bp) >= in zil_prt_rec_write() 184 if (BP_IS_HOLE(bp)) { in zil_prt_rec_write() 241 !BP_IS_HOLE(bp) && BP_GET_BIRTH(bp) >= in zil_prt_rec_write_enc() 517 if (BP_IS_HOLE(&zh->zh_log) || verbose < 1) in dump_intent_log()
|
| H A D | zdb.c | 2553 if (BP_IS_HOLE(bp)) in snprintf_zstd_header() 2640 if (BP_IS_HOLE(bp)) { in snprintf_blkptr_compact() 2877 if (BP_IS_HOLE(bp)) in print_file_layout() 2911 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) { in visit_indirect() 4732 if (BP_IS_HOLE(os->os_rootbp)) in dump_objset() 6723 if (BP_IS_HOLE(bp) || BP_IS_REDACTED(bp)) in zdb_blkptr_cb() 8044 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in zdb_ddt_add_cb() 8056 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 | 834 ASSERT(BP_USES_CRYPT(bp) || BP_IS_HOLE(bp)); in zio_crypt_decode_mac_bp() 937 if (BP_IS_HOLE(bp)) { in zio_crypt_bp_zero_nonportable_blkprop() 978 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 | 456 #define BP_IS_HOLE(bp) DVA_IS_EMPTY(BP_IDENTITY(bp)) macro 457 #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 | 592 #define BP_IS_HOLE(bp) \ macro 666 } else if (BP_IS_HOLE(bp)) { \
|