Home
last modified time | relevance | path

Searched refs:vdevid (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dbrt.c431 brt_vdev(brt_t *brt, uint64_t vdevid) in brt_vdev() argument
437 if (vdevid < brt->brt_nvdevs) { in brt_vdev()
438 brtvd = &brt->brt_vdevs[vdevid]; in brt_vdev()
673 uint64_t vdevid; in brt_vdevs_expand() local
687 for (vdevid = brt->brt_nvdevs; vdevid < nvdevs; vdevid++) { in brt_vdevs_expand()
688 brtvd = &vdevs[vdevid]; in brt_vdevs_expand()
690 brtvd->bv_vdevid = vdevid; in brt_vdevs_expand()
840 uint64_t vdevid; in brt_vdevs_alloc() local
847 for (vdevid = 0; vdevid < brt->brt_nvdevs; vdevid++) { in brt_vdevs_alloc()
848 brtvd = &brt->brt_vdevs[vdevid]; in brt_vdevs_alloc()
[all …]
H A Dspa_misc.c2800 uint64_t vdevid; in spa_get_last_removal_txg() local
2809 vdevid = spa->spa_removing_phys.sr_prev_indirect_vdev; in spa_get_last_removal_txg()
2811 while (vdevid != -1ULL) { in spa_get_last_removal_txg()
2812 vdev_t *vd = vdev_lookup_top(spa, vdevid); in spa_get_last_removal_txg()
2825 vdevid = vd->vdev_indirect_config.vic_prev_indirect_vdev; in spa_get_last_removal_txg()
H A Dzio.c1192 uint64_t vdevid = DVA_GET_VDEV(dva); in zfs_blkptr_verify() local
1194 if (unlikely(vdevid >= spa->spa_root_vdev->vdev_children)) { in zfs_blkptr_verify()
1197 bp, i, (longlong_t)vdevid); in zfs_blkptr_verify()
1200 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid]; in zfs_blkptr_verify()
1204 bp, i, (longlong_t)vdevid); in zfs_blkptr_verify()
1210 bp, i, (longlong_t)vdevid); in zfs_blkptr_verify()
1241 uint64_t vdevid = DVA_GET_VDEV(dva); in zfs_dva_valid() local
1243 if (vdevid >= spa->spa_root_vdev->vdev_children) in zfs_dva_valid()
1246 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid]; in zfs_dva_valid()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2135 for (uint64_t vdevid = 0; vdevid < brt->brt_nvdevs; vdevid++) { in dump_brt() local
2136 brt_vdev_t *brtvd = &brt->brt_vdevs[vdevid]; in dump_brt()
2141 printf("BRT: vdev %" PRIu64 ": empty\n", vdevid); in dump_brt()
2149 vdevid, count, used, saved); in dump_brt()
2163 for (uint64_t vdevid = 0; vdevid < brt->brt_nvdevs; vdevid++) { in dump_brt() local
2164 brt_vdev_t *brtvd = &brt->brt_vdevs[vdevid]; in dump_brt()
2189 vdevid, (u_longlong_t)offset); in dump_brt()
2199 ": DVAs with 2^n refcnts:\n", vdevid); in dump_brt()
8232 for (uint64_t vdevid = 0; vdevid < brt->brt_nvdevs; vdevid++) { in dump_mos_leaks() local
8233 brt_vdev_t *brtvd = &brt->brt_vdevs[vdevid]; in dump_mos_leaks()
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c2262 uint64_t vdevid; in zio_read() local
2268 vdevid = DVA_GET_VDEV(dva); in zio_read()
2272 if (vdev->v_id == vdevid) in zio_read()