Searched refs:N_CPU (Results 1 – 13 of 13) sorted by relevance
| /linux-6.15/Documentation/translations/zh_CN/mm/ |
| H A D | physical_memory.rst | 164 ``N_CPU`` 177 node_states[N_CPU]
|
| /linux-6.15/drivers/acpi/numa/ |
| H A D | hmat.c | 211 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 451 if (node_state(pxm_to_node(init_pxm), N_CPU)) in hmat_update_target() 795 node_state(cpu_nid, N_CPU)) { in hmat_update_target_attrs()
|
| /linux-6.15/drivers/base/ |
| H A D | node.c | 934 [N_CPU] = _NODE_ATTR(has_cpu, N_CPU), 947 &node_state_attr[N_CPU].attr.attr,
|
| /linux-6.15/mm/ |
| H A D | memory-tiers.c | 478 nodes_and(tier_nodes, node_states[N_CPU], tier_nodes); in establish_demotion_targets() 930 node_states[N_CPU]); in memory_tier_init()
|
| H A D | vmstat.c | 2159 node_set_state(node, N_CPU); in init_cpu_node_state() 2168 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2169 node_set_state(cpu_to_node(cpu), N_CPU); in vmstat_cpu_online() 2194 node_clear_state(node, N_CPU); in vmstat_cpu_dead()
|
| H A D | page_alloc.c | 206 [N_CPU] = { { [0] = 1UL } },
|
| H A D | vmscan.c | 7650 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
| /linux-6.15/kernel/sched/ |
| H A D | topology.c | 1751 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 1786 for_each_node_state(n, N_CPU) \ 2059 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set() 2164 node = numa_nearest_node(node, N_CPU); in sched_numa_find_nth_cpu()
|
| H A D | fair.c | 2573 for_each_node_state(nid, N_CPU) { in task_numa_migrate() 2671 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes() 2677 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes() 2831 for_each_node_state(node, N_CPU) { in preferred_group_nid() 2850 nodes = node_states[N_CPU]; in preferred_group_nid() 2990 max_nid = numa_nearest_node(max_nid, N_CPU); in task_numa_placement()
|
| /linux-6.15/include/linux/ |
| H A D | nodemask.h | 414 N_CPU, /* The node has one or more cpus */ enumerator
|
| /linux-6.15/arch/x86/kernel/cpu/sgx/ |
| H A D | main.c | 853 node_state(nid, N_MEMORY) && node_state(nid, N_CPU)) in sgx_page_cache_init()
|
| /linux-6.15/Documentation/mm/ |
| H A D | physical_memory.rst | 172 ``N_CPU`` 185 node_states[N_CPU]
|
| /linux-6.15/kernel/ |
| H A D | padata.c | 553 nid = next_node_in(old_node, node_states[N_CPU]); in padata_do_multithreaded()
|