Home
last modified time | relevance | path

Searched refs:N_MEMORY (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/mm/
Dmemory_hotplug.c701 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()
Dpage_isolation.c314 return new_page_nodemask(page, numa_node_id(), &node_states[N_MEMORY]); in alloc_migrate_target()
Dpage_ext.c381 for_each_node_state(nid, N_MEMORY) { in page_ext_init()
Dmempolicy.c213 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()
Dpage_alloc.c118 [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 …]
Dhugetlb.c1820 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()
Dcompaction.c2126 for_each_node_state(nid, N_MEMORY) { in kcompactd_cpu_online()
2152 for_each_node_state(nid, N_MEMORY) in kcompactd_init()
Doom_kill.c293 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc()
Dvmstat.c1501 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show()
2039 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
Dmemcontrol.c744 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()
Dmemory-failure.c1615 return new_page_nodemask(p, nid, &node_states[N_MEMORY]); in new_page()
Dvmscan.c3904 for_each_node_state(nid, N_MEMORY) { in kswapd_cpu_online()
3959 for_each_node_state(nid, N_MEMORY) in kswapd_init()
Dmigrate.c1593 if (!node_state(node, N_MEMORY)) in do_pages_move()
/Linux-v4.19/drivers/base/
Dnode.c258 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/
Dnodemask.h400 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()
Dcpuset.h194 #define cpuset_current_mems_allowed (node_states[N_MEMORY])
/Linux-v4.19/kernel/cgroup/
Dcpuset.c381 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/
Dtask_mmu.c1624 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()
Dkcore.c221 for_each_node_state(nid, N_MEMORY) { in kcore_ram_list()
/Linux-v4.19/arch/x86/mm/
Dinit_64.c760 node_clear_state(0, N_MEMORY); in paging_init()
761 if (N_MEMORY != N_NORMAL_MEMORY) in paging_init()
/Linux-v4.19/init/
Dmain.c1126 set_mems_allowed(node_states[N_MEMORY]); in kernel_init_freeable()
/Linux-v4.19/kernel/
Dkthread.c567 set_mems_allowed(node_states[N_MEMORY]); in kthreadd()
/Linux-v4.19/Documentation/
Dmemory-hotplug.txt479 - status_change_nid is set node id when N_MEMORY of nodemask is (will be)
/Linux-v4.19/Documentation/cgroup-v1/
Dcpusets.txt221 automatically tracks the value of node_states[N_MEMORY]--i.e.,