Searched refs:lgrps (Results 1 - 11 of 11) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.xs103 lgrp_id_t *lgrps; \
113 } else if (New(0, lgrps, nr, lgrp_id_t) == NULL) { \
117 nr = lgrp_resources(c, lgrp, lgrps, nr, type); \
118 PUSHARRAY(lgrps, nr); \
119 Safefree(lgrps); \
310 lgrp_id_t *lgrps;
321 if (New(0, lgrps, count, lgrp_id_t) == NULL) {
325 count = lgrp_children(cookie, lgrp, lgrps, count);
326 PUSHARRAY(lgrps, count);
327 Safefree(lgrps);
[all...]
H A DLgrp.pm104 # Returns: list of lgrps in a subtree starting from $lgrp.
212 sub lgrps subroutine
214 scalar @_ > 0 or _usage("lgrps(class, [lgrp])");
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp_api.t86 my @lgrps = $c->lgrps;
87 ok(scalar @lgrps, 'Can get lgrps list') or
90 is(scalar @lgrps, $nlgrps, 'lgrp_nlgrps() should match number of lgrps');
126 is($fail, 0, 'All non-leaf lgrps should have single parent');
229 foreach my $l1 (@lgrps) {
230 foreach my $l2 (@lgrps) {
252 foreach my $l1 (@lgrps) {
[all...]
H A DLgrp.t125 my @lgrps = lgrp_lgrps($c);
126 ok(@lgrps);
127 ok(scalar @lgrps, $nlgrps, 'lgrp_nlgrps() should match number of lgrps');
240 my @lg1 = $c->lgrps;
241 ok(@lgrps, @lg1);
/opensolaris-onvv-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl136 my @lgrps = nsort($l->lgrps);
138 my @intermediates = grep { $_ != $root && !$l->isleaf($_) } @lgrps;
139 my $is_uma = (scalar @lgrps == 1);
166 # Get list of lgrps from arguments, expanding symbolic names like
169 my @lgrp_list = (scalar (@ARGV) && !$opt_T) ? lgrp_expand($l, @ARGV) : @lgrps;
226 map { $self_latencies{$_} = $l->latency($_, $_) } @lgrps;
231 print_latency_table(\@lgrps, \@lgrps) if $do_table;
240 # Just print list of lgrps i
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ptools/plgrp/
H A Dplgrp.c133 lgrp_id_t *lgrps; /* lgroups */ member in struct:plgrp_args
263 arg->lgrps = realloc(arg->lgrps,
265 if (arg->lgrps == NULL) {
281 arg->lgrps[arg->nlgrps] = id;
489 print_lgrps(lgrp_id_t *lgrps, int nlgrps) argument
498 start = end = lgrps[0];
503 lgrpid = lgrps[i];
550 print_affinities(lgrp_id_t *lgrps, lgrp_affinity_t *affs, int nelements) argument
577 lgrp_id_t lgrpid = lgrps[
877 lgrp_id_t *lgrps; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dlgrp_topo.c314 prom_printf("lgrp_ancestor_delete: changed %d lgrps: 0x%llx\n",
419 prom_printf("lgrp_consolidate: changed %d lgrps: 0x%llx\n",
534 prom_printf("lgrp_collapse_dups: changed %d lgrps: 0x%llx\n",
592 prom_printf("lgrp_new_parent: changed %d lgrps: 0x%llx\n",
630 prom_printf("lgrp_proprogate: changed %d lgrps:"
658 prom_printf("lgrp_proprogate: changed %d lgrps: 0x%llx\n",
787 prom_printf("lgrp_split: changed %d lgrps: 0x%llx\n",
1112 prom_printf("lgrp_lineage_add: changed %d lgrps: 0x%llx\n",
1124 lgrp_leaf_add(lgrp_t *leaf, lgrp_t **lgrps, int lgrp_count, argument
1138 (void *)leaf, leaf->lgrp_id, (void *)lgrps, lgrp_coun
1246 lgrp_leaf_delete(lgrp_t *leaf, lgrp_t **lgrps, int lgrp_count, klgrpset_t *changed) argument
1340 lgrp_topo_flatten(int levels, lgrp_t **lgrps, int lgrp_count, klgrpset_t *changed) argument
1459 lgrp_topo_update(lgrp_t **lgrps, int lgrp_count, klgrpset_t *changed) argument
1569 lgrp_topo_print(lgrp_t **lgrps, int lgrp_max) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/
H A DLgrp.pod74 my @lgrps = lgrp_lgrps($cookie);
75 @lgrps = l->lgrps();
77 @lgrps = lgrp_lgrps($cookie, $lgrp);
78 @lgrps = l->lgrps($lgrp);
104 my @lgrps = lgrp_resources($cookie, $lgrp, LGRP_RSRC_CPU);
585 =item lgrps([$lgrp])
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dlgrp_user.h282 lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type);
/opensolaris-onvv-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c1021 lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrps, argument
1066 if (lgrps != NULL && nlgrps < count)
1067 lgrps[nlgrps] = i;
/opensolaris-onvv-gate/usr/src/cmd/ps/
H A Dps.c257 static int *lgrps = NULL; /* list of lgroup IDs for for h option */ variable
258 static size_t lgrps_size = 0; /* size of the lgrps list */
438 * correctness and place in lgrps array.
462 /* Extend lgrps array if needed */
464 /* Double the size of the lgrps array */
468 lgrps = Realloc(lgrps,
471 /* place the id in the lgrps table */
472 lgrps[nlgrps++] = id;
980 else if (hflg && search((pid_t *)lgrps, nlgrp
[all...]

Completed in 116 milliseconds