Searched refs:mem_node_config (Results 1 – 14 of 14) sorted by relevance
36 struct mem_node_conf mem_node_config[MAX_MEM_NODES]; variable86 if (atomic_cas_32((uint32_t *)&mem_node_config[mnode].exists, 0, 1)) { in mem_node_add_slice()90 if (start < mem_node_config[mnode].physbase) in mem_node_add_slice()91 mem_node_config[mnode].physbase = start; in mem_node_add_slice()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()95 mem_node_config[mnode].physbase = start; in mem_node_add_slice()96 mem_node_config[mnode].physmax = end; in mem_node_add_slice()131 ASSERT(mem_node_config[mnode].exists == 1); in mem_node_del_slice()134 node_size = mem_node_config[mnode].physmax - in mem_node_del_slice()[all …]
212 if (mnode >= 0 && mem_node_config[mnode].exists) { in lgrp_plat_mem_size()
1909 if (mem_node_config[mnode].exists) in startup_vm()
38 struct mem_node_conf mem_node_config[MAX_MEM_NODES]; variable89 if (atomic_cas_32((uint32_t *)&mem_node_config[mnode].exists, 0, 1)) { in mem_node_add_slice()93 if (start < mem_node_config[mnode].physbase) in mem_node_add_slice()94 mem_node_config[mnode].physbase = start; in mem_node_add_slice()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()98 mem_node_config[mnode].physbase = start; in mem_node_add_slice()99 mem_node_config[mnode].physmax = end; in mem_node_add_slice()135 ASSERT(mem_node_config[mnode].exists == 1); in mem_node_del_slice()138 node_size = mem_node_config[mnode].physmax - in mem_node_del_slice()[all …]
2554 num = mem_node_config[ms].physmax - base_pfn in kphysm_init()2556 ASSERT(end_pfn > mem_node_config[ms].physmax); in kphysm_init()2602 base_pfn = mem_node_config[ms].physbase; in kphysm_init()2605 num = MIN(mem_node_config[ms].physmax, in kphysm_init()2608 num = mem_node_config[ms].physmax - in kphysm_init()
1133 if (mem_node_config[_n].exists) { \2091 if (!mem_node_config[mnode].exists) { in lgrp_plat_main_init()2111 mem_node_config[mnode].physbase; in lgrp_plat_main_init()
661 if (mem_node_config[mnode].exists) { in plat_lgrp_config()662 start = mem_node_config[mnode].physbase; in plat_lgrp_config()663 end = mem_node_config[mnode].physmax; in plat_lgrp_config()706 if (tnode != -1 && mem_node_config[tnode].exists) { in plat_lgrp_config()707 start = mem_node_config[tnode].physbase; in plat_lgrp_config()708 end = mem_node_config[tnode].physmax; in plat_lgrp_config()
1136 it->mi_mblock_base = mem_node_config[mnode].physbase; in plat_mem_node_iterator_init()1137 it->mi_mblock_end = mem_node_config[mnode].physmax; in plat_mem_node_iterator_init()1219 if (!mem_node_config[mnode].exists || test_len == 0) in plat_mem_node_intersect_range()1222 base = mem_node_config[mnode].physbase; in plat_mem_node_intersect_range()1223 end = mem_node_config[mnode].physmax; in plat_mem_node_intersect_range()1954 if (!mem_node_config[i].exists) in mnode_update()1956 if (ubase >= mem_node_config[i].physbase && in mnode_update()1957 ubase <= mem_node_config[i].physmax) in mnode_update()1959 if (uend >= mem_node_config[i].physbase && in mnode_update()1960 uend <= mem_node_config[i].physmax) in mnode_update()
63 pfnlo = mem_node_config[mnode].physbase; \64 pfnhi = mem_node_config[mnode].physmax;168 (physbase) = mem_node_config[(mnode)].physbase; \169 (physmax) = mem_node_config[(mnode)].physmax; \459 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - \490 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - \
100 #define MNODE_MAX_MRANGE(mnode) memrange_num(mem_node_config[mnode].physbase)159 (physbase) = mem_node_config[(mnode)].physbase; \160 (physmax) = mem_node_config[(mnode)].physmax; \189 _np = MIN(_endpfn, mem_node_config[_mn].physmax + 1) - _pfn; \
1361 if (mem_node_config[mnode].exists != 0) { in mnode_range_cnt()1366 while (MEMRANGEHI(mri) < mem_node_config[mnode].physbase) in mnode_range_cnt()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()1409 if (mem_node_config[mnode].exists == 0) in mnode_range_setup()1412 while (MEMRANGEHI(mri) < mem_node_config[mnode].physbase) in mnode_range_setup()1415 while (mri >= 0 && mem_node_config[mnode].physmax >= in mnode_range_setup()1418 mem_node_config[mnode].physbase); 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()[all …]
89 extern struct mem_node_conf mem_node_config[];
119 extern struct mem_node_conf mem_node_config[];
567 if (mem_node_config[mnode].exists == 0) in page_ctrs_sz()612 if (mem_node_config[mnode].exists == 0) in page_ctrs_sz()674 if (mem_node_config[mnode].exists == 0) in page_ctrs_alloc()711 if (mem_node_config[mnode].exists == 0) in page_ctrs_alloc()1125 (mem_node_config[i].exists == 0)) in page_ctrs_adjust()1156 if (mem_node_config[m].exists == 0) in page_ctrs_adjust()1300 if (mem_node_config[i].exists) { in page_ctrs_cleanup()2497 mem_node_config[tmnode].physbase && in page_freelist_coalesce_all()2499 mem_node_config[tmnode].physmax); in page_freelist_coalesce_all()4248 (mem_node_config[mnode].exists == 0)) in page_get_replacement_page()[all …]