Searched refs:cores_per_node (Results 1 – 7 of 7) sorted by relevance
93 loongson_sysconf.cores_per_node = 4; in prom_lefi_init_env()115 loongson_sysconf.cores_per_node = 4; /* One chip has 2 nodes */ in prom_lefi_init_env()136 loongson_sysconf.cores_per_node = 1; in prom_lefi_init_env()147 loongson_sysconf.cores_per_node - 1) / in prom_lefi_init_env()148 loongson_sysconf.cores_per_node; in prom_lefi_init_env()
55 int package_row = row * loongson_sysconf.cores_per_node / in compute_node_distance()57 int package_col = col * loongson_sysconf.cores_per_node / in compute_node_distance()155 node = cpu / loongson_sysconf.cores_per_node; in prom_meminit()
31 int cores_per_node; member
434 u32 cores_per_node; in get_nbc_for_node() local436 cores_per_node = (c->x86_max_cores * smp_num_siblings) / amd_get_nodes_per_socket(); in get_nbc_for_node()438 return cores_per_node * node_id; in get_nbc_for_node()
25 int cores_per_node; member
410 loongson_sysconf.cores_per_node = cpumask_weight(&phys_cpus_on_node[0]); in init_numa_memory()
410 topo.nodes_per_pkg * topo.cores_per_node * topo.threads_per_core) + \411 ((node_no) * topo.cores_per_node * topo.threads_per_core) + \417 ((pkg_no) * topo.nodes_per_pkg * topo.cores_per_node) + \418 ((node_no) * topo.cores_per_node) + \569 int cores_per_node; member601 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus()2993 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus_2()5954 topo.cores_per_node = max_core_id + 1; in topology_probe()5956 …rintf(outf, "max_core_id %d, sizing for %d cores per package\n", max_core_id, topo.cores_per_node); in topology_probe()5957 if (!summary_only && topo.cores_per_node > 1) in topology_probe()[all …]