Lines Matching full:zb
257 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) in redact_cb() argument
263 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || in redact_cb()
264 zb->zb_object >= rta->resume.zb_object); in redact_cb()
269 if (rta->ignore_object == zb->zb_object) in redact_cb()
276 if (zb->zb_level == ZB_DNODE_LEVEL) { in redact_cb()
277 ASSERT3U(zb->zb_level, ==, ZB_DNODE_LEVEL); in redact_cb()
279 if (zb->zb_object == 0) in redact_cb()
287 objlist_exists(rta->deleted_objs, zb->zb_object)) { in redact_cb()
288 rta->ignore_object = zb->zb_object; in redact_cb()
294 zb->zb_object; in redact_cb()
301 } else if (zb->zb_level < 0) { in redact_cb()
303 } else if (zb->zb_level > 0 && !BP_IS_HOLE(bp)) { in redact_cb()
324 record->start_object = record->end_object = zb->zb_object; in redact_cb()
326 record->start_blkid = zb->zb_blkid * in redact_cb()
327 bp_span_in_blocks(dnp->dn_indblkshift, zb->zb_level); in redact_cb()
329 record->end_blkid = ((zb->zb_blkid + 1) * in redact_cb()
330 bp_span_in_blocks(dnp->dn_indblkshift, zb->zb_level)) - 1; in redact_cb()
332 if (zb->zb_object == DMU_META_DNODE_OBJECT) { in redact_cb()
342 } else if (zb->zb_level != 0 || in redact_cb()
343 zb->zb_object == DMU_META_DNODE_OBJECT) { in redact_cb()
347 record->start_blkid = record->end_blkid = zb->zb_blkid; in redact_cb()
385 create_zbookmark_from_obj_off(zbookmark_phys_t *zb, uint64_t object, in create_zbookmark_from_obj_off() argument
388 zb->zb_object = object; in create_zbookmark_from_obj_off()
389 zb->zb_level = 0; in create_zbookmark_from_obj_off()
390 zb->zb_blkid = blkid; in create_zbookmark_from_obj_off()