Searched refs:node_states (Results 1 – 18 of 18) sorted by relevance
/linux-6.6.21/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 | 215 #define cpuset_current_mems_allowed (node_states[N_MEMORY])
|
/linux-6.6.21/Documentation/mm/ |
D | physical_memory.rst | 158 bitmasks called ``node_states``. Each bitmask in this array represents a set of 159 nodes with particular properties as defined by ``enum node_states``: 176 node ID in the ``node_states[<property>]`` bitmask is set. 180 node_states[N_POSSIBLE] 181 node_states[N_ONLINE] 182 node_states[N_NORMAL_MEMORY] 183 node_states[N_HIGH_MEMORY] 184 node_states[N_MEMORY] 185 node_states[N_CPU]
|
/linux-6.6.21/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 | 243 cpuset_current_mems_allowed, node_states[N_MEMORY]); in mpol_set_nodemask() 1853 if (!nodes_intersects(policy->nodes, node_states[N_HIGH_MEMORY])) in apply_policy_zone() 3023 if (!nodes_subset(nodes, node_states[N_MEMORY])) in mpol_parse_str() 3054 nodes = node_states[N_MEMORY]; in mpol_parse_str()
|
D | mm_init.c | 346 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes() 348 int usable_nodes = nodes_weight(node_states[N_MEMORY]); in find_zone_movable_pfns_for_nodes() 561 node_states[N_MEMORY] = saved_node_state; in find_zone_movable_pfns_for_nodes()
|
D | oom_kill.c | 286 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc()
|
D | hugetlb.c | 2664 page = remove_pool_huge_page(h, &node_states[N_MEMORY], 1); in return_unused_surplus_pages() 3191 for_each_node_mask_to_alloc(h, nr_nodes, node, &node_states[N_MEMORY]) { in __alloc_bootmem_huge_page() 3260 &node_states[N_MEMORY], NULL); in hugetlb_hstate_alloc_pages_onenode() 3324 &node_states[N_MEMORY], in hugetlb_hstate_alloc_pages() 3763 n_mask = &node_states[N_MEMORY]; in __nr_hugepages_store_common() 3922 n_mask = &node_states[N_MEMORY]; in demote_store()
|
D | memory_hotplug.c | 1768 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range()
|
D | page_alloc.c | 191 nodemask_t node_states[NR_NODE_STATES] __read_mostly = { variable 203 EXPORT_SYMBOL(node_states);
|
/linux-6.6.21/drivers/base/ |
D | node.c | 908 enum node_states state; 917 nodemask_pr_args(&node_states[na->state])); in show_node_state()
|
/linux-6.6.21/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() 3796 new_mems = node_states[N_MEMORY]; in cpuset_hotplug_workfn() 3921 top_cpuset.effective_mems = node_states[N_MEMORY]; in cpuset_init_smp()
|
/linux-6.6.21/kernel/ |
D | kthread.c | 726 set_mems_allowed(node_states[N_MEMORY]); in kthreadd()
|
/linux-6.6.21/init/ |
D | main.c | 1530 set_mems_allowed(node_states[N_MEMORY]); in kernel_init_freeable()
|
/linux-6.6.21/fs/proc/ |
D | task_mmu.c | 1834 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats() 1859 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats_pmd()
|
/linux-6.6.21/Documentation/admin-guide/kdump/ |
D | vmcoreinfo.rst | 51 An array node_states[N_ONLINE] which represents the set of online nodes
|
/linux-6.6.21/Documentation/admin-guide/cgroup-v1/ |
D | cpusets.rst | 225 automatically tracks the value of node_states[N_MEMORY]--i.e.,
|
/linux-6.6.21/kernel/sched/ |
D | fair.c | 2762 nodes = node_states[N_CPU]; in preferred_group_nid()
|