Lines Matching refs:kid

583 		vdev_t *kid;  in vdev_indirect_gather_splits()  local
585 STAILQ_FOREACH(kid, &vd->v_children, v_childlink) { in vdev_indirect_gather_splits()
586 is->is_child[i++].ic_vdev = kid; in vdev_indirect_gather_splits()
797 vdev_t *kid; in vdev_mirror_read() local
801 STAILQ_FOREACH(kid, &vdev->v_children, v_childlink) { in vdev_mirror_read()
802 if (kid->v_state != VDEV_STATE_HEALTHY) in vdev_mirror_read()
804 rc = kid->v_read(kid, bp, buf, offset, bytes); in vdev_mirror_read()
816 vdev_t *kid; in vdev_replacing_read() local
825 kid = STAILQ_FIRST(&vdev->v_children); in vdev_replacing_read()
826 if (kid == NULL) in vdev_replacing_read()
828 if (kid->v_state != VDEV_STATE_HEALTHY) in vdev_replacing_read()
830 return (kid->v_read(kid, bp, buf, offset, bytes)); in vdev_replacing_read()
1201 vdev_t *kid; in vdev_set_state() local
1205 STAILQ_FOREACH(kid, &vdev->v_children, v_childlink) { in vdev_set_state()
1206 vdev_set_state(kid); in vdev_set_state()
1217 STAILQ_FOREACH(kid, &vdev->v_children, v_childlink) { in vdev_set_state()
1218 if (kid->v_state == VDEV_STATE_HEALTHY) in vdev_set_state()
1458 vdev_t *kid; in vdev_status() local
1470 STAILQ_FOREACH(kid, &vdev->v_children, v_childlink) { in vdev_status()
1471 ret = vdev_status(kid, indent + 1); in vdev_status()
1699 vdev_t *kid; in vdev_write_bootenv_impl() local
1702 STAILQ_FOREACH(kid, &vdev->v_children, v_childlink) { in vdev_write_bootenv_impl()
1703 if (kid->v_state != VDEV_STATE_HEALTHY) in vdev_write_bootenv_impl()
1705 err = vdev_write_bootenv_impl(kid, be); in vdev_write_bootenv_impl()
1793 vdev_t *kid; in vdev_read_bootenv() local
1800 STAILQ_FOREACH(kid, &vdev->v_children, v_childlink) { in vdev_read_bootenv()
1801 if (kid->v_state != VDEV_STATE_HEALTHY) in vdev_read_bootenv()
1804 benv = vdev_read_bootenv(kid); in vdev_read_bootenv()