Searched refs:node_state (Results 1 – 10 of 10) 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 | 397 !node_state(target_nid, N_MEMORY)) { in damon_migrate_pages()
|
| H A D | core.c | 2600 return nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY); in invalid_mem_node()
|
| /linux/kernel/sched/ |
| H A D | topology.c | 2143 if (!node_state(i, N_CPU) || !node_state(j, N_CPU)) in sched_numa_warn() 2498 if (!node_state(j, N_CPU)) in sched_domains_numa_masks_set()
|
| /linux/mm/ |
| H A D | hugetlb_cgroup.c | 158 node_state(node, N_NORMAL_MEMORY) ? node : NUMA_NO_NODE; in hugetlb_cgroup_css_alloc()
|
| H A D | migrate.c | 2384 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
| H A D | vmscan.c | 5623 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in run_cmd() 7827 if (node_state(pgdat->node_id, N_CPU) && pgdat->node_id != numa_node_id()) in node_reclaim()
|
| H A D | slub.c | 6169 if (unlikely(!node_state(numa_node, N_NORMAL_MEMORY))) in can_free_to_pcs()
|
| /linux/kernel/ |
| H A D | fork.c | 257 if (node_state(nid, N_MEMORY)) { in try_release_thread_stack_to_cache()
|