Home
last modified time | relevance | path

Searched refs:N_CPU (Results 1 – 7 of 7) sorted by relevance

/linux/include/linux/
H A Dnodemask.h402 N_CPU, /* The node has one or more cpus */ enumerator
515 #define for_each_node_with_cpus(node) for_each_node_state(node, N_CPU)
/linux/drivers/acpi/numa/
H A Dhmat.c210 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator()
421 if (node_state(pxm_to_node(init_pxm), N_CPU)) in hmat_update_target()
761 node_state(cpu_nid, N_CPU)) { in hmat_update_target_attrs()
/linux/mm/
H A Dvmstat.c2207 node_set_state(node, N_CPU); in vmstat_cpu_online()
2216 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online()
2217 node_set_state(cpu_to_node(cpu), N_CPU); in vmstat_cpu_online()
2242 node_clear_state(node, N_CPU); in vmstat_late_init()
H A Dpage_alloc.c205 [N_CPU] = { { [0] = 1UL } },
H A Dvmscan.c8077 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in check_move_unevictable_folios()
/linux/kernel/sched/
H A Dtopology.c2165 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn()
2200 for_each_node_state(n, N_CPU) \
2520 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set()
2626 node = numa_nearest_node(node, N_CPU); in sched_numa_find_nth_cpu()
H A Dfair.c3513 for_each_node_state(nid, N_CPU) { in task_numa_migrate()
3611 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes()
3617 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes()
3774 for_each_node_state(node, N_CPU) { in preferred_group_nid()
3793 nodes = node_states[N_CPU]; in preferred_group_nid()
3966 max_nid = numa_nearest_node(max_nid, N_CPU); in task_numa_placement()