Searched refs:node_states (Results 1 – 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | nodemask.h | 390 enum node_states { enum 410 extern nodemask_t node_states[NR_NODE_STATES]; 413 static inline int node_state(int node, enum node_states state) in node_state() 415 return node_isset(node, node_states[state]); in node_state() 418 static inline void node_set_state(int node, enum node_states state) in node_set_state() 420 __node_set(node, &node_states[state]); in node_set_state() 423 static inline void node_clear_state(int node, enum node_states state) in node_clear_state() 425 __node_clear(node, &node_states[state]); in node_clear_state() 428 static inline int num_node_state(enum node_states state) in num_node_state() 430 return nodes_weight(node_states[state]); in num_node_state() [all …]
|
D | cpuset.h | 199 #define cpuset_current_mems_allowed (node_states[N_MEMORY])
|
/kernel/linux/linux-5.10/Documentation/admin-guide/blockdev/drbd/ |
D | node-states-8.dot | 1 digraph node_states {
|
/kernel/linux/linux-5.10/drivers/base/ |
D | node.c | 994 enum node_states state; 1003 nodemask_pr_args(&node_states[na->state])); in show_node_state()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cpuset.c | 418 while (!nodes_intersects(cs->effective_mems, node_states[N_MEMORY])) in guarantee_online_mems() 420 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems() 3202 new_mems = node_states[N_MEMORY]; in cpuset_hotplug_workfn() 3332 top_cpuset.effective_mems = node_states[N_MEMORY]; in cpuset_init_smp()
|
/kernel/linux/linux-5.10/mm/ |
D | mempolicy.c | 239 cpuset_current_mems_allowed, node_states[N_MEMORY]); in mpol_set_nodemask() 1858 if (!nodes_intersects(policy->v.nodes, node_states[N_HIGH_MEMORY])) in apply_policy_zone() 2887 if (!nodes_subset(nodes, node_states[N_MEMORY])) in mpol_parse_str() 2918 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 | 2155 if (!free_pool_huge_page(h, &node_states[N_MEMORY], 1)) in return_unused_surplus_pages() 2471 for_each_node_mask_to_alloc(h, nr_nodes, node, &node_states[N_MEMORY]) { in __alloc_bootmem_huge_page() 2559 &node_states[N_MEMORY], in hugetlb_hstate_alloc_pages() 2854 n_mask = &node_states[N_MEMORY]; in __nr_hugepages_store_common()
|
D | page_alloc.c | 151 nodemask_t node_states[NR_NODE_STATES] __read_mostly = { variable 163 EXPORT_SYMBOL(node_states); 7353 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes() 7355 int usable_nodes = nodes_weight(node_states[N_MEMORY]); in find_zone_movable_pfns_for_nodes() 7558 node_states[N_MEMORY] = saved_node_state; in find_zone_movable_pfns_for_nodes()
|
D | memory_hotplug.c | 1338 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range()
|
/kernel/linux/linux-5.10/kernel/ |
D | kthread.c | 659 set_mems_allowed(node_states[N_MEMORY]); in kthreadd()
|
/kernel/linux/linux-5.10/init/ |
D | main.c | 1510 set_mems_allowed(node_states[N_MEMORY]); in kernel_init_freeable()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | task_mmu.c | 1800 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats() 1825 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats_pmd()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/kdump/ |
D | vmcoreinfo.rst | 45 An array node_states[N_ONLINE] which represents the set of online nodes
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | kernel.patch | 652 * Keep top_cpuset.mems_allowed tracking node_states[N_MEMORY].
|
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
D | cpusets.rst | 225 automatically tracks the value of node_states[N_MEMORY]--i.e.,
|