/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.xs | 103 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 D | Lgrp.pm | 105 # Returns: list of lgrps in a subtree starting from $lgrp. 213 sub lgrps subroutine 215 scalar @_ > 0 or _usage("lgrps(class, [lgrp])");
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp_api.t | 86 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 D | Lgrp.t | 125 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);
|
/illumos-gate/usr/src/cmd/lgrpinfo/ |
H A D | lgrpinfo.pl | 136 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...] |
/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 133 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...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | lgrp_topo.c | 314 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...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lgrp_user.h | 280 lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type);
|
/illumos-gate/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 1021 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;
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 267 static int *lgrps = NULL; /* list of lgroup IDs for for h option */ variable 268 static size_t lgrps_size = 0; /* size of the lgrps list */ 448 * correctness and place in lgrps array. 472 /* Extend lgrps array if needed */ 474 /* Double the size of the lgrps array */ 478 lgrps = Realloc(lgrps, 481 /* place the id in the lgrps table */ 482 lgrps[nlgrps++] = id; 993 else if (hflg && search((pid_t *)lgrps, nlgrp [all...] |