Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.xs101 lgrp_id_t *lgrps; \
115 nr = lgrp_resources(c, lgrp, lgrps, nr, type); \
116 PUSHARRAY(lgrps, nr); \
117 Safefree(lgrps); \
308 lgrp_id_t *lgrps;
319 if (New(0, lgrps, count, lgrp_id_t) == NULL) {
324 PUSHARRAY(lgrps, count);
325 Safefree(lgrps);
337 lgrp_id_t *lgrps;
353 PUSHARRAY(lgrps, count);
[all …]
H A DLgrp.pm213 sub lgrps subroutine
/illumos-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');
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 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);
/illumos-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);
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;
647 foreach my $l2 (@lgrps) {
[all …]
/illumos-gate/usr/src/cmd/ptools/plgrp/
H A Dplgrp.c261 arg->lgrps = realloc(arg->lgrps, in lgrps_add_lgrp()
263 if (arg->lgrps == NULL) { in lgrps_add_lgrp()
279 arg->lgrps[arg->nlgrps] = id; in lgrps_add_lgrp()
496 start = end = lgrps[0]; in print_lgrps()
501 lgrpid = lgrps[i]; in print_lgrps()
575 lgrp_id_t lgrpid = lgrps[i]; in print_affinities()
875 lgrp_id_t *lgrps; in do_op() local
893 lgrps = plgrp_args->lgrps; in do_op()
920 lgrps[i]); in do_op()
1052 lgrpid = lgrps[i]; in do_op()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dlgrp_topo.c1124 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()
1272 (void *)leaf, leaf->lgrp_id, (void *)lgrps, lgrp_count, in lgrp_leaf_delete()
1280 lgrp = lgrps[i]; in lgrp_leaf_delete()
1362 lgrp = lgrps[i]; in lgrp_topo_flatten()
1492 lgrp = lgrps[i]; in lgrp_topo_update()
1510 count += lgrp_leaf_add(lgrp, lgrps, lgrp_count, &changes); in lgrp_topo_update()
1526 count += lgrp_topo_flatten(2, lgrps, lgrp_count, changed); in lgrp_topo_update()
1569 lgrp_topo_print(lgrp_t **lgrps, int lgrp_max) in lgrp_topo_print() argument
[all …]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/
H A DLgrp.pod72 my @lgrps = lgrp_lgrps($cookie);
73 @lgrps = l->lgrps();
75 @lgrps = lgrp_lgrps($cookie, $lgrp);
76 @lgrps = l->lgrps($lgrp);
102 my @lgrps = lgrp_resources($cookie, $lgrp, LGRP_RSRC_CPU);
583 =item lgrps([$lgrp])
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c1018 lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrps, in lgrp_resources() argument
1063 if (lgrps != NULL && nlgrps < count) in lgrp_resources()
1064 lgrps[nlgrps] = i; in lgrp_resources()
/illumos-gate/usr/src/uts/common/sys/
H A Dlgrp_user.h281 lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type);
/illumos-gate/usr/src/cmd/ps/
H A Dps.c269 static int *lgrps = NULL; /* list of lgroup IDs for for h option */ variable
480 lgrps = Realloc(lgrps, in stdmain()
484 lgrps[nlgrps++] = id; in stdmain()
995 else if (hflg && search((pid_t *)lgrps, nlgrps, info.pr_lwp.pr_lgrp)) in print_proc()