Home
last modified time | relevance | path

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

/linux/drivers/base/
H A Dnode.c932 [N_CPU] = _NODE_ATTR(has_cpu, N_CPU),
945 &node_state_attr[N_CPU].attr.attr,
/linux/drivers/acpi/numa/
H A Dhmat.c172 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 Dmemory-tiers.c458 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 Dvmstat.c2079 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 Dpage_alloc.c203 [N_CPU] = { { [0] = 1UL } },
H A Dvmscan.c7490 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
/linux/kernel/sched/
H A Dtopology.c1748 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 Dfair.c2478 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 Dphysical_memory.rst172 ``N_CPU``
185 node_states[N_CPU]
/linux/include/linux/
H A Dnodemask.h408 N_CPU, /* The node has one or more cpus */ enumerator
/linux/kernel/
H A Dpadata.c525 nid = next_node_in(old_node, node_states[N_CPU]); in padata_do_multithreaded()