Searched refs:cores_per_node (Results 1 – 8 of 8) sorted by relevance
94 loongson_sysconf.cores_per_node = 2; in prom_lefi_init_env()99 loongson_sysconf.cores_per_node = 4; in prom_lefi_init_env()121 loongson_sysconf.cores_per_node = 4; /* One chip has 2 nodes */ in prom_lefi_init_env()142 loongson_sysconf.cores_per_node = 1; in prom_lefi_init_env()153 loongson_sysconf.cores_per_node - 1) / in prom_lefi_init_env()154 loongson_sysconf.cores_per_node; in prom_lefi_init_env()
53 int package_row = row * loongson_sysconf.cores_per_node / in compute_node_distance()55 int package_col = col * loongson_sysconf.cores_per_node / in compute_node_distance()143 node = cpu / loongson_sysconf.cores_per_node; in prom_meminit()
445 max_cpus += loongson_sysconf.cores_per_node; in loongson3_smp_setup()
37 int cores_per_node; member
433 u32 cores_per_node; in get_nbc_for_node() local435 cores_per_node = topology_num_threads_per_package() / topology_amd_nodes_per_pkg(); in get_nbc_for_node()436 return cores_per_node * node_id; in get_nbc_for_node()
25 int cores_per_node; member
363 loongson_sysconf.cores_per_node = cpumask_weight(&phys_cpus_on_node[0]); in init_numa_memory()
1652 topo.nodes_per_pkg * topo.cores_per_node * topo.threads_per_core) + \1653 ((node_no) * topo.cores_per_node * topo.threads_per_core) + \1659 ((pkg_no) * topo.nodes_per_pkg * topo.cores_per_node) + \1660 ((node_no) * topo.cores_per_node) + \1868 int cores_per_node; member1905 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus()5494 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus_2()8332 topo.cores_per_node = max_core_id + 1; in topology_probe()8334 …rintf(outf, "max_core_id %d, sizing for %d cores per package\n", max_core_id, topo.cores_per_node); in topology_probe()8335 if (!summary_only && topo.cores_per_node > 1) in topology_probe()[all …]