Lines Matching defs:child
127 nvlist_t **child;
135 &child, &children) == 0) {
137 if (fix_paths(child[c], names) != 0)
446 nvlist_t **child = NULL;
577 * Add this top-level vdev to the child array.
593 newchild[c] = child[c];
595 free(child);
596 child = newchild;
599 if (nvlist_dup(nvtop, &child[id], 0) != 0)
614 nvlist_free(child[c]);
625 newchild[c] = child[c];
627 free(child);
628 child = newchild;
647 if (child[c] != NULL ||
668 child[c] = holey;
675 * simply compress the child array, because the kernel performs
680 if (child[c] == NULL) {
695 child[c] = missing;
709 child, children) != 0) {
715 nvlist_free(child[c]);
716 free(child);
718 child = NULL;
839 nvlist_free(child[c]);
840 free(child);
1772 nvlist_t **child;
1780 &child, &children) == 0) {
1782 if (find_guid(child[c], guid))