Home
last modified time | relevance | path

Searched refs:node_state (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/include/linux/
Dnodemask.h421 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/
Dhmat.c118 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/
Duncached.c191 if (!node_state(nid, N_HIGH_MEMORY)) in uncached_alloc_page()
/linux-6.6.21/mm/
Dvmstat.c1631 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()
Dmemory-tiers.c484 if (!node_state(node, N_MEMORY)) in set_node_memory_tier()
Dmemory_hotplug.c689 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()
Dhugetlb_cgroup.c159 node_state(node, N_NORMAL_MEMORY) ? node : NUMA_NO_NODE; in hugetlb_cgroup_css_alloc()
Dmigrate.c2205 if (!node_state(node, N_MEMORY)) in do_pages_move()
Dmempolicy.c149 if (node == NUMA_NO_NODE || node_state(node, state)) in numa_nearest_node()
Dvmscan.c6078 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/
Dtopology.c1724 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()
Dfair.c2902 if (max_nid != NUMA_NO_NODE && !node_state(max_nid, N_CPU)) { in task_numa_placement()