/titanic_44/usr/src/uts/i86pc/os/ |
H A D | memnode.c | 95 if (end > mem_node_config[mnode].physmax) in mem_node_add_slice() 96 mem_node_config[mnode].physmax = end; in mem_node_add_slice() 99 mem_node_config[mnode].physmax = end; in mem_node_add_slice() 138 node_size = mem_node_config[mnode].physmax - in mem_node_del_slice() 147 ASSERT(end <= mem_node_config[mnode].physmax); in mem_node_del_slice() 148 if (end == mem_node_config[mnode].physmax) in mem_node_del_slice() 149 mem_node_config[mnode].physmax = start - 1; in mem_node_del_slice() 205 if (start > physmax) in startup_build_mem_nodes() 209 if (end > physmax) in startup_build_mem_nodes() 210 end = physmax; in startup_build_mem_nodes() [all …]
|
H A D | startup.c | 994 installed_top_size_ex(bootops->boot_mem->physinstalled, &physmax, in startup_memlist() 996 PRM_DEBUG(physmax); in startup_memlist() 1046 if (PFN_ABOVE64G(physmax)) { in startup_memlist() 1047 physinstalled -= (physmax - (PFN_64G - 1)); in startup_memlist() 1048 physmax = PFN_64G - 1; in startup_memlist() 1051 if (PFN_ABOVE4G(physmax)) { in startup_memlist() 1052 physinstalled -= (physmax - (PFN_4G - 1)); in startup_memlist() 1053 physmax = PFN_4G - 1; in startup_memlist() 1187 if (physmax + 1 > mmu_btop(TERABYTE) || in startup_memlist() 1189 uint64_t kpm_resv_amount = mmu_ptob(physmax + 1); in startup_memlist() [all …]
|
H A D | lgrpplat.c | 545 if (start > physmax) { in plat_build_mem_nodes() 549 if (end > physmax) in plat_build_mem_nodes() 550 end = physmax; in plat_build_mem_nodes() 1199 if (pfn > physmax) in lgrp_plat_pfn_to_hand()
|
H A D | ddi_impl.c | 1225 extern pfn_t physmax; in ka_init() 1227 maxphysaddr = mmu_ptob((paddr_t)physmax) + MMU_PAGEOFFSET; in ka_init() 2836 hi_pa = ((uint64_t)physmax + 1ull) << PAGESHIFT; in i_ddi_copybuf_required()
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | memnode.c | 92 if (end > mem_node_config[mnode].physmax) in mem_node_add_slice() 93 mem_node_config[mnode].physmax = end; in mem_node_add_slice() 96 mem_node_config[mnode].physmax = end; in mem_node_add_slice() 134 node_size = mem_node_config[mnode].physmax - in mem_node_del_slice() 143 ASSERT(end <= mem_node_config[mnode].physmax); in mem_node_del_slice() 144 if (end == mem_node_config[mnode].physmax) in mem_node_del_slice() 145 mem_node_config[mnode].physmax = start - 1; in mem_node_del_slice() 232 mem_node_config[mnode].physmax = 0; in mem_node_alloc() 271 end = mem_node_config[mnode].physmax; in mem_node_memlist_pages() 310 if (max < mem_node_config[mnode].physmax) in mem_node_max_range() [all …]
|
H A D | lgrpplat.c | 168 if (pfn > physmax) in lgrp_plat_pfn_to_hand()
|
H A D | startup.c | 1036 boot_physinstalled_len, &physmax, &physinstalled); in startup_memlist() 1038 PRM_DEBUG(physmax); in startup_memlist()
|
/titanic_44/usr/src/uts/sun4v/os/ |
H A D | mpo.c | 1137 it->mi_mblock_end = mem_node_config[mnode].physmax; in plat_mem_node_iterator_init() 1152 mem_stripes[i * max_locality_groups + mnode].physmax); in plat_mem_node_iterator_init() 1169 if (ms->exists && (pfn + szcpgcnt - 1) <= ms->physmax && in plat_mem_node_iterator_init() 1171 ms->physmax) in plat_mem_node_iterator_init() 1184 end = ms->physmax; in plat_mem_node_iterator_init() 1223 end = mem_node_config[mnode].physmax; in plat_mem_node_intersect_range() 1254 test_base <= (end = ms->physmax) && in plat_mem_node_intersect_range() 1799 mc->mc_stripes[i].physmax = mblock[i].end_pfn; in mstripe_update() 1855 ms->physmax = btop(end - 1 - remove); in mstripe_update() 1915 end = ms->physmax; in mnode_update() [all …]
|
/titanic_44/usr/src/uts/sun4/vm/ |
H A D | vm_dep.h | 63 pfnhi = mem_node_config[mnode].physmax; 165 #define HPM_COUNTERS_LIMITS(mnode, physbase, physmax, first) \ argument 168 (physmax) = mem_node_config[(mnode)].physmax; \ 171 mem_node_max_range(&(physbase), &(physmax)); \ 458 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - \ 488 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - \
|
H A D | vm_dep.c | 127 if (pf > physmax) in pf_is_memory()
|
/titanic_44/usr/src/uts/i86pc/vm/ |
H A D | vm_dep.h | 155 #define HPM_COUNTERS_LIMITS(mnode, physbase, physmax, first) \ argument 158 (physmax) = mem_node_config[(mnode)].physmax; \ 186 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - _pfn; \
|
H A D | vm_machdep.c | 165 ((mtype > 0) ? memranges[mtype - 1] - 1: physmax) 1121 if (hi >= physmax) in page_get_contigpage() 1122 hi = physmax - 1; in page_get_contigpage() 1144 hi = physmax - 1; in page_get_contigpage() 1252 mem_node_config[mnode].physmax >= MEMRANGELO(mri)) { in mnode_range_cnt() 1254 if (mem_node_config[mnode].physmax > MEMRANGEHI(mri)) in mnode_range_cnt() 1287 while (mri >= 0 && mem_node_config[mnode].physmax >= in mnode_range_setup() 1292 mem_node_config[mnode].physmax); in mnode_range_setup() 1298 if (mem_node_config[mnode].physmax > MEMRANGEHI(mri)) in mnode_range_setup() 1350 end = mem_node_config[mnode].physmax; in mnode_range_add() [all …]
|
/titanic_44/usr/src/uts/i86pc/sys/ |
H A D | memnode.h | 74 pfn_t physmax; /* highest PFN in this memnode */ member
|
/titanic_44/usr/src/uts/sun4/sys/ |
H A D | memnode.h | 100 pfn_t physmax; /* highest PFN in this memnode */ member
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | mpo.h | 98 pfn_t physmax; /* last valid page in mnode in mblock */ member
|
/titanic_44/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 547 pfn_t physmax; in page_ctrs_sz() local 570 HPM_COUNTERS_LIMITS(mnode, physbase, physmax, firstmn); in page_ctrs_sz() 591 r_pgcnt = howmany(physmax - r_base + 1, r_align); in page_ctrs_sz() 647 pfn_t physmax; in page_ctrs_alloc() local 714 HPM_COUNTERS_LIMITS(mnode, physbase, physmax, firstmn); in page_ctrs_alloc() 726 r_pgcnt = howmany(physmax - r_base + 1, r_align); in page_ctrs_alloc() 948 pfn_t physbase, physmax; in page_ctrs_adjust() local 970 HPM_COUNTERS_LIMITS(mnode, physbase, physmax, i); in page_ctrs_adjust() 973 npgs = roundup(physmax, PC_BASE_ALIGN) - newbase; in page_ctrs_adjust() 2545 mem_node_config[tmnode].physmax); in page_freelist_coalesce_all()
|
H A D | seg_kmem.c | 589 if (pfn != PFN_INVALID && pfn <= physmax && pf_is_memory(pfn)) in segkmem_xdump_range()
|
/titanic_44/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 660 end = mem_node_config[mnode].physmax; in plat_lgrp_config() 705 end = mem_node_config[tnode].physmax; in plat_lgrp_config()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | space.c | 93 pfn_t physmax; variable
|
H A D | mem_config.c | 171 installed_top_size(phys_install, &physmax, &physinstalled); in kphysm_add_memory_dynamic() 297 if (physmax < (pt_base + tpgs)) in kphysm_add_memory_dynamic() 298 physmax = (pt_base + tpgs); in kphysm_add_memory_dynamic() 594 installed_top_size(phys_install, &physmax, &physinstalled); in kphysm_addmem_error_undospan() 2778 installed_top_size(phys_install, &physmax, &physinstalled); in kphysm_del_cleanup()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | systm.h | 75 extern pfn_t physmax; /* highest numbered physical page present */
|
/titanic_44/usr/src/uts/i86pc/io/dr/ |
H A D | dr_mem_acpi.c | 127 endpa = _ptob64(physmax + 1); in dr_get_memlist()
|
/titanic_44/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1203 uint64_t endpa = _ptob64(physmax + 1); in drmach_setup_mc_info() 2602 endpa = _ptob64(physmax + 1); in drmach_mem_add_span()
|
/titanic_44/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_mem.c | 134 endpa = _ptob64(physmax + 1); in dr_get_memlist()
|
/titanic_44/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 157 endpa = _ptob64(physmax + 1); in dr_get_memlist()
|