/kernel/linux/linux-5.10/drivers/acpi/numa/ |
H A D | hmat.c | 119 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 344 if (node_state(pxm_to_node(inits[init]), N_CPU)) in hmat_parse_locality() 606 if (node_state(cpu_nid, N_CPU)) { in hmat_register_target_initiators()
|
/kernel/linux/linux-6.6/drivers/acpi/numa/ |
H A D | hmat.c | 118 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 343 if (node_state(pxm_to_node(inits[init]), N_CPU)) in hmat_parse_locality() 605 if (node_state(cpu_nid, N_CPU)) { in hmat_register_target_initiators()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | node.c | 1017 [N_CPU] = _NODE_ATTR(has_cpu, N_CPU), 1030 &node_state_attr[N_CPU].attr.attr,
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | node.c | 931 [N_CPU] = _NODE_ATTR(has_cpu, N_CPU), 944 &node_state_attr[N_CPU].attr.attr,
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | topology.c | 1736 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 1771 for_each_node_state(n, N_CPU) \ 2044 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set() 2144 node = numa_nearest_node(node, N_CPU); in sched_numa_find_nth_cpu()
|
H A D | fair.c | 2554 for_each_node_state(nid, N_CPU) { in task_numa_migrate() 2652 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes() 2658 for_each_node_state(nid, N_CPU) { in numa_group_count_active_nodes() 2812 for_each_node_state(node, N_CPU) { in preferred_group_nid() 2831 nodes = node_states[N_CPU]; in preferred_group_nid() 2971 if (max_nid != NUMA_NO_NODE && !node_state(max_nid, N_CPU)) { in task_numa_placement() 2975 for_each_node_state(nid, N_CPU) { in task_numa_placement()
|
/kernel/linux/linux-6.6/mm/ |
H A D | vmstat.c | 2098 node_set_state(node, N_CPU); in init_cpu_node_state() 2106 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2107 node_set_state(cpu_to_node(cpu), N_CPU); in vmstat_cpu_online() local 2131 node_clear_state(node, N_CPU); in vmstat_cpu_dead()
|
H A D | memory-tiers.c | 423 nodes_and(tier_nodes, node_states[N_CPU], tier_nodes); in establish_demotion_targets()
|
H A D | page_alloc.c | 204 [N_CPU] = { { [0] = 1UL } },
|
H A D | vmscan.c | 8132 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | nodemask.h | 400 N_CPU, /* The node has one or more cpus */ enumerator
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | nodemask.h | 408 N_CPU, /* The node has one or more cpus */ enumerator
|
/kernel/linux/linux-5.10/mm/ |
H A D | vmstat.c | 2011 node_set_state(node, N_CPU); in init_cpu_node_state() 2018 node_set_state(cpu_to_node(cpu), N_CPU); in vmstat_cpu_online() local 2040 node_clear_state(node, N_CPU); in vmstat_cpu_dead()
|
H A D | vmscan.c | 4287 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
H A D | page_alloc.c | 160 [N_CPU] = { { [0] = 1UL } },
|