Searched refs:node_state (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/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.6.21/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.6.21/arch/ia64/kernel/ |
D | uncached.c | 191 if (!node_state(nid, N_HIGH_MEMORY)) in uncached_alloc_page()
|
/linux-6.6.21/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 | 689 if (!node_state(nid, N_MEMORY)) in node_states_check_changes_online() 691 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 | 2205 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
D | mempolicy.c | 149 if (node == NUMA_NO_NODE || node_state(node, state)) in numa_nearest_node()
|
D | vmscan.c | 6078 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in run_cmd() 8123 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
/linux-6.6.21/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()
|