Searched refs:node_state (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/ia64/kernel/ |
D | uncached.c | 191 if (!node_state(nid, N_HIGH_MEMORY)) in uncached_alloc_page()
|
/linux-6.1.9/mm/ |
D | vmstat.c | 1619 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show() 2053 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2176 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
|
D | memory-tiers.c | 485 if (!node_state(node, N_MEMORY)) in set_node_memory_tier()
|
D | memory_hotplug.c | 627 if (!node_state(nid, N_MEMORY)) in node_states_check_changes_online() 629 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 | 1810 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
D | vmscan.c | 5668 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in run_cmd() 7687 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
/linux-6.1.9/kernel/sched/ |
D | topology.c | 1708 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 2016 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set()
|
D | fair.c | 2636 if (max_nid != NUMA_NO_NODE && !node_state(max_nid, N_CPU)) { in task_numa_placement()
|