Searched refs:N_CPU (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/base/ |
H A D | node.c | 932 [N_CPU] = _NODE_ATTR(has_cpu, N_CPU), 945 &node_state_attr[N_CPU].attr.attr,
|
/linux/drivers/acpi/numa/ |
H A D | hmat.c | 172 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 412 if (node_state(pxm_to_node(init_pxm), N_CPU)) in hmat_update_target() 751 node_state(cpu_nid, N_CPU)) { in hmat_update_target_attrs()
|
/linux/mm/ |
H A D | memory-tiers.c | 458 nodes_and(tier_nodes, node_states[N_CPU], tier_nodes); in establish_demotion_targets() 906 if (!node_state(node, N_CPU)) in memory_tier_init()
|
H A D | vmstat.c | 2079 node_set_state(node, N_CPU); in init_cpu_node_state() 2087 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2088 node_set_state(cpu_to_node(cpu), N_CPU); in vmstat_cpu_online() 2112 node_clear_state(node, N_CPU); in vmstat_cpu_dead()
|
H A D | page_alloc.c | 203 [N_CPU] = { { [0] = 1UL } },
|
H A D | vmscan.c | 7490 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 | 1748 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 1783 for_each_node_state(n, N_CPU) \ 2056 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set() 2161 node = numa_nearest_node(node, N_CPU); in sched_numa_find_nth_cpu()
|
H A D | fair.c | 2478 for_each_node_state(nid, N_CPU) { in task_numa_migrate() 2576 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes() 2582 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes() 2736 for_each_node_state(node, N_CPU) { in preferred_group_nid() 2755 nodes = node_states[N_CPU]; in preferred_group_nid() 2895 max_nid = numa_nearest_node(max_nid, N_CPU); in task_numa_placement()
|
/linux/Documentation/mm/ |
H A D | physical_memory.rst | 172 ``N_CPU`` 185 node_states[N_CPU]
|
/linux/include/linux/ |
H A D | nodemask.h | 408 N_CPU, /* The node has one or more cpus */ enumerator
|
/linux/kernel/ |
H A D | padata.c | 525 nid = next_node_in(old_node, node_states[N_CPU]); in padata_do_multithreaded()
|