Searched refs:node_state (Results 1 – 14 of 14) sorted by relevance
| /linux/include/linux/ |
| H A D | nodemask.h | 415 static __always_inline int node_state(int node, enum node_states state) in node_state() function 463 static __always_inline int node_state(int node, enum node_states state) in node_state() function 510 #define node_online(node) node_state((node), N_ONLINE) 511 #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 | 498 !node_state(target_nid, N_MEMORY)) {
|
| H A D | core.c | 3001 return nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY); in damos_get_in_active_mem_bp()
|
| /linux/mm/ |
| H A D | vmstat.c | 1731 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show() 2216 if (!node_state(cpu_to_node(cpu), N_CPU)) { in vmstat_cpu_online() 2382 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
|
| H A D | hugetlb_cgroup.c | 161 node_state(node, N_NORMAL_MEMORY) ? node : NUMA_NO_NODE; in hugetlb_cgroup_css_alloc()
|
| H A D | mempolicy.c | 318 if (node == NUMA_NO_NODE || node_state(node, state)) 3936 if (!node_state(nid, N_MEMORY)) in mempolicy_sysfs_init()
|
| H A D | migrate.c | 2414 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
| H A D | vmscan.c | 5934 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in init_lru_gen() 8070 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id())
|
| H A D | page_alloc.c | |
| H A D | slub.c | 528 * Corresponds to node_state[N_MEMORY], but can temporarily 6400 if (unlikely(!node_state(numa_node, N_NORMAL_MEMORY))) in free_to_pcs_bulk()
|
| /linux/kernel/sched/ |
| H A D | topology.c | 2165 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 2520 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set()
|
| H A D | fair.c | 2881 if (!node_state(dst_nid, N_MEMORY)) in should_numa_migrate_memory()
|
| /linux/kernel/ |
| H A D | fork.c | 257 if (node_state(nid, N_MEMORY)) { in try_release_thread_stack_to_cache()
|