Home
last modified time | relevance | path

Searched refs:physmax (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemnode.c95 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 Dstartup.c1048 installed_top_size_ex(bootops->boot_mem->physinstalled, &physmax, in startup_memlist()
1050 PRM_DEBUG(physmax); in startup_memlist()
1225 if (physmax + 1 > mmu_btop(TERABYTE / 4)) { in startup_memlist()
1226 uint64_t physmem_bytes = mmu_ptob(physmax + 1); in startup_memlist()
1787 kpm_size = ROUND_UP_LPAGE(mmu_ptob(physmax + 1)); in layout_kernel_va()
2493 if (btop(addr) > physmax) in kphysm_init()
2506 if ((btop(addr + size) - 1) > physmax) in kphysm_init()
2507 size = ptob(physmax - btop(addr) + 1); in kphysm_init()
2554 num = mem_node_config[ms].physmax - base_pfn in kphysm_init()
2556 ASSERT(end_pfn > mem_node_config[ms].physmax); in kphysm_init()
[all …]
H A Dlgrpplat.c546 if (start > physmax) { in plat_build_mem_nodes()
550 if (end > physmax) in plat_build_mem_nodes()
551 end = physmax; in plat_build_mem_nodes()
1201 if (pfn > physmax) in lgrp_plat_pfn_to_hand()
H A Dddi_impl.c1212 extern pfn_t physmax; in ka_init()
1214 maxphysaddr = mmu_ptob((paddr_t)physmax) + MMU_PAGEOFFSET; in ka_init()
2929 hi_pa = ((uint64_t)physmax + 1ull) << PAGESHIFT; in i_ddi_copybuf_required()
/illumos-gate/usr/src/uts/sun4/os/
H A Dmemnode.c92 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 Dlgrpplat.c168 if (pfn > physmax) in lgrp_plat_pfn_to_hand()
H A Dstartup.c1032 boot_physinstalled_len, &physmax, &physinstalled); in startup_memlist()
1034 PRM_DEBUG(physmax); in startup_memlist()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmpo.c1137 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 …]
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.h64 pfnhi = mem_node_config[mnode].physmax;
166 #define HPM_COUNTERS_LIMITS(mnode, physbase, physmax, first) \ argument
169 (physmax) = mem_node_config[(mnode)].physmax; \
172 mem_node_max_range(&(physbase), &(physmax)); \
459 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - \
490 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - \
H A Dvm_dep.c130 if (pf > physmax) in pf_is_memory()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_dep.h157 #define HPM_COUNTERS_LIMITS(mnode, physbase, physmax, first) \ argument
160 (physmax) = mem_node_config[(mnode)].physmax; \
189 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - _pfn; \
H A Dvm_machdep.c168 ((mtype > 0) ? memranges[mtype - 1] - 1: physmax)
1243 if (hi >= physmax) in page_get_contigpage()
1244 hi = physmax - 1; in page_get_contigpage()
1266 hi = physmax - 1; in page_get_contigpage()
1374 mem_node_config[mnode].physmax >= MEMRANGELO(mri)) { in mnode_range_cnt()
1376 if (mem_node_config[mnode].physmax > MEMRANGEHI(mri)) in mnode_range_cnt()
1415 while (mri >= 0 && mem_node_config[mnode].physmax >= in mnode_range_setup()
1420 mem_node_config[mnode].physmax); in mnode_range_setup()
1427 if (mem_node_config[mnode].physmax > MEMRANGEHI(mri)) in mnode_range_setup()
1472 end = mem_node_config[mnode].physmax; in mnode_range_add()
[all …]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmemnode.h74 pfn_t physmax; /* highest PFN in this memnode */ member
/illumos-gate/usr/src/uts/sun4/sys/
H A Dmemnode.h100 pfn_t physmax; /* highest PFN in this memnode */ member
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmpo.h98 pfn_t physmax; /* last valid page in mnode in mblock */ member
/illumos-gate/usr/src/uts/common/os/
H A Dspace.c94 pfn_t physmax; variable
H A Dmem_config.c172 installed_top_size(phys_install, &physmax, &physinstalled); in kphysm_add_memory_dynamic()
298 if (physmax < (pt_base + tpgs)) in kphysm_add_memory_dynamic()
299 physmax = (pt_base + tpgs); in kphysm_add_memory_dynamic()
595 installed_top_size(phys_install, &physmax, &physinstalled); in kphysm_addmem_error_undospan()
2779 installed_top_size(phys_install, &physmax, &physinstalled); in kphysm_del_cleanup()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Diommu.c88 return (ptoa(physmax + 1)); in vmm_mem_maxaddr()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c547 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()
2499 mem_node_config[tmnode].physmax); in page_freelist_coalesce_all()
H A Dseg_kmem.c597 if (pfn != PFN_INVALID && pfn <= physmax && pf_is_memory(pfn)) in segkmem_xdump_range()
/illumos-gate/usr/src/uts/sun4u/opl/os/
H A Dopl.c663 end = mem_node_config[mnode].physmax; in plat_lgrp_config()
708 end = mem_node_config[tnode].physmax; in plat_lgrp_config()
/illumos-gate/usr/src/uts/common/sys/
H A Dsystm.h81 extern pfn_t physmax; /* highest numbered physical page present */
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_mem_acpi.c127 endpa = _ptob64(physmax + 1); in dr_get_memlist()
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c1205 uint64_t endpa = _ptob64(physmax + 1); in drmach_setup_mc_info()
2604 endpa = _ptob64(physmax + 1); in drmach_mem_add_span()
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_mem.c138 endpa = _ptob64(physmax + 1); in dr_get_memlist()

12