Searched refs:num_online_nodes (Results 1 – 13 of 13) sorted by relevance
75 int num_online_nodes; member
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 = kcalloc(num_online_nodes(), in memtrace_init_regions_runtime()
1282 nblocks = max(nblocks, num_online_nodes() * PAGE_SIZE / locksz); in inet_ehash_locks_alloc()1289 if (num_online_nodes() > 1) { in inet_ehash_locks_alloc()
1004 num_nodes = num_online_nodes(); in smp_init()
516 kho_scratch_cnt = num_online_nodes() + 2; in kho_reserve_scratch()
792 tmp = (ttm_tt_pages_limit() << PAGE_SHIFT) / num_online_nodes(); in amdgpu_amdkfd_xcp_memory_size()
1088 ((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()
3224 if (num_online_nodes() > 1 && !numabalancing_override) { in check_numabalancing_enable()
200 DM_NUMA_NODE, num_online_nodes() - 1); in dm_get_numa_node()
3820 max(4 * num_online_nodes(), in add_target_store()