Lines Matching refs:memnode_info

462 static void	lgrp_plat_latency_adjust(memnode_phys_addr_map_t *memnode_info,
466 static int lgrp_plat_latency_verify(memnode_phys_addr_map_t *memnode_info,
477 int node_cnt, memnode_phys_addr_map_t *memnode_info, int memnode_cnt,
482 memnode_phys_addr_map_t *memnode_info);
492 memnode_phys_addr_map_t *memnode_info,
502 memnode_phys_addr_map_t *memnode_info);
515 memnode_phys_addr_map_t *memnode_info);
1681 lgrp_plat_latency_adjust(memnode_phys_addr_map_t *memnode_info, in lgrp_plat_latency_adjust() argument
1702 ASSERT(memnode_info != NULL && lat_stats != NULL && in lgrp_plat_latency_adjust()
1710 if (!memnode_info[i].exists) in lgrp_plat_latency_adjust()
1714 if (!memnode_info[j].exists) in lgrp_plat_latency_adjust()
1767 if (!memnode_info[j].exists) in lgrp_plat_latency_adjust()
1784 if (!memnode_info[l].exists) in lgrp_plat_latency_adjust()
1860 if (!memnode_info[i].exists) in lgrp_plat_latency_adjust()
1874 if (!memnode_info[i].exists) in lgrp_plat_latency_adjust()
1905 if (!memnode_info[j].exists) in lgrp_plat_latency_adjust()
1931 lgrp_plat_latency_verify(memnode_phys_addr_map_t *memnode_info, in lgrp_plat_latency_verify() argument
1939 ASSERT(memnode_info != NULL && lat_stats != NULL); in lgrp_plat_latency_verify()
1954 if (!memnode_info[i].exists) in lgrp_plat_latency_verify()
1957 if (!memnode_info[j].exists) in lgrp_plat_latency_verify()
1974 if (!memnode_info[i].exists) in lgrp_plat_latency_verify()
1996 if (!memnode_info[j].exists) in lgrp_plat_latency_verify()
2210 memnode_phys_addr_map_t *memnode_info, int memnode_cnt, uint64_t start, in lgrp_plat_memnode_info_update() argument
2236 if (memnode_info[mnode].exists && in lgrp_plat_memnode_info_update()
2237 memnode_info[mnode].prox_domain == domain && in lgrp_plat_memnode_info_update()
2238 memnode_info[mnode].device_id == device_id) { in lgrp_plat_memnode_info_update()
2239 if (btop(start) < memnode_info[mnode].start) in lgrp_plat_memnode_info_update()
2240 memnode_info[mnode].start = btop(start); in lgrp_plat_memnode_info_update()
2241 if (btop(end) > memnode_info[mnode].end) in lgrp_plat_memnode_info_update()
2242 memnode_info[mnode].end = btop(end); in lgrp_plat_memnode_info_update()
2251 memnode_info[mnode].start = btop(start); in lgrp_plat_memnode_info_update()
2252 memnode_info[mnode].end = btop(end); in lgrp_plat_memnode_info_update()
2253 memnode_info[mnode].prox_domain = domain; in lgrp_plat_memnode_info_update()
2254 memnode_info[mnode].device_id = device_id; in lgrp_plat_memnode_info_update()
2255 memnode_info[mnode].lgrphand = node; in lgrp_plat_memnode_info_update()
2257 memnode_info[mnode].exists = 1; in lgrp_plat_memnode_info_update()
2266 if (!memnode_info[node].exists) { in lgrp_plat_memnode_info_update()
2267 memnode_info[node].start = btop(start); in lgrp_plat_memnode_info_update()
2268 memnode_info[node].end = btop(end); in lgrp_plat_memnode_info_update()
2269 memnode_info[node].prox_domain = domain; in lgrp_plat_memnode_info_update()
2270 memnode_info[node].device_id = device_id; in lgrp_plat_memnode_info_update()
2271 memnode_info[node].lgrphand = node; in lgrp_plat_memnode_info_update()
2273 memnode_info[node].exists = 1; in lgrp_plat_memnode_info_update()
2283 if (memnode_info[node].prox_domain == domain) { in lgrp_plat_memnode_info_update()
2284 if (btop(start) < memnode_info[node].start) in lgrp_plat_memnode_info_update()
2285 memnode_info[node].start = btop(start); in lgrp_plat_memnode_info_update()
2286 if (btop(end) > memnode_info[node].end) in lgrp_plat_memnode_info_update()
2287 memnode_info[node].end = btop(end); in lgrp_plat_memnode_info_update()
2302 memnode_phys_addr_map_t *memnode_info) in lgrp_plat_node_sort() argument
2312 node_domain == NULL || memnode_info == NULL) in lgrp_plat_node_sort()
2323 if (!memnode_info[i].exists) in lgrp_plat_node_sort()
2331 if (memnode_info[j].exists) { in lgrp_plat_node_sort()
2347 if (memnode_info[i].start > memnode_info[j].start) { in lgrp_plat_node_sort()
2370 if (!memnode_info[i].exists) in lgrp_plat_node_sort()
2378 if (memnode_info[j].exists) { in lgrp_plat_node_sort()
2390 if (memnode_info[i].start > memnode_info[j].start) { in lgrp_plat_node_sort()
2407 bcopy(&memnode_info[i], &save_addr, in lgrp_plat_node_sort()
2409 bcopy(&memnode_info[j], &memnode_info[i], in lgrp_plat_node_sort()
2411 bcopy(&save_addr, &memnode_info[j], in lgrp_plat_node_sort()
2635 memnode_phys_addr_map_t *memnode_info, lgrp_plat_latency_stats_t *lat_stats) in lgrp_plat_process_slit() argument
2688 retval = lgrp_plat_latency_verify(memnode_info, lat_stats); in lgrp_plat_process_slit()
2808 memnode_phys_addr_map_t *memnode_info) in lgrp_plat_process_srat() argument
2890 memnode_info == NULL) in lgrp_plat_process_srat()
2943 node_cnt, memnode_info, node_cnt, in lgrp_plat_process_srat()
2990 memnode_info); in lgrp_plat_process_srat()
3476 memnode_phys_addr_map_t *memnode_info) in opt_get_numa_config() argument
3593 memnode_info[node].exists = 0; in opt_get_numa_config()
3594 memnode_info[node].start = memnode_info[node].end = in opt_get_numa_config()
3603 memnode_info[node].exists = 1; in opt_get_numa_config()
3605 memnode_info[node].start = btop(OPT_DRAMADDR(base_hi, base_lo)); in opt_get_numa_config()
3607 memnode_info[node].end = btop(OPT_DRAMADDR(limit_hi, limit_lo) | in opt_get_numa_config()