Lines Matching defs:cpu_node
451 int node_cnt, cpu_node_map_t *cpu_node, int nentries, uint32_t apicid,
454 static int lgrp_plat_cpu_to_node(cpu_t *cp, cpu_node_map_t *cpu_node,
481 int node_cnt, cpu_node_map_t *cpu_node, int cpu_count,
484 static hrtime_t lgrp_plat_probe_time(int to, cpu_node_map_t *cpu_node,
488 static int lgrp_plat_process_cpu_apicids(cpu_node_map_t *cpu_node);
501 cpu_node_map_t *cpu_node, int cpu_count,
813 "!lgrp: CPU(%d) already exists in cpu_node map.",
874 "!lgrp: CPU(%d) doesn't exist in cpu_node map.",
1356 cpu_node_map_t *cpu_node, int nentries, uint32_t apicid, uint32_t domain)
1380 if (!cpu_node[i].exists || cpu_node[i].apicid != apicid)
1387 if (cpu_node[i].prox_domain == domain &&
1388 cpu_node[i].node == node)
1395 if (cpu_node[i].node != UINT_MAX)
1401 cpu_node[i].prox_domain = domain;
1402 cpu_node[i].node = node;
1408 * It's possible that an apicid doesn't exist in the cpu_node map due
1420 lgrp_plat_cpu_to_node(cpu_t *cp, cpu_node_map_t *cpu_node,
1447 if (cpuid >= cpu_node_nentries || !cpu_node[cpuid].exists)
1450 return (cpu_node[cpuid].node);
2301 cpu_node_map_t *cpu_node, int cpu_count,
2422 if (n == node_cnt - 1 || cpu_node == NULL || cpu_count < 1)
2428 cpu_node[i].prox_domain);
2429 if (cpu_node[i].node != node)
2430 cpu_node[i].node = node;
2440 lgrp_plat_probe_time(int to, cpu_node_map_t *cpu_node, int cpu_node_nentries,
2458 from = lgrp_plat_cpu_to_node(CPU, cpu_node, cpu_node_nentries);
2563 lgrp_plat_process_cpu_apicids(cpu_node_map_t *cpu_node)
2600 if (cpu_node == NULL) {
2615 cpu_node[i].exists = 1;
2616 cpu_node[i].apicid = cpu_apicid_array[i];
2617 cpu_node[i].prox_domain = UINT32_MAX;
2618 cpu_node[i].node = UINT_MAX;
2807 cpu_node_map_t *cpu_node, int cpu_count,
2863 cpu_node == NULL)
2878 cpu_node, cpu_count, apic_id, domain);
2953 cpu_node == NULL)
2964 cpu_node, cpu_count, apic_id, domain);
2989 lgrp_plat_node_sort(node_domain, node_cnt, cpu_node, cpu_count,