/titanic_44/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 | 213 sub lgrps subroutine
|
/titanic_44/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'); 229 foreach my $l1 (@lgrps) { 230 foreach my $l2 (@lgrps) { 252 foreach my $l1 (@lgrps) { 261 foreach my $l1 (@lgrps) { 267 foreach my $l2 (@lgrps) {
|
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);
|
/titanic_44/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); 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; 289 print_latency_table(\@lgrps, \@lgrp_list) if $do_table; 392 map { $seen{$_}++ } @lgrps; 396 push(@result, @lgrps), next if $lgrp =~ m/^all$/i; 620 return unless scalar @lgrps; [all …]
|
/titanic_44/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 133 lgrp_id_t *lgrps; /* lgroups */ member 263 arg->lgrps = realloc(arg->lgrps, in lgrps_add_lgrp() 265 if (arg->lgrps == NULL) { in lgrps_add_lgrp() 281 arg->lgrps[arg->nlgrps] = id; in lgrps_add_lgrp() 489 print_lgrps(lgrp_id_t *lgrps, int nlgrps) in print_lgrps() argument 498 start = end = lgrps[0]; in print_lgrps() 503 lgrpid = lgrps[i]; in print_lgrps() 550 print_affinities(lgrp_id_t *lgrps, lgrp_affinity_t *affs, int nelements) in print_affinities() argument 577 lgrp_id_t lgrpid = lgrps[i]; in print_affinities() 877 lgrp_id_t *lgrps; in do_op() local [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | lgrp_topo.c | 1124 lgrp_leaf_add(lgrp_t *leaf, lgrp_t **lgrps, int lgrp_count, in lgrp_leaf_add() argument 1138 (void *)leaf, leaf->lgrp_id, (void *)lgrps, lgrp_count, in lgrp_leaf_add() 1198 lgrp = lgrps[i]; in lgrp_leaf_add() 1246 lgrp_leaf_delete(lgrp_t *leaf, lgrp_t **lgrps, int lgrp_count, in lgrp_leaf_delete() argument 1272 (void *)leaf, leaf->lgrp_id, (void *)lgrps, lgrp_count, in lgrp_leaf_delete() 1280 lgrp = lgrps[i]; in lgrp_leaf_delete() 1340 lgrp_topo_flatten(int levels, lgrp_t **lgrps, int lgrp_count, in lgrp_topo_flatten() argument 1362 lgrp = lgrps[i]; in lgrp_topo_flatten() 1459 lgrp_topo_update(lgrp_t **lgrps, int lgrp_count, klgrpset_t *changed) in lgrp_topo_update() argument 1492 lgrp = lgrps[i]; in lgrp_topo_update() [all …]
|
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/ |
H A D | Lgrp.pod | 74 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])
|
/titanic_44/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, in lgrp_resources() argument 1066 if (lgrps != NULL && nlgrps < count) in lgrp_resources() 1067 lgrps[nlgrps] = i; in lgrp_resources()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | lgrp_user.h | 280 lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type);
|
/titanic_44/usr/src/cmd/ps/ |
H A D | ps.c | 267 static int *lgrps = NULL; /* list of lgroup IDs for for h option */ variable 478 lgrps = Realloc(lgrps, in stdmain() 482 lgrps[nlgrps++] = id; in stdmain() 993 else if (hflg && search((pid_t *)lgrps, nlgrps, info.pr_lwp.pr_lgrp)) in print_proc()
|