Lines Matching full:zb
81 zbookmark_phys_t zb; in traverse_zil_block() local
90 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, in traverse_zil_block()
93 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg); in traverse_zil_block()
107 zbookmark_phys_t zb; in traverse_zil_record() local
116 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid, in traverse_zil_record()
119 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, in traverse_zil_record()
151 * the block indicated by zb does not need to be visited at all. Returns
159 const zbookmark_phys_t *zb) in resume_skip_check() argument
166 if (zbookmark_subtree_completed(dnp, zb, td->td_resume)) in resume_skip_check()
169 if (memcmp(zb, td->td_resume, sizeof (*zb)) == 0) { in resume_skip_check()
182 const blkptr_t *bp, const zbookmark_phys_t *zb) in traverse_prefetch_metadata() argument
194 if (resume_skip_check(td, dnp, zb) != RESUME_SKIP_NONE) in traverse_prefetch_metadata()
206 ZIO_PRIORITY_ASYNC_READ, zio_flags, &flags, zb); in traverse_prefetch_metadata()
222 const blkptr_t *bp, const zbookmark_phys_t *zb) in traverse_visitbp() argument
228 switch (resume_skip_check(td, dnp, zb)) { in traverse_visitbp()
264 zb->zb_object == DMU_META_DNODE_OBJECT) && in traverse_visitbp()
283 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg); in traverse_visitbp()
290 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, in traverse_visitbp()
308 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb); in traverse_visitbp()
339 SET_BOOKMARK(czb, zb->zb_objset, in traverse_visitbp()
340 zb->zb_object, zb->zb_level - 1, in traverse_visitbp()
341 zb->zb_blkid * epb + pidx); in traverse_visitbp()
354 SET_BOOKMARK(czb, zb->zb_objset, zb->zb_object, in traverse_visitbp()
355 zb->zb_level - 1, in traverse_visitbp()
356 zb->zb_blkid * epb + i); in traverse_visitbp()
380 ZIO_PRIORITY_ASYNC_READ, zio_flags, &flags, zb); in traverse_visitbp()
388 zb->zb_objset, zb->zb_blkid * epb + i); in traverse_visitbp()
394 zb->zb_objset, zb->zb_blkid * epb + i); in traverse_visitbp()
407 ZIO_PRIORITY_ASYNC_READ, zio_flags, &flags, zb); in traverse_visitbp()
412 prefetch_dnode_metadata(td, &osp->os_meta_dnode, zb->zb_objset, in traverse_visitbp()
427 zb->zb_objset, DMU_PROJECTUSED_OBJECT); in traverse_visitbp()
429 zb->zb_objset, DMU_GROUPUSED_OBJECT); in traverse_visitbp()
431 zb->zb_objset, DMU_USERUSED_OBJECT); in traverse_visitbp()
434 err = traverse_dnode(td, bp, &osp->os_meta_dnode, zb->zb_objset, in traverse_visitbp()
439 &osp->os_projectused_dnode, zb->zb_objset, in traverse_visitbp()
443 &osp->os_groupused_dnode, zb->zb_objset, in traverse_visitbp()
447 &osp->os_userused_dnode, zb->zb_objset, in traverse_visitbp()
457 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg); in traverse_visitbp()
471 td->td_resume->zb_objset = zb->zb_objset; in traverse_visitbp()
472 td->td_resume->zb_object = zb->zb_object; in traverse_visitbp()
484 td->td_resume->zb_blkid = zb->zb_blkid; in traverse_visitbp()
485 if (zb->zb_level > 0) { in traverse_visitbp()
486 td->td_resume->zb_blkid <<= zb->zb_level * in traverse_visitbp()
562 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in traverse_prefetcher() argument
571 if (zb->zb_level == ZB_DNODE_LEVEL) in traverse_prefetcher()
590 zio_flags, &aflags, zb); in traverse_prefetcher()