Searched refs:node_state (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/include/linux/ |
D | nodemask.h | 421 static inline int node_state(int node, enum node_states state) in node_state() function 472 static inline int node_state(int node, enum node_states state) in node_state() function 533 #define node_online(node) node_state((node), N_ONLINE) 534 #define node_possible(node) node_state((node), N_POSSIBLE)
|
/Linux-v6.6/drivers/acpi/numa/ |
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()
|
/Linux-v6.6/arch/ia64/kernel/ |
D | uncached.c | 191 if (!node_state(nid, N_HIGH_MEMORY)) in uncached_alloc_page()
|
/Linux-v6.6/mm/ |
D | vmstat.c | 1631 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show() 2079 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2202 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
|
D | memory-tiers.c | 484 if (!node_state(node, N_MEMORY)) in set_node_memory_tier()
|
D | memory_hotplug.c | 687 if (!node_state(nid, N_MEMORY)) in node_states_check_changes_online() 689 if (zone_idx(zone) <= ZONE_NORMAL && !node_state(nid, N_NORMAL_MEMORY)) in node_states_check_changes_online()
|
D | hugetlb_cgroup.c | 159 node_state(node, N_NORMAL_MEMORY) ? node : NUMA_NO_NODE; in hugetlb_cgroup_css_alloc()
|
D | migrate.c | 2195 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
D | vmscan.c | 6043 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in run_cmd() 8088 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
/Linux-v6.6/kernel/sched/ |
D | topology.c | 1724 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 2032 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set()
|
D | fair.c | 2902 if (max_nid != NUMA_NO_NODE && !node_state(max_nid, N_CPU)) { in task_numa_placement()
|