Lines Matching defs:child

52  *     we run the entire test in a child of the main process.
53 * At random times, the child self-immolates with a SIGKILL.
78 * temporary file which is mmap-ed in the child process. This allows shared
395 * Stuff we need to share writably between parent and child.
871 nvlist_t *raidz, **child;
876 child = umem_alloc(r * sizeof (nvlist_t *), UMEM_NOFAIL);
879 child[c] = make_vdev_file(path, aux, pool, size, ashift);
887 child, r) == 0);
890 nvlist_free(child[c]);
892 umem_free(child, r * sizeof (nvlist_t *));
901 nvlist_t *mirror, **child;
907 child = umem_alloc(m * sizeof (nvlist_t *), UMEM_NOFAIL);
910 child[c] = make_vdev_raidz(path, aux, pool, size, ashift, r);
916 child, m) == 0);
919 nvlist_free(child[c]);
921 umem_free(child, m * sizeof (nvlist_t *));
930 nvlist_t *root, **child;
935 child = umem_alloc(t * sizeof (nvlist_t *), UMEM_NOFAIL);
938 child[c] = make_vdev_mirror(path, aux, pool, size, ashift,
940 VERIFY(nvlist_add_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
947 child, t) == 0);
950 nvlist_free(child[c]);
952 umem_free(child, t * sizeof (nvlist_t *));
2302 * Remember the committed values in zd, which is in parent/child
2658 nvlist_t *tree, **child, *config, *split, **schild;
2681 VERIFY(nvlist_lookup_nvlist_array(tree, ZPOOL_CONFIG_CHILDREN, &child,
2703 VERIFY(nvlist_lookup_nvlist_array(child[c],
2806 * mirror vdev -- in which case, pick a random child.
5660 * Initialize parent/child shared state.
6110 if (pid == 0) { /* child */
6142 (void) fprintf(stderr, "child exited with code %d\n",
6149 (void) fprintf(stderr, "child died with signal %d\n",
6155 (void) fprintf(stderr, "something strange happened to child\n");
6368 * It's possible that we killed a child during a rename test,