Searched refs:newchild (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_import.c | 651 nvlist_t **newchild; in get_configs() local 653 newchild = zutil_alloc(hdl, (id + 1) * in get_configs() 655 if (newchild == NULL) in get_configs() 659 newchild[c] = child[c]; in get_configs() 662 child = newchild; in get_configs() 683 nvlist_t **newchild; in get_configs() local 685 newchild = zutil_alloc(hdl, (max_id) * in get_configs() 687 if (newchild == NULL) in get_configs() 691 newchild[c] = child[c]; in get_configs() 694 child = newchild; in get_configs()
|
/freebsd/sys/kern/ |
H A D | subr_intr.c | 944 struct intr_pic_child *newchild; local 954 newchild = malloc(sizeof(*newchild), M_INTRNG, M_WAITOK | M_ZERO); 955 newchild->pc_pic = pic; 956 newchild->pc_filter = filter; 957 newchild->pc_filter_arg = arg; 958 newchild->pc_start = start; 959 newchild->pc_length = length; 968 SLIST_INSERT_HEAD(&parent_pic->pic_children, newchild, pc_next);
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev.c | 554 vdev_t **newchild; in vdev_add_child() local 570 newchild = kmem_alloc(newsize, KM_SLEEP); in vdev_add_child() 572 memcpy(newchild, pvd->vdev_child, oldsize); in vdev_add_child() 576 pvd->vdev_child = newchild; in vdev_add_child() 641 vdev_t **newchild, *cvd; in vdev_compact_children() local 655 newchild = kmem_zalloc(newc * sizeof (vdev_t *), KM_SLEEP); in vdev_compact_children() 659 newchild[newc] = cvd; in vdev_compact_children() 664 newchild = NULL; in vdev_compact_children() 668 pvd->vdev_child = newchild; in vdev_compact_children()
|
H A D | vdev_raidz.c | 4263 int newchild = i % raidvd->vdev_children; in raidz_reflow_scratch_sync() local 4267 ASSERT(!(newchild == oldchild && newoff == oldoff)); in raidz_reflow_scratch_sync() 4269 abd_copy_off(abds[newchild], abds[oldchild], in raidz_reflow_scratch_sync()
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 5536 nvlist_t **oldchild, **newchild; in print_vdev_stats() local 5649 &newchild, &children) != 0) in print_vdev_stats() 5666 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_HOLE, in print_vdev_stats() 5669 (void) nvlist_lookup_uint64(newchild[c], ZPOOL_CONFIG_IS_LOG, in print_vdev_stats() 5675 if (nvlist_exists(newchild[c], ZPOOL_CONFIG_ALLOCATION_BIAS)) in print_vdev_stats() 5678 vname = zpool_vdev_name(g_zfs, zhp, newchild[c], in print_vdev_stats() 5681 newchild[c], cb, depth + 2); in print_vdev_stats() 5696 (void) nvlist_lookup_uint64(newchild[c], in print_vdev_stats() 5701 (void) nvlist_lookup_string(newchild[c], in print_vdev_stats() 5703 (void) nvlist_lookup_string(newchild[c], in print_vdev_stats() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_pool.c | 3929 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL; in zpool_vdev_split() local 3980 &newchild, &newchildren) != 0) in zpool_vdev_split() 4044 newchild, newchildren)) >= 0) { in zpool_vdev_split()
|