Searched refs:node_state (Results 1 – 13 of 13) sorted by relevance
| /linux/include/linux/ |
| H A D | nodemask.h | 407 static __always_inline int node_state(int node, enum node_states state) in node_state() function 458 static __always_inline int node_state(int node, enum node_states state) in node_state() function 507 #define node_online(node) node_state((node), N_ONLINE) 508 #define node_possible(node) node_state((node), N_POSSIBLE)
|
| /linux/drivers/acpi/numa/ |
| H A D | hmat.c | 210 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 421 if (node_state(pxm_to_node(init_pxm), N_CPU)) in hmat_update_target() 761 node_state(cpu_nid, N_CPU)) { in hmat_update_target_attrs()
|
| /linux/mm/damon/ |
| H A D | ops-common.c | 393 !node_state(target_nid, N_MEMORY)) in damon_migrate_pages()
|
| /linux/mm/ |
| H A D | vmstat.c | 1725 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show() 2198 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2363 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
|
| H A D | memory-tiers.c | 542 if (!node_state(node, N_MEMORY)) in set_node_memory_tier()
|
| H A D | mempolicy.c | 294 if (node == NUMA_NO_NODE || node_state(node, state)) in numa_nearest_node() 3900 if (!node_state(nid, N_MEMORY)) in add_weighted_interleave_group()
|
| H A D | memory_hotplug.c | 1175 if (!node_state(nid, N_MEMORY)) { in online_pages()
|
| H A D | migrate.c | 2367 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
| H A D | vmscan.c | 5512 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in run_cmd() 7693 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
| H A D | page_alloc.c | 5588 if (!node_isset(node, *used_node_mask) && node_state(node, N_MEMORY)) { in find_next_best_node()
|
| /linux/kernel/sched/ |
| H A D | topology.c | 1842 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 2197 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set()
|
| H A D | fair.c | 1899 if (!node_state(dst_nid, N_MEMORY)) in should_numa_migrate_memory()
|
| /linux/kernel/ |
| H A D | fork.c | 253 if (node_state(nid, N_MEMORY)) { in try_release_thread_stack_to_cache()
|