Lines Matching defs:parent
120 * If our parent is NULL (inactive spare or cache) or is the root,
372 vdev_alloc(spa_t *spa, vdev_t **vdp, nvlist_t *nv, vdev_t *parent, uint_t id,
509 if (parent && !parent->vdev_parent &&
521 if (parent && !parent->vdev_parent && alloctype != VDEV_ALLOC_ATTACH) {
585 * Add ourselves to the parent's list of children.
587 vdev_add_child(parent, vd);
630 * Remove this vdev from its parent's child list.
1407 * sibling was detached, it will have adopted the parent's
1472 * If our parent is reopening, then we are as well, unless we are
1559 * Reassess parent vdev's health.
1656 * if any child is less than fully replicated, then so is its parent.
1874 /* account for child's outage in parent's missing map */
3038 * Propagate vdev state up from children to parent.
3097 * Set a vdev's state. If this is during an open, we don't update the parent
3099 * Otherwise, we propagate the change to the parent.