Searched defs:children (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_util.c70 uint_t c, children; local
74 &child, &children) != 0)
77 for (c = 0; c < children; c++) {
H A Dzpool_vdev.c548 uint_t c, children; local
577 &child, &children) != 0) {
616 for (c = 0; c < children; c++) {
797 uint_t children; local
814 * for spares there may be no children, and therefore no
818 &child, &children) != 0) || (children == 0)) {
826 if (num_logs(newroot) == children) {
889 uint_t c, children; local
901 &child, &children) !
1036 uint_t c, children; local
1188 int c, children = 0; local
1369 uint_t c, children; local
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dftwalk.c57 register int children; local
73 if (children = flags & FTW_CHILDREN)
93 if (children && (e = fts_children(f, 0)))
124 if (children)
/illumos-gate/usr/src/common/zfs/
H A Dzfs_comutil.c53 uint_t children; local
56 &child, &children) != 0) {
59 for (c = 0; c < children; c++) {
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm115 my @children = lgrp_children($cookie, $root);
119 # Concatenate root with subtrees for every children. Every subtree is
120 # obtained by calling lgrp_lgrps recursively with each of the children
123 @result = @children ?
124 ($root, map {lgrp_lgrps($cookie, $_)} @children) :
232 sub children subroutine
234 scalar @_ == 2 or _usage("children(class, lgrp)");
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/
H A DLocalityGroup.java65 private Set children; field in class:LocalityGroup
82 children = new HashSet();
84 children.add(new LocalityGroup(domain,
113 return (children);
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/
H A Djlgrp.c139 jlongArray children; local
155 children = (*env)->NewLongArray(env, nchild0);
176 (*env)->SetLongArrayRegion(env, children, 0, nchild, java_child);
179 return (children);
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c94 uint_t c, children; local
105 &child, &children) == 0) {
107 for (c = 0; c < children; c++)
113 &child, &children) == 0) {
115 for (c = 0; c < children; c++)
121 &child, &children) == 0) {
123 for (c = 0; c < children; c++)
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c125 uint_t c, children; local
139 &children) == 0) {
140 for (c = 0; c < children; c++)
158 &children) == 0) {
159 for (c = 0; c < children; c++)
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/
H A DPg.pm215 # Return list of children for a given PG
216 # In scalar context return list of children
218 sub children subroutine
220 scalar @_ == 2 or _usage("children(cookie, pg)");
223 my $children = $pg->{children} or return;
224 my @children = @{$children};
226 return (wantarray() ? _nsort(@children) : scalar @children);
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo.c253 /* Leave device with info.ignore==TRUE so we won't pick up children */
345 GSList *children; local
358 /* first remove children */
359 children = hal_device_store_match_multiple_key_value_string (hald_get_gdl(),
361 for (i = children; i != NULL; i = g_slist_next (i)) {
366 g_slist_free (children);
367 HAL_INFO (("remove_branch: done with children"));
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c178 hp_node_list_t children; local
212 (void) memset(&children, 0, sizeof (hp_node_list_t));
217 (void) hp_fini(children.head);
222 node_list_add(&children, branch);
224 self->hp_child = children.head;
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_misc.c56 eibnx_child_t *children; local
82 * Now go through the list of all children and free up any
88 children = info->ti_child;
92 for (child = children; child; child = nxt_child) {
500 * we had a devinfo node, but it wasn't in our list of eoib children,
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_mirror.c269 int c, children; local
278 * children. If any child succeeds, it will copy its
296 children = (c >= 0);
301 * Writes go to all children.
304 children = mm->mm_children;
307 while (children--) {
387 * If we don't have a good copy yet, keep trying other children.
412 * Use the good data we have in hand to repair damaged children.
416 * Don't rewrite known good children.
/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c76 uint_t c, children; local
120 if (nvlist_lookup_nvlist_array(nv, ctype, &child, &children) != 0)
123 for (c = 0; c < children; c++) {
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c141 * Find any orphan lgroups without parents and make them be children of
229 * Update children of parents not to include given lgroup
481 * Find any orphan lgroups without parents and make them be children
685 * Get children lgroups of given lgroup
688 lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *children, argument
718 * No children, since only one level in lgroup hierarchy (ie. SMP)
721 if (children == NULL || count < 1)
727 * Make sure that children exist
735 * Given lgroup may not have any children
743 * Check lgroup children bitmas
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c99 uint_t c, children; local
114 &child, &children) != 0)
117 for (c = 0; c < children; c++) {
124 &child, &children) != 0)
127 for (c = 0; c < children; c++) {
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c112 static int children; variable
413 while (children > 0) {
414 (void) kill(childpid[--children], SIGKILL);
415 while (wait(NULL) != childpid[children])
446 while (children < MAXCHILD &&
447 (childpid[children] = fork()) > 0)
448 next = childpid[children++];
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Dprint_json.c399 nvlist_t **children = (*lw)->lw_nvl; local
402 if (nvlist_add_nvlist_array(parent, name, children,
/illumos-gate/usr/src/uts/common/os/
H A Dlgrp_topo.c253 * children
276 * that don't have any children left until we reach an ancestor that
277 * has multiple children
360 * Delete ancestors of lgrp1 that don't have any other children
374 * Reparent children lgroups of lgrp1 to lgrp2
898 * children
1299 * Remove leaf and its ancestors that don't have any other children
1560 prom_printf("\tchild count %d, children ", lgrp->lgrp_childcnt);
1576 klgrpset_t children; local
1579 klgrpset_clear(children);
[all...]
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c282 uint_t c, children; local
288 * First iterate over any children.
291 &child, &children) == 0) {
292 for (c = 0; c < children; c++)
314 * of its children.
317 * the target is one of its children.
/illumos-gate/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c553 xmlNodePtr children; local
559 children = node->children;
570 (children == NULL ||
571 (ec = parse_xml_obj(&children, &obj)) ==
573 if (children != NULL &&
574 children != node->children) {
575 *nodep = children;
586 if (children !
[all...]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_activate.c1217 uint_t c, children = 0; local
1322 &children) != 0) {
1328 for (c = 0; c < children; c++) {
1637 /* Iterate down this dataset's children and promote them */
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_pool.c906 nvlist_t **children; local
911 vdev_parent, ZPOOL_CONFIG_CHILDREN, &children, &nelem);
925 child = zjni_get_vdev(zhp, children[i],
968 nvlist_t **children; local
971 vdev, ZPOOL_CONFIG_CHILDREN, &children, &nelem);
976 nvlist_t *child = children[nelem - 1];
1005 nvlist_t **children; local
1008 vdev_parent, ZPOOL_CONFIG_CHILDREN, &children, &nelem);
1015 nvlist_t *child = children[i];
/illumos-gate/usr/src/cmd/ptools/plgrp/
H A Dplgrp.c295 lgrp_id_t *children; local
330 * Get children of specified lgroup and insert descendants of each
335 children = malloc(nchildren * sizeof (lgrp_id_t));
336 if (children == NULL) {
341 if (lgrp_children(cookie, lgrpid, children, nchildren) !=
343 free(children);
348 lgrps_bitmap_init(cookie, children[i], bitmap_array,
351 free(children);

Completed in 90 milliseconds

12