Home
last modified time | relevance | path

Searched refs:nlgrps (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/cmd/ptools/plgrp/
H A Dplgrp.c135 int nlgrps; /* number of lgroups */ member
260 if (arg->nlgrps == arg->nelements) { in lgrps_add_lgrp()
281 arg->lgrps[arg->nlgrps] = id; in lgrps_add_lgrp()
282 arg->affs[arg->nlgrps] = LGRP_AFF_INVALID; in lgrps_add_lgrp()
283 arg->nlgrps++; in lgrps_add_lgrp()
489 print_lgrps(lgrp_id_t *lgrps, int nlgrps) in print_lgrps() argument
500 for (i = 1; i < nlgrps; i++) { in print_lgrps()
879 int nlgrps; in do_op() local
897 nlgrps = plgrp_args->nlgrps; in do_op()
920 for (i = 0; i < nlgrps; i++) { in do_op()
[all …]
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp.t122 my $nlgrps = lgrp_nlgrps($c);
123 ok($nlgrps);
127 ok(scalar @lgrps, $nlgrps, 'lgrp_nlgrps() should match number of lgrps');
128 ok($nlgrps, lgrp_lgrps($c), 'lgrp_lgrps() in scalar context is sane');
239 ok($nlgrps, $c->nlgrps, 'nlgrps');
H A DLgrp_api.t80 my $nlgrps = $c->nlgrps;
81 ok($nlgrps, 'lgrp_nlgrps') or
84 my $is_numa = ($nlgrps > 1);
90 is(scalar @lgrps, $nlgrps, 'lgrp_nlgrps() should match number of lgrps');
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dlgrp.c598 int nlgrps; in lgrp_set_walk_init() local
609 if (mdb_readsym(&nlgrps, sizeof (int), "lgrp_alloc_max") == -1) { in lgrp_set_walk_init()
614 if (nlgrps < 0) { in lgrp_set_walk_init()
615 mdb_warn("lgrp_alloc_max of bounds (%d)\n", nlgrps); in lgrp_set_walk_init()
619 nlgrps++; in lgrp_set_walk_init()
622 if ((id = lgrp_set_get_first(set, nlgrps)) == LGRP_NONE) { in lgrp_set_walk_init()
623 mdb_warn("No set elements within %d lgroups\n", nlgrps); in lgrp_set_walk_init()
634 if (sym.st_size < nlgrps * sizeof (lgrp_t *)) { in lgrp_set_walk_init()
640 lwsd->lswd_nlgrps = nlgrps; in lgrp_set_walk_init()
642 if (mdb_readsym(lwsd->lwsd_lgrp_tbl, nlgrps * sizeof (lgrp_t *), in lgrp_set_walk_init()
/titanic_44/usr/src/lib/liblgrp/common/
H A Dlgrp.c1026 int nlgrps; in lgrp_resources() local
1063 nlgrps = 0; in lgrp_resources()
1066 if (lgrps != NULL && nlgrps < count) in lgrp_resources()
1067 lgrps[nlgrps] = i; in lgrp_resources()
1068 nlgrps++; in lgrp_resources()
1071 return (nlgrps); in lgrp_resources()
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm207 sub nlgrps subroutine
/titanic_44/usr/src/uts/common/os/
H A Dlgrp.c97 int nlgrps; /* number of lgroups in machine */ variable
286 if (nlgrps > 2) in lgrp_optimizations()
305 ASSERT(nlgrps == 0); in lgrp_root_init()
306 id = nlgrps++; in lgrp_root_init()
858 lgrpid = nlgrps++; in lgrp_create()
868 nlgrps++; in lgrp_create()
888 if (nlgrps > nlgrpsmax || my_lgrp == NULL) in lgrp_create()
889 panic("Too many lgrps for platform (%d)", nlgrps); in lgrp_create()
925 if (nlgrps == 1) in lgrp_destroy()
959 nlgrps--; in lgrp_destroy()
[all …]
H A Dlgrp_topo.c1474 if (nlgrps == 1) { in lgrp_topo_update()
H A Dmem_config.c562 if (nlgrps == 1) in kphysm_add_memory_dynamic()
2803 if (nlgrps == 1) in kphysm_del_cleanup()
/titanic_44/usr/src/uts/common/sys/
H A Dlgrp.h523 extern int nlgrps; /* number of lgroups in machine */
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/
H A DLgrp.pod59 my $nlgrps = lgrp_nlgrps($cookie);
60 $nlgrps = $l->nlgrps();
550 =item nlgrps()
/titanic_44/usr/src/cmd/ps/
H A Dps.c269 static size_t nlgrps = 0; /* number elements in the list */ variable
473 if (nlgrps == lgrps_size) { 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()
/titanic_44/usr/src/uts/common/syscall/
H A Dlgrpsys.c1299 snap_nlgrps = nlgrps; in lgrp_snapshot()
/titanic_44/usr/src/uts/common/vm/
H A Dvm_page.c2012 if (lpg_alloc_prefer == LPAP_LOCAL && nlgrps > 1) { in page_alloc_pages()