Lines Matching refs:vdev
3167 zdb_vdev_lookup(vdev_t *vdev, char *path) in zdb_vdev_lookup() argument
3172 if (vdev == NULL) in zdb_vdev_lookup()
3179 if (i < 0 || i >= vdev->vdev_children) in zdb_vdev_lookup()
3182 vdev = vdev->vdev_child[i]; in zdb_vdev_lookup()
3184 return (vdev); in zdb_vdev_lookup()
3185 return (zdb_vdev_lookup(vdev, s+1)); in zdb_vdev_lookup()
3188 for (i = 0; i < vdev->vdev_children; i++) { in zdb_vdev_lookup()
3189 vdev_t *vc = vdev->vdev_child[i]; in zdb_vdev_lookup()
3246 char *s, *p, *dup, *vdev, *flagstr; in zdb_read_block() local
3251 vdev = s ? s : ""; in zdb_read_block()
3299 vd = zdb_vdev_lookup(spa->spa_root_vdev, vdev); in zdb_read_block()
3301 (void) printf("***Invalid vdev: %s\n", vdev); in zdb_read_block()