Lines Matching refs:vdev
690 * because we're done, and possibly removing the vdev.
1932 * This vdev is in the process of being removed so there is nothing
2183 spa_dbgmsg(spa, "condensing: txg %llu, msp[%llu] %p, vdev id %llu, "
2430 * the vdev.
2677 metaslab_group_alloc_increment(spa_t *spa, uint64_t vdev, void *tag, int flags)
2683 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2691 metaslab_group_alloc_decrement(spa_t *spa, uint64_t vdev, void *tag, int flags)
2697 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2712 uint64_t vdev = DVA_GET_VDEV(&dva[d]);
2713 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2986 * on the same vdev as an existing DVA of this BP, then try to allocate it
3021 * consecutive vdevs. If we're forced to reuse a vdev before we've
3023 * that vdev as much as possible. If it turns out to not be possible,
3027 * able to reason about. Otherwise, any two top-level vdev failures
3029 * only two adjacent top-level vdev failures will result in data loss.
3032 * ourselves on the same vdev as our gang block header. That
3040 * It's possible the vdev we're using as the hint no
3108 * non-redundant vdev, unless we've already tried all
3144 * figure out whether the corresponding vdev is
3213 uint64_t vdev = DVA_GET_VDEV(dva);
3224 if ((vd = vdev_lookup_top(spa, vdev)) == NULL ||
3227 (u_longlong_t)vdev, (u_longlong_t)offset);
3271 uint64_t vdev = DVA_GET_VDEV(dva);
3280 if ((vd = vdev_lookup_top(spa, vdev)) == NULL ||
3479 uint64_t vdev = DVA_GET_VDEV(&bp->blk_dva[i]);
3480 vdev_t *vd = vdev_lookup_top(spa, vdev);