Home
last modified time | relevance | path

Searched refs:node_states (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dnodemask.h390 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 …]
Dcpuset.h199 #define cpuset_current_mems_allowed (node_states[N_MEMORY])
/kernel/linux/linux-5.10/Documentation/admin-guide/blockdev/drbd/
Dnode-states-8.dot1 digraph node_states {
/kernel/linux/linux-5.10/drivers/base/
Dnode.c994 enum node_states state;
1003 nodemask_pr_args(&node_states[na->state])); in show_node_state()
/kernel/linux/linux-5.10/kernel/cgroup/
Dcpuset.c418 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/
Dmempolicy.c239 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()
Doom_kill.c286 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc()
Dhugetlb.c2155 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()
Dpage_alloc.c151 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()
Dmemory_hotplug.c1338 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range()
/kernel/linux/linux-5.10/kernel/
Dkthread.c659 set_mems_allowed(node_states[N_MEMORY]); in kthreadd()
/kernel/linux/linux-5.10/init/
Dmain.c1510 set_mems_allowed(node_states[N_MEMORY]); in kernel_init_freeable()
/kernel/linux/linux-5.10/fs/proc/
Dtask_mmu.c1800 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/
Dvmcoreinfo.rst45 An array node_states[N_ONLINE] which represents the set of online nodes
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch652 * Keep top_cpuset.mems_allowed tracking node_states[N_MEMORY].
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/
Dcpusets.rst225 automatically tracks the value of node_states[N_MEMORY]--i.e.,