Searched refs:node_states (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/include/linux/ |
D | nodemask.h | 398 enum node_states { enum 418 extern nodemask_t node_states[NR_NODE_STATES]; 421 static inline int node_state(int node, enum node_states state) in node_state() 423 return node_isset(node, node_states[state]); in node_state() 426 static inline void node_set_state(int node, enum node_states state) in node_set_state() 428 __node_set(node, &node_states[state]); in node_set_state() 431 static inline void node_clear_state(int node, enum node_states state) in node_clear_state() 433 __node_clear(node, &node_states[state]); in node_clear_state() 436 static inline int num_node_state(enum node_states state) in num_node_state() 438 return nodes_weight(node_states[state]); in num_node_state() [all …]
|
D | cpuset.h | 218 #define cpuset_current_mems_allowed (node_states[N_MEMORY])
|
/linux-6.1.9/mm/ |
D | memory-tiers.c | 392 nodes_andnot(tier_nodes, node_states[N_MEMORY], tier_nodes); in establish_demotion_targets() 423 nodes_and(tier_nodes, node_states[N_CPU], tier_nodes); in establish_demotion_targets() 440 lower_tier = node_states[N_MEMORY]; in establish_demotion_targets()
|
D | mempolicy.c | 239 cpuset_current_mems_allowed, node_states[N_MEMORY]); in mpol_set_nodemask() 1836 if (!nodes_intersects(policy->nodes, node_states[N_HIGH_MEMORY])) in apply_policy_zone() 3005 if (!nodes_subset(nodes, node_states[N_MEMORY])) in mpol_parse_str() 3036 nodes = node_states[N_MEMORY]; in mpol_parse_str()
|
D | oom_kill.c | 286 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc()
|
D | hugetlb.c | 2634 page = remove_pool_huge_page(h, &node_states[N_MEMORY], 1); in return_unused_surplus_pages() 3157 for_each_node_mask_to_alloc(h, nr_nodes, node, &node_states[N_MEMORY]) { in __alloc_bootmem_huge_page() 3225 &node_states[N_MEMORY], NULL); in hugetlb_hstate_alloc_pages_onenode() 3289 &node_states[N_MEMORY], in hugetlb_hstate_alloc_pages() 3727 n_mask = &node_states[N_MEMORY]; in __nr_hugepages_store_common() 3886 n_mask = &node_states[N_MEMORY]; in demote_store()
|
D | page_alloc.c | 249 nodemask_t node_states[NR_NODE_STATES] __read_mostly = { variable 261 EXPORT_SYMBOL(node_states); 8043 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes() 8045 int usable_nodes = nodes_weight(node_states[N_MEMORY]); in find_zone_movable_pfns_for_nodes() 8248 node_states[N_MEMORY] = saved_node_state; in find_zone_movable_pfns_for_nodes()
|
D | memory_hotplug.c | 1689 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range()
|
/linux-6.1.9/drivers/base/ |
D | node.c | 896 enum node_states state; 905 nodemask_pr_args(&node_states[na->state])); in show_node_state()
|
/linux-6.1.9/kernel/cgroup/ |
D | cpuset.c | 545 while (!nodes_intersects(cs->effective_mems, node_states[N_MEMORY])) in guarantee_online_mems() 547 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems() 3523 new_mems = node_states[N_MEMORY]; in cpuset_hotplug_workfn() 3653 top_cpuset.effective_mems = node_states[N_MEMORY]; in cpuset_init_smp()
|
/linux-6.1.9/kernel/ |
D | kthread.c | 726 set_mems_allowed(node_states[N_MEMORY]); in kthreadd()
|
/linux-6.1.9/init/ |
D | main.c | 1608 set_mems_allowed(node_states[N_MEMORY]); in kernel_init_freeable()
|
/linux-6.1.9/fs/proc/ |
D | task_mmu.c | 1828 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats() 1853 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats_pmd()
|
/linux-6.1.9/Documentation/admin-guide/kdump/ |
D | vmcoreinfo.rst | 51 An array node_states[N_ONLINE] which represents the set of online nodes
|
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/ |
D | cpusets.rst | 225 automatically tracks the value of node_states[N_MEMORY]--i.e.,
|
/linux-6.1.9/kernel/sched/ |
D | fair.c | 2496 nodes = node_states[N_CPU]; in preferred_group_nid()
|