Searched refs:num_online_nodes (Results 1 – 13 of 13) sorted by relevance
75 int num_online_nodes; member
132 node_affinity.num_online_nodes = num_online_nodes(); in node_affinity_init()966 node_affinity.num_online_nodes); in find_hw_thread_mask()969 curr_cpu = cpumask_nth(num_cores * node_affinity.num_online_nodes, hw_thread_mask) + 1; in find_hw_thread_mask()
83 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()
136 memtrace_array = kzalloc_objs(struct memtrace_entry, num_online_nodes()); in memtrace_init_regions_runtime()
1312 nblocks = max(nblocks, num_online_nodes() * PAGE_SIZE / locksz); in inet_ehash_locks_alloc()1319 if (num_online_nodes() > 1) { in inet_ehash_locks_alloc()
1003 num_nodes = num_online_nodes(); in smp_init()
804 tmp = (ttm_tt_pages_limit() << PAGE_SHIFT) / num_online_nodes(); in amdgpu_amdkfd_xcp_memory_size()
1160 ((flags & __GFP_THISNODE) && num_online_nodes() > 1) || in __kfence_alloc()
1199 num_online_nodes(), boot_cpu_data.x86_model_id, supported_cpus); in powernowk8_init()
2424 num_nodes = num_online_nodes(); in kfd_create_crat_image_virtual()
3302 if (num_online_nodes() > 1 && !numabalancing_override) { in check_numabalancing_enable()
3820 max(4 * num_online_nodes(), in add_target_store()