Lines Matching defs:vml
4919 vdev_t *rvd, **vml = NULL; /* vdev modify list */
4973 vml = kmem_zalloc(children * sizeof (vdev_t *), KM_SLEEP);
5001 vml[c] = spa_lookup_by_guid(spa, glist[c], B_FALSE);
5002 if (vml[c] == NULL) {
5008 if (vml[c]->vdev_parent->vdev_ops != &vdev_mirror_ops ||
5009 vml[c]->vdev_islog ||
5010 vml[c]->vdev_ishole ||
5011 vml[c]->vdev_isspare ||
5012 vml[c]->vdev_isl2cache ||
5013 !vdev_writeable(vml[c]) ||
5014 vml[c]->vdev_children != 0 ||
5015 vml[c]->vdev_state != VDEV_STATE_HEALTHY ||
5021 if (vdev_dtl_required(vml[c])) {
5028 vml[c]->vdev_top->vdev_ms_array) == 0);
5030 vml[c]->vdev_top->vdev_ms_shift) == 0);
5032 vml[c]->vdev_top->vdev_asize) == 0);
5034 vml[c]->vdev_top->vdev_ashift) == 0);
5038 kmem_free(vml, children * sizeof (vdev_t *));
5045 if (vml[c] != NULL)
5046 vml[c]->vdev_offline = B_TRUE;
5133 if (vml[c] != NULL) {
5134 vdev_split(vml[c]);
5137 "vdev=%s", vml[c]->vdev_path);
5138 vdev_free(vml[c]);
5155 kmem_free(vml, children * sizeof (vdev_t *));
5173 if (vml[c] != NULL)
5174 vml[c]->vdev_offline = B_FALSE;
5182 kmem_free(vml, children * sizeof (vdev_t *));