/titanic_50/usr/src/uts/sun4/os/ |
H A D | lgrpplat.c | 116 max_mem_nodes = 1; in lgrp_plat_init() 121 max_mem_nodes = MAX_MEM_NODES; in lgrp_plat_init() 135 if (max_mem_nodes == 1) in lgrp_plat_config() 165 if (lgrp_topo_ht_limit() == 1 || max_mem_nodes == 1) in lgrp_plat_pfn_to_hand() 206 if (lgrp_topo_ht_limit() == 1 || max_mem_nodes == 1 || mpo_disabled || in lgrp_plat_mem_size() 306 if (lgrp_topo_ht_limit() == 1 || mpo_disabled || max_mem_nodes == 1) in plat_lgrphand_to_mem_node() 314 ASSERT((int)plathand >= 0 && (int)plathand < max_mem_nodes); in plat_lgrphand_to_mem_node() 323 if (lgrp_topo_ht_limit() == 1 || mpo_disabled || max_mem_nodes == 1) in plat_mem_node_to_lgrphand() 326 ASSERT(mnode >= 0 && mnode < max_mem_nodes); in plat_mem_node_to_lgrphand() 333 if (lgrp_topo_ht_limit() == 1 || mpo_disabled || max_mem_nodes == 1) in plat_assign_lgrphand_to_mem_node() [all …]
|
H A D | memnode.c | 34 int max_mem_nodes = 1; /* max memory nodes on this system */ variable 84 ASSERT(mnode < max_mem_nodes); in mem_node_add_slice() 130 ASSERT(mnode < max_mem_nodes); in mem_node_del_slice() 194 ASSERT(NBBY * sizeof (mnodeset_t) >= max_mem_nodes); in startup_build_mem_nodes() 223 for (mnode = 0; mnode < max_mem_nodes; mnode++) in mem_node_alloc() 228 if (mnode >= max_mem_nodes) in mem_node_alloc() 307 for (mnode = 0; mnode < max_mem_nodes; mnode++) { in mem_node_max_range()
|
H A D | startup.c | 1934 for (mnode = 0; mnode < max_mem_nodes; mnode++) in startup_vm()
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | memnode.c | 36 int max_mem_nodes = 1; variable 87 ASSERT(mnode >= 0 && mnode < max_mem_nodes); in mem_node_add_slice() 134 ASSERT(mnode >= 0 && mnode < max_mem_nodes); in mem_node_del_slice() 195 ASSERT(NBBY * sizeof (mnodeset_t) >= max_mem_nodes); in startup_build_mem_nodes() 232 for (mnode = 0; mnode < max_mem_nodes; mnode++) in mem_node_alloc() 237 if (mnode >= max_mem_nodes) in mem_node_alloc()
|
H A D | lgrpplat.c | 555 if (max_mem_nodes == 1) { in plat_build_mem_nodes() 696 if (max_mem_nodes == 1) in plat_mem_node_to_lgrphand() 709 if (max_mem_nodes == 1) in plat_pfn_to_mem_node() 919 lgrp_plat_node_cnt, lgrp_plat_memnode_info, max_mem_nodes, in lgrp_plat_config() 977 lgrp_plat_node_cnt = max_mem_nodes = 1; in lgrp_plat_init() 1008 lgrp_plat_node_cnt = max_mem_nodes = 1; in lgrp_plat_init() 1021 max_mem_nodes = MAX_MEM_NODES_PER_LGROUP * in lgrp_plat_init() 1023 ASSERT(max_mem_nodes <= MAX_MEM_NODES); in lgrp_plat_init() 1058 if (max_mem_nodes == 1) in lgrp_plat_latency() 1196 if (max_mem_nodes == 1) in lgrp_plat_pfn_to_hand() [all …]
|
/titanic_50/usr/src/uts/i86pc/sys/ |
H A D | memnode.h | 50 ((max_mem_nodes > 1) ? plat_pfn_to_mem_node(pfn) : 0) 53 ((max_mem_nodes > 1) ? plat_mem_node_to_lgrphand(mnode) : \ 92 extern int max_mem_nodes;
|
/titanic_50/usr/src/uts/sun4/sys/ |
H A D | memnode.h | 72 ((max_mem_nodes > 1) ? plat_pfn_to_mem_node(pfn) : 0) 75 ((max_mem_nodes > 1) ? plat_mem_node_to_lgrphand(mnode) : \ 122 extern int max_mem_nodes;
|
/titanic_50/usr/src/uts/sun4u/schumacher/os/ |
H A D | schumacher.c | 273 max_mem_nodes = 1; in plat_lgrp_init() 275 max_mem_nodes = max_portid + 1; in plat_lgrp_init() 330 ASSERT(max_mem_nodes > 1); in plat_pfn_to_mem_node() 349 if (portid < max_mem_nodes) in plat_fill_mc()
|
/titanic_50/usr/src/uts/sun4u/enchilada/os/ |
H A D | enchilada.c | 290 max_mem_nodes = 1; in plat_lgrp_init() 292 max_mem_nodes = max_portid + 1; in plat_lgrp_init() 347 ASSERT(max_mem_nodes > 1); in plat_pfn_to_mem_node() 366 if (portid < max_mem_nodes) in plat_fill_mc()
|
/titanic_50/usr/src/uts/sun4u/chicago/os/ |
H A D | chicago.c | 242 max_mem_nodes = 1; in plat_lgrp_init() 244 max_mem_nodes = max_portid + 1; in plat_lgrp_init() 299 ASSERT(max_mem_nodes > 1); in plat_pfn_to_mem_node() 318 if (portid < max_mem_nodes) in plat_fill_mc()
|
/titanic_50/usr/src/uts/sun4/vm/ |
H A D | vm_dep.c | 784 cache_sz *= max_mem_nodes * MAX_MEM_TYPES; in calc_free_pagelist_sz() 792 free_sz *= max_mem_nodes * MAX_MEM_TYPES; in calc_free_pagelist_sz() 809 alloc_base += (max_mem_nodes * sizeof (page_t **)); in alloc_page_freelists() 810 for (mnode = 0; mnode < max_mem_nodes; mnode++) { in alloc_page_freelists() 825 alloc_base += (max_mem_nodes * sizeof (page_t **)); in alloc_page_freelists() 826 for (mnode = 0; mnode < max_mem_nodes; mnode++) { in alloc_page_freelists() 861 alloc_sz = 2 * NPC_MUTEX * max_mem_nodes * sizeof (kmutex_t); in ndata_alloc_page_mutexs() 871 alloc_base += (sizeof (kmutex_t) * max_mem_nodes); in ndata_alloc_page_mutexs() 873 alloc_base += (sizeof (kmutex_t) * max_mem_nodes); in ndata_alloc_page_mutexs()
|
H A D | vm_dep.h | 182 for (_i = 0; _i < max_mem_nodes; _i++) { \ 194 for (_i = 0; _i < max_mem_nodes; _i++) { \ 358 ctrs_sz += (max_mem_nodes * MAX_MEM_TYPES * \ 367 for (mn = 0; mn < max_mem_nodes; mn++) { \ 446 for (_mn = 0; _mn < max_mem_nodes; _mn++) { \ 476 for (_mn = 0; _mn < max_mem_nodes; _mn++) { \
|
/titanic_50/usr/src/uts/sun4u/boston/os/ |
H A D | boston.c | 484 max_mem_nodes = 1; in plat_lgrp_init() 486 max_mem_nodes = max_portid + 1; in plat_lgrp_init() 541 ASSERT(max_mem_nodes > 1); in plat_pfn_to_mem_node() 560 if (portid < max_mem_nodes) in plat_fill_mc()
|
/titanic_50/usr/src/uts/sun4u/seattle/os/ |
H A D | seattle.c | 486 max_mem_nodes = 1; in plat_lgrp_init() 488 max_mem_nodes = max_portid + 1; in plat_lgrp_init() 543 ASSERT(max_mem_nodes > 1); in plat_pfn_to_mem_node() 562 if (portid < max_mem_nodes) in plat_fill_mc()
|
/titanic_50/usr/src/uts/sun4v/os/ |
H A D | mpo.c | 933 max_mem_nodes = max_locality_groups; in plat_build_mem_nodes() 956 if (max_mem_nodes > 1) { in plat_build_mem_nodes() 1019 ASSERT(mnode < max_mem_nodes); in plat_pfn_to_mem_node() 1113 ASSERT(mnode >= 0 && mnode < max_mem_nodes); in plat_mem_node_iterator_init() 1789 ASSERT(max_locality_groups == 1 && max_mem_nodes == 1); in mstripe_update() 1835 ASSERT(mnode < max_mem_nodes); in mstripe_update() 1953 for (i = 0; i < max_mem_nodes; i++) { in mnode_update()
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 561 for (firstmn = -1, mnode = 0; mnode < max_mem_nodes; mnode++) { in page_ctrs_sz() 603 ctrs_sz += (max_mem_nodes * sizeof (hw_page_map_t)); in page_ctrs_sz() 607 ctrs_sz += sizeof (pcc_info_t *) * max_mem_nodes * in page_ctrs_sz() 610 for (mnode = 0; mnode < max_mem_nodes; mnode++) { in page_ctrs_sz() 625 ctrs_sz += (max_mem_nodes * NPC_MUTEX * sizeof (kmutex_t)); in page_ctrs_sz() 635 return (ctrs_sz + max_mem_nodes * L2CACHE_ALIGN); in page_ctrs_sz() 661 alloc_base += (max_mem_nodes * sizeof (hw_page_map_t)); in page_ctrs_alloc() 669 alloc_base += sizeof (pcc_info_t *) * max_mem_nodes; in page_ctrs_alloc() 671 for (mnode = 0; mnode < max_mem_nodes; mnode++) { in page_ctrs_alloc() 697 alloc_base += (max_mem_nodes * sizeof (kmutex_t)); in page_ctrs_alloc() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 328 int max_mem_nodes; in leaky_kludge() local 351 if (mdb_readvar(&max_mem_nodes, "max_mem_nodes") == -1) { in leaky_kludge() 375 leaky_grep(addr, hwpm_size * max_mem_nodes); in leaky_kludge()
|
/titanic_50/usr/src/uts/sun4v/cpu/ |
H A D | niagara2.c | 689 for (i = 0; i < max_mem_nodes; i++) { in page_coloring_init_cpu() 694 ASSERT(i < max_mem_nodes); in page_coloring_init_cpu()
|
/titanic_50/usr/src/uts/i86pc/vm/ |
H A D | vm_machdep.c | 1278 for (mnode = 0; mnode < max_mem_nodes; mnode++) { in mnode_range_setup() 1347 ASSERT(0 <= mnode && mnode < max_mem_nodes); in mnode_range_add() 1422 ASSERT(0 <= mnode && mnode < max_mem_nodes); in mnode_range_del() 1798 for (mnoderangecnt = 0, i = 0; i < max_mem_nodes; i++) in page_coloring_init() 1808 mnoderangecnt += 2 + max_mem_nodes - lgrp_plat_node_cnt; in page_coloring_init() 1813 colorsz += (2 * max_mem_nodes * sizeof (kmutex_t) * NPC_MUTEX); in page_coloring_init() 1859 addr += (max_mem_nodes * sizeof (kmutex_t)); in page_coloring_setup() 1863 addr += (max_mem_nodes * sizeof (kmutex_t)); in page_coloring_setup()
|
/titanic_50/usr/src/uts/sun4u/starcat/os/ |
H A D | starcat.c | 418 if (sliceid < max_mem_nodes) { in plat_fill_mc()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | lgrp.c | 4397 extern int max_mem_nodes; in lgrp_memnode_choose() 4427 for (mnode = 0; mnode < max_mem_nodes; mnode++) in lgrp_memnode_choose() 4431 } while (mnode >= max_mem_nodes); in lgrp_memnode_choose()
|
/titanic_50/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 2643 if (max_mem_nodes == 1) in drmach_mem_update_lgrp()
|