Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dnodemask.h421 static __always_inline int node_state(int node, enum node_states state) in node_state() function
472 static __always_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/drivers/acpi/numa/
H A Dhmat.c172 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator()
412 if (node_state(pxm_to_node(init_pxm), N_CPU)) in hmat_update_target()
751 node_state(cpu_nid, N_CPU)) { in hmat_update_target_attrs()
/linux/arch/x86/kernel/cpu/sgx/
H A Dmain.c853 node_state(nid, N_MEMORY) && node_state(nid, N_CPU)) in sgx_page_cache_init()
/linux/mm/
H A Dvmstat.c1689 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show()
2158 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online()
2290 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
H A Dmemory-tiers.c542 if (!node_state(node, N_MEMORY)) in set_node_memory_tier()
H A Dmemory_hotplug.c711 if (!node_state(nid, N_MEMORY)) in node_states_check_changes_online()
713 if (zone_idx(zone) <= ZONE_NORMAL && !node_state(nid, N_NORMAL_MEMORY)) in node_states_check_changes_online()
H A Dhugetlb_cgroup.c169 node_state(node, N_NORMAL_MEMORY) ? node : NUMA_NO_NODE; in hugetlb_cgroup_css_alloc()
H A Dmigrate.c2349 if (!node_state(node, N_MEMORY)) in do_pages_move()
H A Dvmscan.c5458 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in run_cmd()
7576 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
H A Dmempolicy.c183 if (node == NUMA_NO_NODE || node_state(node, state)) in numa_nearest_node()
H A Dpage_alloc.c5085 if (!node_isset(node, *used_node_mask) && node_state(node, N_MEMORY)) { in find_next_best_node()
/linux/kernel/sched/
H A Dfair.c1918 if (!node_state(dst_nid, N_MEMORY)) in should_numa_migrate_memory()