Searched refs:num_online_nodes (Results 1 – 16 of 16) sorted by relevance
| /linux-6.15/arch/mips/loongson64/ |
| H A D | numa.c | 43 node_set_state(num_online_nodes(), N_POSSIBLE); in cpu_node_probe() 44 node_set_online(num_online_nodes()); in cpu_node_probe() 48 loongson_sysconf.nr_cpus, num_online_nodes()); in cpu_node_probe() 144 if (node >= num_online_nodes()) in prom_meminit()
|
| /linux-6.15/drivers/infiniband/hw/hfi1/ |
| H A D | affinity.h | 75 int num_online_nodes; member
|
| H A D | affinity.c | 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()
|
| /linux-6.15/arch/mips/sgi-ip27/ |
| H A D | ip27-smp.c | 83 printk("Discovered %d cpus on %d nodes\n", highest + 1, num_online_nodes()); in cpu_node_probe()
|
| /linux-6.15/drivers/misc/sgi-gru/ |
| H A D | grufile.c | 163 if (num_online_nodes() > 1 && in gru_get_config_info() 170 info.nodes = num_online_nodes(); in gru_get_config_info()
|
| /linux-6.15/arch/powerpc/platforms/powernv/ |
| H A D | memtrace.c | 132 memtrace_array = kcalloc(num_online_nodes(), in memtrace_init_regions_runtime()
|
| /linux-6.15/include/linux/ |
| H A D | nodemask.h | 537 #define num_online_nodes() num_node_state(N_ONLINE) macro
|
| /linux-6.15/net/ipv4/ |
| H A D | inet_hashtables.c | 1283 nblocks = max(nblocks, num_online_nodes() * PAGE_SIZE / locksz); in inet_ehash_locks_alloc() 1290 if (num_online_nodes() > 1) { in inet_ehash_locks_alloc()
|
| /linux-6.15/kernel/ |
| H A D | smp.c | 1012 num_nodes = num_online_nodes(); in smp_init()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd.c | 773 tmp = (ttm_tt_pages_limit() << PAGE_SHIFT) / num_online_nodes(); in amdgpu_amdkfd_xcp_memory_size()
|
| /linux-6.15/mm/kfence/ |
| H A D | core.c | 1088 ((flags & __GFP_THISNODE) && num_online_nodes() > 1) || in __kfence_alloc()
|
| /linux-6.15/drivers/cpufreq/ |
| H A D | powernow-k8.c | 1199 num_online_nodes(), boot_cpu_data.x86_model_id, supported_cpus); in powernowk8_init()
|
| /linux-6.15/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_crat.c | 2422 num_nodes = num_online_nodes(); in kfd_create_crat_image_virtual()
|
| /linux-6.15/mm/ |
| H A D | mempolicy.c | 3106 if (num_online_nodes() > 1 && !numabalancing_override) { in check_numabalancing_enable()
|
| /linux-6.15/drivers/md/ |
| H A D | dm.c | 200 DM_NUMA_NODE, num_online_nodes() - 1); in dm_get_numa_node()
|
| /linux-6.15/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.c | 3819 max(4 * num_online_nodes(), in add_target_store()
|