Lines Matching defs:zb
88 zbookmark_phys_t zb;
523 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg)
530 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT ||
531 zb->zb_object >= sta->resume.zb_object);
537 ASSERT3U(zb->zb_level, ==, ZB_DNODE_LEVEL);
539 } else if (zb->zb_level < 0) {
546 record->zb = *zb;
591 const zbookmark_phys_t *zb = &data->zb;
598 ASSERT3U(zb->zb_level, >=, 0);
600 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT ||
601 zb->zb_object >= dsa->dsa_resume_object);
603 if (zb->zb_object != DMU_META_DNODE_OBJECT &&
604 DMU_OBJECT_IS_SPECIAL(zb->zb_object)) {
607 zb->zb_object == DMU_META_DNODE_OBJECT) {
608 uint64_t span = BP_SPAN(dblkszsec, indblkshift, zb->zb_level);
609 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT;
612 uint64_t span = BP_SPAN(dblkszsec, indblkshift, zb->zb_level);
613 uint64_t offset = zb->zb_blkid * span;
614 err = dump_free(dsa, zb->zb_object, offset, span);
615 } else if (zb->zb_level > 0 || type == DMU_OT_OBJSET) {
622 ASSERT0(zb->zb_level);
626 &aflags, zb) != 0)
630 uint64_t dnobj = zb->zb_blkid * (blksz >> DNODE_SHIFT);
644 &aflags, zb) != 0)
647 err = dump_spill(dsa, zb->zb_object, blksz, abuf->b_data);
652 ASSERT0(zb->zb_level);
653 err = dump_write_embedded(dsa, zb->zb_object,
654 zb->zb_blkid * blksz, blksz, bp);
684 ASSERT0(zb->zb_level);
685 ASSERT(zb->zb_object > dsa->dsa_resume_object ||
686 (zb->zb_object == dsa->dsa_resume_object &&
687 zb->zb_blkid * blksz >= dsa->dsa_resume_offset));
689 ASSERT0(zb->zb_level);
690 ASSERT(zb->zb_object > dsa->dsa_resume_object ||
691 (zb->zb_object == dsa->dsa_resume_object &&
692 zb->zb_blkid * blksz >= dsa->dsa_resume_offset));
700 ZIO_PRIORITY_ASYNC_READ, zioflags, &aflags, zb) != 0) {
715 offset = zb->zb_blkid * blksz;
723 err = dump_write(dsa, type, zb->zb_object,
730 err = dump_write(dsa, type, zb->zb_object, offset,
979 zfs_bookmark_phys_t zb;
990 zb.zbm_creation_time =
992 zb.zbm_creation_txg = dsl_dataset_phys(fromds)->ds_creation_txg;
993 zb.zbm_guid = dsl_dataset_phys(fromds)->ds_guid;
996 err = dmu_send_impl(FTAG, dp, ds, &zb, is_clone,
1040 zfs_bookmark_phys_t zb;
1060 zb.zbm_creation_time =
1062 zb.zbm_creation_txg =
1064 zb.zbm_guid = dsl_dataset_phys(fromds)->ds_guid;
1069 err = dsl_bookmark_lookup(dp, fromsnap, ds, &zb);
1076 err = dmu_send_impl(FTAG, dp, ds, &zb, is_clone,
1191 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)