Searched defs:zb (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dbptree.c153 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)
152 bptree_visit_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
H A Dspa_errlog.c62 bookmark_to_name(zbookmark_phys_t *zb, char *buf, size_t len) argument
65 (u_longlong_t)zb->zb_objset, (u_longlong_t)zb->zb_object,
66 (u_longlong_t)zb->zb_level, (u_longlong_t)zb->zb_blkid);
74 name_to_bookmark(char *buf, zbookmark_phys_t *zb) argument
76 zb->zb_objset = zfs_strtonum(buf, &buf);
78 zb->zb_object = zfs_strtonum(buf + 1, &buf);
80 zb->zb_level = (int)zfs_strtonum(buf + 1, &buf);
82 zb
93 spa_log_error(spa_t *spa, const zbookmark_phys_t *zb) argument
167 zbookmark_phys_t zb; local
[all...]
H A Ddmu_diff.c111 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)
119 if (bp == NULL || zb->zb_object != DMU_META_DNODE_OBJECT)
123 uint64_t span = DBP_SPAN(dnp, zb->zb_level);
124 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT;
130 } else if (zb->zb_level == 0) {
142 ZIO_PRIORITY_ASYNC_READ, zio_flags, &aflags, zb) != 0)
147 uint64_t dnobj = (zb->zb_blkid <<
110 diff_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
H A Dzio_inject.c105 zio_match_handler(zbookmark_phys_t *zb, uint64_t type, int dva, argument
111 if (zb->zb_objset == DMU_META_OBJSET &&
125 if (zb->zb_objset == record->zi_objset &&
126 zb->zb_object == record->zi_object &&
127 zb->zb_level == record->zi_level &&
128 zb->zb_blkid >= record->zi_start &&
129 zb->zb_blkid <= record->zi_end &&
201 zio_handle_decrypt_injection(spa_t *spa, const zbookmark_phys_t *zb, argument
216 if (zio_match_handler((zbookmark_phys_t *)zb, type, ZI_NO_DVA,
H A Ddsl_destroy.c643 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)
651 if (zb->zb_level == ZB_ZIL_LEVEL) {
642 kill_blkptr(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
H A Ddmu_traverse.c79 zbookmark_phys_t zb; local
87 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL,
90 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg);
103 zbookmark_phys_t zb; local
111 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid,
114 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL,
146 * the block indicated by zb does not need to be visited at all. Returns
154 const zbookmark_phys_t *zb)
161 if (zbookmark_subtree_completed(dnp, zb, td->td_resume))
168 if (bcmp(zb, t
153 resume_skip_check(traverse_data_t *td, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) argument
178 traverse_prefetch_metadata(traverse_data_t *td, const blkptr_t *bp, const zbookmark_phys_t *zb) argument
216 traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument
518 traverse_prefetcher(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
[all...]
H A Dzfs_fm.c107 const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb,
339 if (zb != NULL && (zio == NULL || zio->io_logical != NULL))
342 DATA_TYPE_UINT64, zb->zb_objset,
344 DATA_TYPE_UINT64, zb->zb_object,
346 DATA_TYPE_INT64, zb->zb_level,
348 DATA_TYPE_UINT64, zb->zb_blkid, NULL);
679 const struct zbookmark_phys *zb, zio_t *zio, uint64_t stateoroffset,
687 zb, zio, stateoroffset, size);
700 zfs_ereport_start_checksum(spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, argument
722 FM_EREPORT_ZFS_CHECKSUM, spa, vd, zb, zi
106 zfs_ereport_start(nvlist_t **ereport_out, nvlist_t **detector_out, const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, zio_t *zio, uint64_t stateoroffset, uint64_t size) argument
678 zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, const struct zbookmark_phys *zb, zio_t *zio, uint64_t stateoroffset, uint64_t size) argument
790 zfs_ereport_post_checksum(spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, struct zio *zio, uint64_t offset, uint64_t length, const abd_t *good_data, const abd_t *bad_data, zio_bad_cksum_t *zbc) argument
[all...]
H A Ddmu_send.c89 zbookmark_phys_t zb; member in struct:send_block_record
583 SET_BOOKMARK(&(record.zb), dmu_objset_id(dsp->dsa_os),
664 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg)
671 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT ||
672 zb->zb_object >= sta->resume.zb_object);
679 ASSERT3U(zb->zb_level, ==, ZB_DNODE_LEVEL);
681 } else if (zb->zb_level < 0) {
688 record->zb = *zb;
734 const zbookmark_phys_t *zb local
663 send_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) argument
980 zbookmark_phys_t zb; local
1239 zfs_bookmark_phys_t zb = { 0 }; local
1315 zfs_bookmark_phys_t zb = { 0 }; local
1490 dmu_calculate_send_traversal(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
[all...]
H A Ddmu.c1945 zio_prop_t *zp, zbookmark_phys_t *zb)
1998 dsa, ZIO_PRIORITY_SYNC_WRITE, ZIO_FLAG_CANFAIL, zb));
2036 zbookmark_phys_t zb; local
2043 SET_BOOKMARK(&zb, ds->ds_object,
2055 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb));
2079 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb));
2165 ZIO_PRIORITY_SYNC_WRITE, ZIO_FLAG_CANFAIL, &zb));
1944 dmu_sync_late_arrival(zio_t *pio, objset_t *os, dmu_sync_cb_t *done, zgd_t *zgd, zio_prop_t *zp, zbookmark_phys_t *zb) argument
H A Dzvol.c264 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)
271 zb->zb_object != ZVOL_OBJ || zb->zb_level != 0)
276 VERIFY3U(ma->ma_blks, ==, zb->zb_blkid);
263 zvol_map_block(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
H A Ddsl_crypt.c2766 spa_do_crypt_abd(boolean_t encrypt, spa_t *spa, const zbookmark_phys_t *zb, argument
2778 ret = spa_keystore_lookup_key(spa, zb->zb_objset, FTAG, &dck);
2827 ret = zio_handle_decrypt_injection(spa, zb, ot, ECKSUM);
H A Dzil.c203 zbookmark_phys_t zb; local
215 SET_BOOKMARK(&zb, bp->blk_cksum.zc_word[ZIL_ZC_OBJSET],
219 &abuf, ZIO_PRIORITY_SYNC_READ, zio_flags, &aflags, &zb);
282 zbookmark_phys_t zb; local
302 SET_BOOKMARK(&zb, dmu_objset_id(zilog->zl_os), lr->lr_foid,
306 ZIO_PRIORITY_SYNC_READ, zio_flags, &aflags, &zb);
1317 zbookmark_phys_t zb; local
1325 SET_BOOKMARK(&zb, lwb->lwb_blk.blk_cksum.zc_word[ZIL_ZC_OBJSET],
1345 prio, ZIO_FLAG_CANFAIL | ZIO_FLAG_DONT_PROPAGATE, &zb);
H A Ddbuf.c946 dbuf_read_done(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *bp, argument
1008 zbookmark_phys_t zb; local
1025 SET_BOOKMARK(&zb, dmu_objset_id(os),
1027 err = arc_untransform(dnode_abuf, os->os_spa, &zb, B_TRUE);
1049 zbookmark_phys_t zb; local
1131 SET_BOOKMARK(&zb, dmu_objset_id(db->db_objset),
1139 spa_log_error(db->db_objset->os_spa, &zb);
1172 &aflags, &zb);
1301 zbookmark_phys_t zb; local
1303 SET_BOOKMARK(&zb, dmu_objset_i
2587 dbuf_prefetch_indirect_done(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *iobp, arc_buf_t *abuf, void *private) argument
2648 zbookmark_phys_t zb; local
2781 zbookmark_phys_t zb; local
3339 zbookmark_phys_t zb; local
4044 zbookmark_phys_t zb; local
[all...]
H A Dzio.c691 const zbookmark_phys_t *zb, enum zio_stage stage, enum zio_stage pipeline)
758 if (zb != NULL)
759 zio->io_bookmark = *zb;
926 zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb)
934 ZIO_TYPE_READ, priority, flags, NULL, 0, zb,
947 const zbookmark_phys_t *zb)
961 ZIO_TYPE_WRITE, priority, flags, NULL, 0, zb,
989 zio_priority_t priority, enum zio_flag flags, zbookmark_phys_t *zb)
994 ZIO_TYPE_WRITE, priority, flags | ZIO_FLAG_IO_REWRITE, NULL, 0, zb,
687 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, void *private, zio_type_t type, zio_priority_t priority, enum zio_flag flags, vdev_t *vd, uint64_t offset, const zbookmark_phys_t *zb, enum zio_stage stage, enum zio_stage pipeline) argument
924 zio_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, abd_t *data, uint64_t size, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument
942 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, zio_done_func_t *ready, zio_done_func_t *children_ready, zio_done_func_t *physdone, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument
987 zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data, uint64_t size, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, zbookmark_phys_t *zb) argument
H A Ddmu_objset.c430 zbookmark_phys_t zb; local
433 SET_BOOKMARK(&zb, ds ? ds->ds_object : DMU_META_OBJSET,
448 ZIO_PRIORITY_SYNC_READ, zio_flags, &aflags, &zb);
731 zbookmark_phys_t zb; local
733 SET_BOOKMARK(&zb, ds->ds_object, ZB_ROOT_OBJECT,
736 &zb, B_FALSE);
1642 zbookmark_phys_t zb; local
1668 SET_BOOKMARK(&zb, os->os_dsl_dataset ?
1691 os, ZIO_PRIORITY_ASYNC_WRITE, ZIO_FLAG_MUSTSUCCEED, &zb);
H A Ddsl_scan.c332 const zbookmark_phys_t *zb, dsl_scan_io_queue_t *queue);
1268 dsl_scan_check_suspend(dsl_scan_t *scn, const zbookmark_phys_t *zb) argument
1271 if (zb && (int64_t)zb->zb_object < 0)
1281 if (zb && zb->zb_level != 0)
1312 if (zb) {
1314 (longlong_t)zb->zb_objset,
1315 (longlong_t)zb->zb_object,
1316 (longlong_t)zb
1348 zbookmark_phys_t zb; local
1380 zbookmark_phys_t zb; local
1481 dsl_scan_check_prefetch_resume(scan_prefetch_ctx_t *spc, const zbookmark_phys_t *zb) argument
1503 dsl_scan_prefetch(scan_prefetch_ctx_t *spc, blkptr_t *bp, zbookmark_phys_t *zb) argument
1551 zbookmark_phys_t zb; local
1577 dsl_scan_prefetch_cb(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *bp, arc_buf_t *buf, void *private) argument
1709 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) argument
1756 dsl_scan_recurse(dsl_scan_t *scn, dsl_dataset_t *ds, dmu_objset_type_t ostype, dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb, dmu_tx_t *tx) argument
1884 dsl_scan_visitbp(blkptr_t *bp, const zbookmark_phys_t *zb, dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn, dmu_objset_type_t ostype, dmu_tx_t *tx) argument
1961 zbookmark_phys_t zb; local
2453 zbookmark_phys_t zb = { 0 }; local
3685 zfs_blkstat_t *zb = &zab->zab_type[l][t]; local
3745 scan_io_queue_insert(dsl_scan_io_queue_t *queue, const blkptr_t *bp, int dva_i, int zio_flags, const zbookmark_phys_t *zb) argument
3774 dsl_scan_enqueue(dsl_pool_t *dp, const blkptr_t *bp, int zio_flags, const zbookmark_phys_t *zb) argument
3808 dsl_scan_scrub_cb(dsl_pool_t *dp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument
3905 scan_exec_io(dsl_pool_t *dp, const blkptr_t *bp, int zio_flags, const zbookmark_phys_t *zb, dsl_scan_io_queue_t *queue) argument
[all...]
H A Dspa.c2109 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg)
2135 ZIO_FLAG_SCRUB | ZIO_FLAG_RAW, zb));
2108 spa_load_verify_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb_il.c154 zbookmark_phys_t zb; local
184 SET_BOOKMARK(&zb, dmu_objset_id(zilog->zl_os),
191 ZIO_PRIORITY_SYNC_READ, ZIO_FLAG_CANFAIL, &zb));
H A Dzdb.c1429 const zbookmark_phys_t *zb)
1432 ASSERT(zb->zb_level < 0);
1433 if (zb->zb_object == 0)
1434 return (zb->zb_blkid);
1435 return (zb->zb_blkid * BP_GET_LSIZE(bp));
1438 ASSERT(zb->zb_level >= 0);
1440 return ((zb->zb_blkid <<
1441 (zb->zb_level * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT))) *
1493 print_indirect(blkptr_t *bp, const zbookmark_phys_t *zb, argument
1501 ASSERT3U(BP_GET_LEVEL(bp), ==, zb
1428 blkid2offset(const dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument
1521 visit_indirect(spa_t *spa, const dnode_phys_t *dnp, blkptr_t *bp, const zbookmark_phys_t *zb) argument
2968 zdb_blkstats_t *zb = &zcb->zcb_type[l][t]; local
3079 zbookmark_phys_t *zb = &zio->io_bookmark; local
3112 zdb_blkptr_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
3999 zdb_blkstats_t *zb, *tzb; local
4324 zdb_ddt_add_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c1086 uint_t zb; local
1088 zb = (uint_t)((NINDIR(fs) - (last + 1)) * sizeof (daddr32_t));
1090 if (zb) {
1101 bzero((caddr_t)&bap[last + 1], zb);
1105 zb, bp, DT_ABZERO);
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c219 zfs_handle_t **zb = (zfs_handle_t **)b; local
225 verify(zfs_prop_get(*zb, ZFS_PROP_MOUNTPOINT, mountb,
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c1359 char zb = '\0'; local
1361 error = nfswrite(vp, &zb,
1362 vap->va_size - sizeof (zb),
1363 sizeof (zb), cr);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c1240 zfs_handle_t *zb = *zbp; local
1249 zonedb = zfs_prop_get_int(zb, ZFS_PROP_ZONED);
1260 gotb = (zfs_get_type(zb) == ZFS_TYPE_FILESYSTEM);
1262 verify(zfs_prop_get(zb, ZFS_PROP_MOUNTPOINT, mountb,
1293 return (strcmp(zfs_get_name(za), zfs_get_name(zb)));
H A Dlibzfs_pool.c4109 zbookmark_phys_t *zb = NULL; local
4154 zb = ((zbookmark_phys_t *)(uintptr_t)zc.zc_nvlist_dst) +
4158 qsort(zb, count, sizeof (zbookmark_phys_t), zbookmark_mem_compare);
4169 if (i > 0 && zb[i-1].zb_objset == zb[i].zb_objset &&
4170 zb[i-1].zb_object == zb[i].zb_object)
4176 zb[i].zb_objset) != 0) {
4181 zb[i].zb_object) != 0) {
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3206 zfs_blkstat_t *zb = &stats.zab_type[level][t]; local
3208 if (zb->zb_asize == 0)
3221 if (level == 0 && zb->zb_asize ==
3225 mdb_nicenum(zb->zb_count, csize);
3226 mdb_nicenum(zb->zb_lsize, lsize);
3227 mdb_nicenum(zb->zb_psize, psize);
3228 mdb_nicenum(zb->zb_asize, asize);
3229 mdb_nicenum(zb->zb_asize / zb->zb_count, avg);
3231 zb
[all...]

Completed in 265 milliseconds

12