Lines Matching refs:vc
3254 vdev_t *vc = vdev->vdev_child[i]; in zdb_vdev_lookup() local
3256 if (vc->vdev_path == NULL) { in zdb_vdev_lookup()
3257 vc = zdb_vdev_lookup(vc, path); in zdb_vdev_lookup()
3258 if (vc == NULL) in zdb_vdev_lookup()
3261 return (vc); in zdb_vdev_lookup()
3264 p = strrchr(vc->vdev_path, '/'); in zdb_vdev_lookup()
3265 p = p ? p + 1 : vc->vdev_path; in zdb_vdev_lookup()
3266 q = &vc->vdev_path[strlen(vc->vdev_path) - 2]; in zdb_vdev_lookup()
3268 if (strcmp(vc->vdev_path, path) == 0) in zdb_vdev_lookup()
3269 return (vc); in zdb_vdev_lookup()
3271 return (vc); in zdb_vdev_lookup()
3273 return (vc); in zdb_vdev_lookup()