Searched refs:N_CPU (Results 1 – 7 of 7) sorted by relevance
| /linux/include/linux/ |
| H A D | nodemask.h | 402 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 D | hmat.c | 210 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 D | vmstat.c | 2202 node_set_state(node, N_CPU); in init_cpu_node_state() 2211 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2212 node_set_state(cpu_to_node(cpu), N_CPU); in vmstat_cpu_online() 2237 node_clear_state(node, N_CPU); in vmstat_cpu_dead()
|
| H A D | page_alloc.c | 204 [N_CPU] = { { [0] = 1UL } },
|
| H A D | vmscan.c | 7919 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
| /linux/kernel/sched/ |
| H A D | topology.c | 2147 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 2182 for_each_node_state(n, N_CPU) \ 2502 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set() 2608 node = numa_nearest_node(node, N_CPU); in sched_numa_find_nth_cpu()
|
| H A D | fair.c | 3562 for_each_node_state(nid, N_CPU) { in update_task_scan_period() 3660 for_each_node_state(nid, N_CPU) { in preferred_group_nid() 3666 for_each_node_state(nid, N_CPU) { in preferred_group_nid() 3820 for_each_node_state(node, N_CPU) { in task_numa_placement() 3839 nodes = node_states[N_CPU]; in put_numa_group() 4012 max_nid = numa_nearest_node(max_nid, N_CPU); in task_numa_fault()
|