Home
last modified time | relevance | path

Searched refs:newchild (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/lib/libc/gen/
H A Dpthread_atfork.c100 struct atfork_callback *newprepare, *newparent, *newchild; in pthread_atfork() local
104 newprepare = newparent = newchild = NULL; in pthread_atfork()
131 newchild = af_alloc(); in pthread_atfork()
132 if (newchild == NULL) { in pthread_atfork()
140 newchild->fn = child; in pthread_atfork()
154 SIMPLEQ_INSERT_TAIL(&childq, newchild, next); in pthread_atfork()
/netbsd-src/external/gpl2/dtc/dist/
H A Dfstree.c56 struct node *newchild; in read_fstree() local
58 newchild = read_fstree(tmpname); in read_fstree()
59 newchild = name_node(newchild, xstrdup(de->d_name)); in read_fstree()
60 add_child(tree, newchild); in read_fstree()
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_import.c597 nvlist_t **newchild; in get_configs() local
599 newchild = zfs_alloc(hdl, (id + 1) * in get_configs()
601 if (newchild == NULL) in get_configs()
605 newchild[c] = child[c]; in get_configs()
608 child = newchild; in get_configs()
629 nvlist_t **newchild; in get_configs() local
631 newchild = zfs_alloc(hdl, (max_id) * in get_configs()
633 if (newchild == NULL) in get_configs()
637 newchild[c] = child[c]; in get_configs()
640 child = newchild; in get_configs()
H A Dlibzfs_pool.c2881 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL; local
2925 &newchild, &newchildren) != 0)
2976 newchild, newchildren)) >= 0) {
/netbsd-src/external/cddl/osnet/dist/cmd/zpool/
H A Dzpool_main.c2370 nvlist_t **oldchild, **newchild; in print_vdev_stats() local
2427 &newchild, &children) != 0) in print_vdev_stats()
2437 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_HOLE, in print_vdev_stats()
2440 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_LOG, in print_vdev_stats()
2446 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], B_FALSE); in print_vdev_stats()
2448 newchild[c], cb, depth + 2); in print_vdev_stats()
2462 (void) nvlist_lookup_uint64(newchild[c], in print_vdev_stats()
2466 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], in print_vdev_stats()
2469 oldchild[c] : NULL, newchild[c], in print_vdev_stats()
2481 &newchild, &children) != 0) in print_vdev_stats()
[all …]
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev.c304 vdev_t **newchild; in vdev_add_child() local
321 newchild = kmem_zalloc(newsize, KM_SLEEP); in vdev_add_child()
323 bcopy(pvd->vdev_child, newchild, oldsize); in vdev_add_child()
327 pvd->vdev_child = newchild; in vdev_add_child()
380 vdev_t **newchild, *cvd; in vdev_compact_children() local
390 newchild = kmem_alloc(newc * sizeof (vdev_t *), KM_SLEEP); in vdev_compact_children()
394 newchild[newc] = cvd; in vdev_compact_children()
400 pvd->vdev_child = newchild; in vdev_compact_children()