Lines Matching defs:zb
78 zbookmark_phys_t zb;
86 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL,
89 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg);
102 zbookmark_phys_t zb;
110 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid,
113 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL,
148 * the block indicated by zb does not need to be visited at all. Returns
156 const zbookmark_phys_t *zb)
163 if (zbookmark_subtree_completed(dnp, zb, td->td_resume))
170 if (bcmp(zb, td->td_resume, sizeof (*zb)) == 0) {
171 bzero(td->td_resume, sizeof (*zb));
181 const blkptr_t *bp, const zbookmark_phys_t *zb)
200 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb);
215 const blkptr_t *bp, const zbookmark_phys_t *zb)
223 switch (resume_skip_check(td, dnp, zb)) {
259 zb->zb_object == DMU_META_DNODE_OBJECT) &&
278 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg);
285 err = td->td_func(td->td_spa, NULL, bp, zb, dnp,
300 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb);
306 SET_BOOKMARK(&czb, zb->zb_objset, zb->zb_object,
307 zb->zb_level - 1,
308 zb->zb_blkid * epb + i);
314 SET_BOOKMARK(&czb, zb->zb_objset, zb->zb_object,
315 zb->zb_level - 1,
316 zb->zb_blkid * epb + i);
327 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb);
334 zb->zb_objset, zb->zb_blkid * epb + i);
340 zb->zb_objset, zb->zb_blkid * epb + i);
348 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb);
353 prefetch_dnode_metadata(td, &osp->os_meta_dnode, zb->zb_objset,
366 zb->zb_objset, DMU_GROUPUSED_OBJECT);
368 zb->zb_objset, DMU_USERUSED_OBJECT);
371 err = traverse_dnode(td, &osp->os_meta_dnode, zb->zb_objset,
375 zb->zb_objset, DMU_GROUPUSED_OBJECT);
379 zb->zb_objset, DMU_USERUSED_OBJECT);
388 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg);
402 td->td_resume->zb_objset = zb->zb_objset;
403 td->td_resume->zb_object = zb->zb_object;
415 td->td_resume->zb_blkid = zb->zb_blkid;
416 if (zb->zb_level > 0) {
417 td->td_resume->zb_blkid <<= zb->zb_level *
494 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)
516 ZIO_FLAG_CANFAIL | ZIO_FLAG_SPECULATIVE, &aflags, zb);