/Linux-v4.19/mm/ |
D | memory_hotplug.c | 701 if (N_MEMORY == N_NORMAL_MEMORY) in node_states_check_changes_online() 726 if (N_MEMORY == N_HIGH_MEMORY) in node_states_check_changes_online() 742 if (!node_state(nid, N_MEMORY)) in node_states_check_changes_online() 756 node_set_state(node, N_MEMORY); in node_states_set_node() 1351 nodemask_t nmask = node_states[N_MEMORY]; in new_node_page() 1519 if (N_MEMORY == N_NORMAL_MEMORY) in node_states_check_changes_offline() 1547 if (N_MEMORY == N_HIGH_MEMORY) in node_states_check_changes_offline() 1584 if ((N_MEMORY != N_NORMAL_MEMORY) && in node_states_clear_node() 1588 if ((N_MEMORY != N_HIGH_MEMORY) && in node_states_clear_node() 1590 node_clear_state(node, N_MEMORY); in node_states_clear_node()
|
D | page_isolation.c | 314 return new_page_nodemask(page, numa_node_id(), &node_states[N_MEMORY]); in alloc_migrate_target()
|
D | page_ext.c | 381 for_each_node_state(nid, N_MEMORY) { in page_ext_init()
|
D | mempolicy.c | 213 cpuset_current_mems_allowed, node_states[N_MEMORY]); in mpol_set_nodemask() 1430 nodes_and(*new, *new, node_states[N_MEMORY]); in kernel_migrate_pages() 2639 for_each_node_state(nid, N_MEMORY) { in numa_policy_init() 2712 if (!nodes_subset(nodes, node_states[N_MEMORY])) in mpol_parse_str() 2746 nodes = node_states[N_MEMORY]; in mpol_parse_str()
|
D | page_alloc.c | 118 [N_MEMORY] = { { [0] = 1UL } }, 1716 atomic_set(&pgdat_init_n_undone, num_node_state(N_MEMORY)); in page_alloc_init_late() 1717 for_each_node_state(nid, N_MEMORY) { in page_alloc_init_late() 5152 for_each_node_state(n, N_MEMORY) { in find_next_best_node() 6583 node_set_state(nid, N_MEMORY); in early_calculate_totalpages() 6600 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes() 6602 int usable_nodes = nodes_weight(node_states[N_MEMORY]); in find_zone_movable_pfns_for_nodes() 6705 for_each_node_state(nid, N_MEMORY) { in find_zone_movable_pfns_for_nodes() 6798 node_states[N_MEMORY] = saved_node_state; in find_zone_movable_pfns_for_nodes() 6806 if (N_MEMORY == N_NORMAL_MEMORY) in check_for_memory() [all …]
|
D | hugetlb.c | 1820 if (!free_pool_huge_page(h, &node_states[N_MEMORY], 1)) in return_unused_surplus_pages() 2100 for_each_node_mask_to_alloc(h, nr_nodes, node, &node_states[N_MEMORY]) { in __alloc_bootmem_huge_page() 2172 &node_states[N_MEMORY])) in hugetlb_hstate_alloc_pages() 2418 nodes_allowed = &node_states[N_MEMORY]; in __nr_hugepages_store_common() 2428 nodes_allowed = &node_states[N_MEMORY]; in __nr_hugepages_store_common() 2432 if (nodes_allowed != &node_states[N_MEMORY]) in __nr_hugepages_store_common() 2731 for_each_node_state(nid, N_MEMORY) { in hugetlb_register_all_nodes() 3025 for_each_node_state(nid, N_MEMORY) in hugetlb_show_meminfo()
|
D | compaction.c | 2126 for_each_node_state(nid, N_MEMORY) { in kcompactd_cpu_online() 2152 for_each_node_state(nid, N_MEMORY) in kcompactd_init()
|
D | oom_kill.c | 293 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc()
|
D | vmstat.c | 1501 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show() 2039 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
|
D | memcontrol.c | 744 for_each_node_state(nid, N_MEMORY) in mem_cgroup_nr_lru_pages() 1435 memcg->scan_nodes = node_states[N_MEMORY]; in mem_cgroup_may_update_nodemask() 1437 for_each_node_mask(nid, node_states[N_MEMORY]) { in mem_cgroup_may_update_nodemask() 3344 for_each_node_state(nid, N_MEMORY) { in memcg_numa_stat_show() 3359 for_each_node_state(nid, N_MEMORY) { in memcg_numa_stat_show()
|
D | memory-failure.c | 1615 return new_page_nodemask(p, nid, &node_states[N_MEMORY]); in new_page()
|
D | vmscan.c | 3904 for_each_node_state(nid, N_MEMORY) { in kswapd_cpu_online() 3959 for_each_node_state(nid, N_MEMORY) in kswapd_init()
|
D | migrate.c | 1593 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
/Linux-v4.19/drivers/base/ |
D | node.c | 258 node_state(node->dev.id, N_MEMORY)) { in hugetlb_register_node() 630 [N_MEMORY] = _NODE_ATTR(has_memory, N_MEMORY), 641 &node_state_attr[N_MEMORY].attr.attr,
|
/Linux-v4.19/include/linux/ |
D | nodemask.h | 400 N_MEMORY, /* The node has memory(regular, high, movable) */ enumerator 437 #define first_memory_node first_node(node_states[N_MEMORY]) 444 return next_node(nid, node_states[N_MEMORY]); in next_memory_node()
|
D | cpuset.h | 194 #define cpuset_current_mems_allowed (node_states[N_MEMORY])
|
/Linux-v4.19/kernel/cgroup/ |
D | cpuset.c | 381 while (!nodes_intersects(cs->effective_mems, node_states[N_MEMORY])) in guarantee_online_mems() 383 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems() 2308 new_mems = node_states[N_MEMORY]; in cpuset_hotplug_workfn() 2401 top_cpuset.mems_allowed = node_states[N_MEMORY]; in cpuset_init_smp() 2405 top_cpuset.effective_mems = node_states[N_MEMORY]; in cpuset_init_smp()
|
/Linux-v4.19/fs/proc/ |
D | task_mmu.c | 1624 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats() 1649 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats_pmd() 1797 for_each_node_state(nid, N_MEMORY) in show_numa_map()
|
D | kcore.c | 221 for_each_node_state(nid, N_MEMORY) { in kcore_ram_list()
|
/Linux-v4.19/arch/x86/mm/ |
D | init_64.c | 760 node_clear_state(0, N_MEMORY); in paging_init() 761 if (N_MEMORY != N_NORMAL_MEMORY) in paging_init()
|
/Linux-v4.19/init/ |
D | main.c | 1126 set_mems_allowed(node_states[N_MEMORY]); in kernel_init_freeable()
|
/Linux-v4.19/kernel/ |
D | kthread.c | 567 set_mems_allowed(node_states[N_MEMORY]); in kthreadd()
|
/Linux-v4.19/Documentation/ |
D | memory-hotplug.txt | 479 - status_change_nid is set node id when N_MEMORY of nodemask is (will be)
|
/Linux-v4.19/Documentation/cgroup-v1/ |
D | cpusets.txt | 221 automatically tracks the value of node_states[N_MEMORY]--i.e.,
|