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.
865 nvlist_t *raidz, **child;
870 child = umem_alloc(r * sizeof (nvlist_t *), UMEM_NOFAIL);
873 child[c] = make_vdev_file(path, aux, pool, size, ashift);
881 child, r) == 0);
884 nvlist_free(child[c]);
886 umem_free(child, r * sizeof (nvlist_t *));
895 nvlist_t *mirror, **child;
901 child = umem_alloc(m * sizeof (nvlist_t *), UMEM_NOFAIL);
904 child[c] = make_vdev_raidz(path, aux, pool, size, ashift, r);
910 child, m) == 0);
913 nvlist_free(child[c]);
915 umem_free(child, m * sizeof (nvlist_t *));
924 nvlist_t *root, **child;
929 child = umem_alloc(t * sizeof (nvlist_t *), UMEM_NOFAIL);
932 child[c] = make_vdev_mirror(path, aux, pool, size, ashift,
934 VERIFY(nvlist_add_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
941 child, t) == 0);
944 nvlist_free(child[c]);
946 umem_free(child, t * sizeof (nvlist_t *));
2305 * Remember the committed values in zd, which is in parent/child
2661 nvlist_t *tree, **child, *config, *split, **schild;
2684 VERIFY(nvlist_lookup_nvlist_array(tree, ZPOOL_CONFIG_CHILDREN, &child,
2706 VERIFY(nvlist_lookup_nvlist_array(child[c],
2809 * mirror vdev -- in which case, pick a random child.
5591 * Initialize parent/child shared state.
6034 if (pid == 0) { /* child */
6070 (void) fprintf(stderr, "child exited with code %d\n",
6077 (void) fprintf(stderr, "child died with signal %d\n",
6083 (void) fprintf(stderr, "something strange happened to child\n");
6296 * It's possible that we killed a child during a rename test,