Searched refs:parents (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp_api.t101 my @parents;
104 (@parents) = $c->parents($l) or
106 my $nparents = @parents;
107 my ($parent, @rest) = @parents;
111 is($fail, 0, 'correct parents for children');
115 # root should have no parents.
121 my (@parents) = $c->parents($l) or
123 my $nparents = @parents;
[all...]
H A DLgrp.t141 my @parents;
146 @parents = lgrp_parents($c, $l) or
148 my $nparents = @parents;
149 my ($parent, @rest) = @parents;
154 ok($fail, 0, 'correct parents for children');
158 # Illegal parents have no children
162 ok(scalar @children, 0, 'Illegal parents have no children');
167 # root should have no parents.
169 @parents = lgrp_parents($c, $root);
170 ok(scalar @parents,
[all...]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Darcs.c85 * prepend this parent to the parents of this child
87 arcp->arc_parentlist = childp->parents;
88 childp->parents = arcp;
309 cyclenlp->parents = 0; /* caller arcs list */
331 for (arcp = memberp->parents; arcp;
351 * (or outside parents of this cycle)
354 * similarly, deal with propagation fractions from parents.
367 * just a regular child, check its parents
371 for (arcp = childp->parents; arcp;
391 * its a member of a cycle, look at all parents fro
[all...]
H A Dprintgprof.c238 "", "", "", "", "called", "total", "parents");
403 if (childp->parents == 0) {
411 for (arcp = childp->parents; arcp; arcp = arcp->arc_parentlist) {
598 * unlink parents from child,
599 * then insertion sort back on to sorted's parents.
608 for ((arcp = childp->parents) && (detachedp = arcp->arc_parentlist);
628 childp->parents = sorted.arc_parentlist;
H A Dgprof.h164 struct arcstruct *arc_parentlist; /* parents-of-this-child list */
251 arctype *parents; /* list of caller arcs */ member in struct:nl
H A Dgprof.c276 for (arcp = nlp->parents; arcp;
391 for (arcp = nlp->parents; arcp;
651 unsigned long ncallees; /* no. of callees with parents */
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c141 * Find any orphan lgroups without parents and make them be children of
152 ulong_t *parents; local
176 * Make sure parents bitmap is setup
184 * Look for orphans (lgroups with no parents)
187 parents = lgrp_info->info_parents;
189 if (parents[j] != 0) {
198 BT_SET(parents, root->info_lgrpid);
217 ulong_t *parents; local
224 parents = lgrp_info->info_parents;
225 if (parents
611 lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *parents, uint_t count) argument
[all...]
/illumos-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl172 @lgrp_list = map { $l->parents($_) } @lgrp_list if $opt_P;
247 my ($children, $parents, $cpus, $memstr, $rsrc);
259 # Are there any parents for this lgrp?
260 my @parents = $l->parents($lgrp);
261 $parents = @parents ?
262 gettext(", Parent: ") . "@parents" :
277 print "\n\t$children$parents" if $do_topo;
/illumos-gate/usr/src/cmd/pginfo/
H A Dpginfo.pl595 my @parents = grep { defined($_) } map { $p->parent ($_) } @_;
597 return ($p->uniq(@_, @parents, pg_lineage ($p, @parents)));
/illumos-gate/usr/src/tools/onbld/Scm/
H A DWorkSpace.py336 return filter(lambda ctx: not [p for p in ctx.parents() if p in revset],
569 parents = (active.parenttip.node(), node.nullid)
571 context.memctx.__init__(self, active.ws.repo, parents, message,
626 if (wctx.files() or len(wctx.parents()) > 1 or
627 wctx.branch() != wctx.parents()[0].branch()):
630 heads = self.repo.heads(start=wctx.parents()[0].node())
728 return len(wctx.parents()) > 1
735 return wctx.branch() != wctx.parents()[0].branch()
771 heads = localtip.parents()
H A DBackup.py335 parent = self.wctx.parents()[0]
351 dirstate = node.hex(self.wctx.parents()[0].node())
467 cnode = self.wctx.parents()[0].node()
695 it is a head, and neither of its parents are.
712 heads = filter(lambda x: x not in wctx.parents(), heads) + [wctx]
717 c = head.parents()
/illumos-gate/usr/src/lib/libfru/include/
H A Dlibfru.h285 fru_strlist_t *parents);
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm238 sub parents subroutine
240 scalar @_ == 2 or _usage("parents(class, lgrp)");
H A DLgrp.xs332 # @parents = lgrp_parents($cookie, $lgrp).
361 # @parents = lgrp_cpus($cookie, $lgrp, $content).
/illumos-gate/usr/src/uts/common/sys/
H A Dlgrp_user.h277 lgrp_id_t *parents, uint_t count);
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dlibfru.cc2142 fru_get_tagged_parents(const char *element, fru_strlist_t *parents) argument
2155 parents->num = 0;
2156 parents->strs = NULL;
2160 parents->strs = (char **)malloc(number * sizeof (char *));
2161 if (parents->strs == NULL) {
2164 memset(parents->strs, 0x00, (number * sizeof (char *)));
2169 fru_destroy_strlist(parents);
2172 parents->strs[i] = strdup(cur->getDef()->name);
2173 if (parents->strs[i] == NULL) {
2174 fru_destroy_strlist(parents);
[all...]
/illumos-gate/usr/src/tools/onbld/hgext/
H A Dcdm.py686 parents = set([x.node() for x in wslist[repo].workingctx().parents()])
690 # identical to the dirstate parents (if they are identical, it's
694 if len(heads) > 1 and heads != parents:
787 merges = filter(lambda x: len(x.parents()) == 2 and x.parents()[1],
961 if filter(lambda b: len(b.parents()) > 1, active.bases()):
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c613 boolean_t parents = B_FALSE; local
629 parents = B_TRUE;
661 if (parents && zfs_name_valid(argv[1], ZFS_TYPE_FILESYSTEM |
741 boolean_t parents = B_FALSE; local
767 parents = B_TRUE;
866 if (parents && zfs_name_valid(argv[0], type)) {
3203 boolean_t parents = B_FALSE; local
3210 parents = B_TRUE;
3245 if (recurse && parents) {
3257 if ((zhp = zfs_open(g_zfs, argv[0], parents
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c2893 impl_parlist_to_major(struct par_list *pl, char parents[]) argument
2902 if ((pl->par_major < devcnt) && (parents[pl->par_major] == 0)) {
2903 parents[pl->par_major] = 1;
2922 if (parents[major] == 0) {
2923 parents[major] = 1;
H A Ddevcfg.c7205 diplist_to_parent_major(dev_info_t *head, char parents[]) argument
7214 if ((major != DDI_MAJOR_T_NONE) && parents[major] == 0)
7215 parents[major] = 1;
7225 attach_driver_by_parent(major_t child_major, char parents[]) argument
7235 if (parents[par_major] == 0 || par_major == child_major)
7288 * it configures and attaches all possible parents of
7323 char *parents; local
7369 * Driver has .conf nodes. We find all possible parents
7375 parents = kmem_zalloc(devcnt * sizeof (char), KM_SLEEP);
7378 /* find .conf parents */
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dlgrpsys.c1196 * 4) lgroup parents array
1197 * - contains lgroup bitmask of parents for each lgroup
1270 * lgroup bitmasks needed for parents, children, and resources
1333 * lgroup bitmasks needed for pset lgroup set and parents,
1373 * (including pointers to tables of lgroup info, CPU IDs, and parents
1444 * Fill in parents, children, and lgroup resources
1743 * Fix up pointers to parents, children, resources, and
1883 * for lgroup info, CPU IDs, pset lgroup bitmask, parents, children,
1954 uint_t *parents; local
1967 * Fill in parents, childre
[all...]

Completed in 164 milliseconds