Searched defs:cvd (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_root.c71 vdev_t *cvd = vd->vdev_child[c]; local
73 if (cvd->vdev_open_error && !cvd->vdev_islog) {
74 lasterror = cvd->vdev_open_error;
H A Dvdev_mirror.c148 vdev_t *cvd = vd->vdev_child[c]; local
150 if (cvd->vdev_open_error) {
151 lasterror = cvd->vdev_open_error;
156 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1;
157 *max_asize = MIN(*max_asize - 1, cvd->vdev_max_asize - 1) + 1;
158 *ashift = MAX(*ashift, cvd->vdev_ashift);
H A Dvdev_label.c334 vdev_t *cvd = vd->vdev_child[c]; local
342 !cvd->vdev_removing)
345 child[idx++] = vdev_config_generate(spa, cvd,
H A Dvdev_raidz.c1477 vdev_t *cvd; local
1494 cvd = vd->vdev_child[c];
1496 if (cvd->vdev_open_error != 0) {
1497 lasterror = cvd->vdev_open_error;
1502 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1;
1503 *max_asize = MIN(*max_asize - 1, cvd->vdev_max_asize - 1) + 1;
1504 *ashift = MAX(*ashift, cvd->vdev_ashift);
1593 vdev_t *cvd; local
1631 cvd = vd->vdev_child[rc->rc_devidx];
1660 if ((err = vdev_disk_physio(cvd,
1720 vdev_t *cvd; local
2092 vdev_t *cvd; local
[all...]
H A Dvdev.c204 vdev_add_child(vdev_t *pvd, vdev_t *cvd) argument
207 uint64_t id = cvd->vdev_id;
209 spa_t *spa = cvd->vdev_spa;
212 ASSERT(cvd->vdev_parent == NULL);
214 cvd->vdev_parent = pvd;
232 pvd->vdev_child[id] = cvd;
234 cvd->vdev_top = (pvd->vdev_top ? pvd->vdev_top: cvd);
235 ASSERT(cvd->vdev_top->vdev_parent->vdev_parent == NULL);
241 pvd->vdev_guid_sum += cvd
245 vdev_remove_child(vdev_t *pvd, vdev_t *cvd) argument
284 vdev_t **newchild, *cvd; local
776 vdev_add_parent(vdev_t *cvd, vdev_ops_t *ops) argument
809 vdev_remove_parent(vdev_t *cvd) argument
1904 vdev_t *cvd = vd->vdev_child[c]; local
2140 vdev_t *cvd = vd->vdev_child[c]; local
2769 vdev_t *cvd = rvd->vdev_child[c]; local
3416 vdev_t *cvd, *pvd = vd->vdev_parent; local
3433 vdev_t *cvd = vd->vdev_child[c]; local
[all...]
H A Dspa.c4794 vdev_t *vd, *pvd, *cvd, *tvd; local
4866 cvd = pvd->vdev_child[c];
4868 if (cvd == vd || cvd->vdev_path == NULL)
4871 if (strncmp(cvd->vdev_path, vd->vdev_path, len) == 0 &&
4872 strcmp(cvd->vdev_path + len, "/old") == 0) {
4873 spa_strfree(cvd->vdev_path);
4874 cvd->vdev_path = spa_strdup(vd->vdev_path);
4909 cvd = pvd->vdev_child[pvd->vdev_children - 1];
4921 ASSERT(cvd
5826 vdev_t *cvd = vd->vdev_child[c]; local
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c1301 vdev_t *cvd; local
1303 STAILQ_FOREACH(cvd, &pvd->v_children, v_childlink) {
1304 if (cvd->v_id == devidx)
1308 return (cvd);
1515 vdev_t *cvd; local
1540 cvd = vdev_child(vd, rc->rc_devidx);
1541 if (cvd == NULL || cvd->v_state != VDEV_STATE_HEALTHY) {
1552 if (vdev_dtl_contains(cvd, DTL_MISSING, zio->io_txg, 1)) {
1563 rc->rc_error = cvd
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c2488 vdev_t *cvd = rvd->vdev_child[c]; local
2490 if (cvd->vdev_ishole)
3030 vdev_t *cvd = vd->vdev_child[c]; local
3031 if ((cvd = vdev_walk_tree(cvd, func, arg)) != NULL)
3032 return (cvd);

Completed in 1049 milliseconds