Searched refs:num_online_nodes (Results 1 – 17 of 17) sorted by relevance
45 node_set_state(num_online_nodes(), N_POSSIBLE); in cpu_node_probe()46 node_set_online(num_online_nodes()); in cpu_node_probe()50 loongson_sysconf.nr_cpus, num_online_nodes()); in cpu_node_probe()156 if (node >= num_online_nodes()) in prom_meminit()
75 int num_online_nodes; member
141 node_affinity.num_online_nodes = num_online_nodes(); in node_affinity_init()969 node_affinity.num_online_nodes; in find_hw_thread_mask()977 i < num_cores_per_socket * node_affinity.num_online_nodes; in find_hw_thread_mask()989 node_affinity.num_online_nodes * in find_hw_thread_mask()
98 if (next_nid >= num_online_nodes()) in per_cpu_scan_finalize()
81 printk("Discovered %d cpus on %d nodes\n", highest + 1, num_online_nodes()); in cpu_node_probe()
163 if (num_online_nodes() > 1 && in gru_get_config_info()170 info.nodes = num_online_nodes(); in gru_get_config_info()
151 memtrace_array = kcalloc(num_online_nodes(), in memtrace_init_regions_runtime()
493 if (num_online_nodes() == 0) { in find_memory()
531 #define num_online_nodes() num_node_state(N_ONLINE) macro
484 num_online_nodes()); in acpi_numa_fixup()
982 num_nodes = num_online_nodes(); in smp_init()
1202 num_online_nodes(), boot_cpu_data.x86_model_id, supported_cpus); in powernowk8_init()
2229 num_nodes = num_online_nodes(); in kfd_create_crat_image_virtual()
2887 if (num_online_nodes() > 1 && !numabalancing_override) { in check_numabalancing_enable()
3269 size_per_node /= num_online_nodes(); in __vmalloc_node_range()
199 DM_NUMA_NODE, num_online_nodes() - 1); in dm_get_numa_node()
3818 max(4 * num_online_nodes(), in add_target_store()