/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 133 int nlgrps; /* number of lgroups */ member 258 if (arg->nlgrps == arg->nelements) { in lgrps_add_lgrp() 279 arg->lgrps[arg->nlgrps] = id; in lgrps_add_lgrp() 280 arg->affs[arg->nlgrps] = LGRP_AFF_INVALID; in lgrps_add_lgrp() 281 arg->nlgrps++; in lgrps_add_lgrp() 487 print_lgrps(lgrp_id_t *lgrps, int nlgrps) in print_lgrps() argument 498 for (i = 1; i < nlgrps; i++) { in print_lgrps() 877 int nlgrps; in do_op() local 895 nlgrps = plgrp_args->nlgrps; in do_op() 918 for (i = 0; i < nlgrps; i++) { in do_op() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp.t | 122 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 D | Lgrp_api.t | 80 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');
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | lgrp.c | 596 int nlgrps; in lgrp_set_walk_init() local 607 if (mdb_readsym(&nlgrps, sizeof (int), "lgrp_alloc_max") == -1) { in lgrp_set_walk_init() 612 if (nlgrps < 0) { in lgrp_set_walk_init() 613 mdb_warn("lgrp_alloc_max of bounds (%d)\n", nlgrps); in lgrp_set_walk_init() 617 nlgrps++; in lgrp_set_walk_init() 620 if ((id = lgrp_set_get_first(set, nlgrps)) == LGRP_NONE) { in lgrp_set_walk_init() 621 mdb_warn("No set elements within %d lgroups\n", nlgrps); in lgrp_set_walk_init() 632 if (sym.st_size < nlgrps * sizeof (lgrp_t *)) { in lgrp_set_walk_init() 638 lwsd->lswd_nlgrps = nlgrps; in lgrp_set_walk_init() 640 if (mdb_readsym(lwsd->lwsd_lgrp_tbl, nlgrps * sizeof (lgrp_t *), in lgrp_set_walk_init()
|
/illumos-gate/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 1023 int nlgrps; in lgrp_resources() local 1060 nlgrps = 0; in lgrp_resources() 1063 if (lgrps != NULL && nlgrps < count) in lgrp_resources() 1064 lgrps[nlgrps] = i; in lgrp_resources() 1065 nlgrps++; in lgrp_resources() 1068 return (nlgrps); in lgrp_resources()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | lgrp.c | 99 int nlgrps; /* number of lgroups in machine */ variable 288 if (nlgrps > 2) in lgrp_optimizations() 307 ASSERT(nlgrps == 0); in lgrp_root_init() 308 id = nlgrps++; in lgrp_root_init() 863 lgrpid = nlgrps++; in lgrp_create() 873 nlgrps++; in lgrp_create() 893 if (nlgrps > nlgrpsmax || my_lgrp == NULL) in lgrp_create() 894 panic("Too many lgrps for platform (%d)", nlgrps); in lgrp_create() 930 if (nlgrps == 1) in lgrp_destroy() 964 nlgrps--; in lgrp_destroy() [all …]
|
H A D | lgrp_topo.c | 1474 if (nlgrps == 1) { in lgrp_topo_update()
|
H A D | mem_config.c | 563 if (nlgrps == 1) in kphysm_add_memory_dynamic() 2804 if (nlgrps == 1) in kphysm_del_cleanup()
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.pm | 207 sub nlgrps subroutine
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/ |
H A D | Lgrp.pod | 57 my $nlgrps = lgrp_nlgrps($cookie); 58 $nlgrps = $l->nlgrps(); 548 =item nlgrps()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lgrp.h | 525 extern int nlgrps; /* number of lgroups in machine */
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 271 static size_t nlgrps = 0; /* number elements in the list */ variable 475 if (nlgrps == lgrps_size) { 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()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lgrpsys.c | 1318 snap_nlgrps = nlgrps; in lgrp_snapshot()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_page.c | 2022 if (lpg_alloc_prefer == LPAP_LOCAL && nlgrps > 1) { in page_alloc_pages()
|