/linux-6.3-rc2/mm/ |
A D | memory-tiers.c | 335 for_each_node_state(node, N_MEMORY) { in disable_all_demotion_targets() 374 for_each_node_state(node, N_MEMORY) { in establish_demotion_targets() 392 nodes_andnot(tier_nodes, node_states[N_MEMORY], tier_nodes); in establish_demotion_targets() 440 lower_tier = node_states[N_MEMORY]; in establish_demotion_targets() 485 if (!node_state(node, N_MEMORY)) in set_node_memory_tier() 656 for_each_node_state(node, N_MEMORY) { in memory_tier_init()
|
A D | hugetlb_cgroup.c | 480 for_each_node_state(nid, N_MEMORY) in hugetlb_cgroup_read_numa_stat() 485 for_each_node_state(nid, N_MEMORY) in hugetlb_cgroup_read_numa_stat() 503 for_each_node_state(nid, N_MEMORY) { in hugetlb_cgroup_read_numa_stat()
|
A D | memory_hotplug.c | 627 if (!node_state(nid, N_MEMORY)) in node_states_check_changes_online() 639 node_set_state(node, N_MEMORY); in node_states_set_node() 1688 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range() 1776 node_clear_state(node, N_MEMORY); in node_states_clear_node()
|
A D | page_ext.c | 498 for_each_node_state(nid, N_MEMORY) { in page_ext_init()
|
A D | page_alloc.c | 237 [N_MEMORY] = { { [0] = 1UL } }, 2282 for_each_node_state(nid, N_MEMORY) { in page_alloc_init_late() 2304 for_each_node_state(nid, N_MEMORY) in page_alloc_init_late() 6431 for_each_node_state(n, N_MEMORY) { in find_next_best_node() 8063 node_set_state(nid, N_MEMORY); in early_calculate_totalpages() 8080 nodemask_t saved_node_state = node_states[N_MEMORY]; in find_zone_movable_pfns_for_nodes() 8082 int usable_nodes = nodes_weight(node_states[N_MEMORY]); in find_zone_movable_pfns_for_nodes() 8185 for_each_node_state(nid, N_MEMORY) { in find_zone_movable_pfns_for_nodes() 8285 node_states[N_MEMORY] = saved_node_state; in find_zone_movable_pfns_for_nodes() 8435 node_set_state(nid, N_MEMORY); in free_area_init() [all …]
|
A D | mempolicy.c | 239 cpuset_current_mems_allowed, node_states[N_MEMORY]); in mpol_set_nodemask() 2929 for_each_node_state(nid, N_MEMORY) { in numa_policy_init() 3002 if (!nodes_subset(nodes, node_states[N_MEMORY])) in mpol_parse_str() 3033 nodes = node_states[N_MEMORY]; in mpol_parse_str()
|
A D | vmstat.c | 1622 if (!node_state(pgdat->node_id, N_MEMORY)) in pagetypeinfo_show() 2179 if (!node_state(pgdat->node_id, N_MEMORY)) in unusable_show()
|
A D | oom_kill.c | 286 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc()
|
A D | hugetlb.c | 2639 page = remove_pool_huge_page(h, &node_states[N_MEMORY], 1); in return_unused_surplus_pages() 3166 for_each_node_mask_to_alloc(h, nr_nodes, node, &node_states[N_MEMORY]) { in __alloc_bootmem_huge_page() 3235 &node_states[N_MEMORY], NULL); in hugetlb_hstate_alloc_pages_onenode() 3299 &node_states[N_MEMORY], in hugetlb_hstate_alloc_pages() 3738 n_mask = &node_states[N_MEMORY]; in __nr_hugepages_store_common() 3897 n_mask = &node_states[N_MEMORY]; in demote_store()
|
A D | compaction.c | 3052 for_each_node_state(nid, N_MEMORY) { in kcompactd_cpu_online() 3079 for_each_node_state(nid, N_MEMORY) in kcompactd_init()
|
A D | memcontrol.c | 4021 for_each_node_state(nid, N_MEMORY) in memcg_numa_stat_show() 4033 for_each_node_state(nid, N_MEMORY) in memcg_numa_stat_show() 5565 for_each_node_state(nid, N_MEMORY) { in mem_cgroup_css_rstat_flush() 6606 for_each_node_state(nid, N_MEMORY) { in memory_numa_stat_show()
|
A D | vmscan.c | 3365 for_each_node_state(nid, N_MEMORY) { in lru_gen_add_mm() 5765 for_each_node_state(nid, N_MEMORY) { in lru_gen_seq_start() 5972 if (nid < 0 || nid >= MAX_NUMNODES || !node_state(nid, N_MEMORY)) in run_cmd() 7857 for_each_node_state(nid, N_MEMORY) in kswapd_init()
|
A D | migrate.c | 2227 if (!node_state(node, N_MEMORY)) in do_pages_move()
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | memory-hotplug.rst | 76 - status_change_nid是当nodemask的N_MEMORY被(将)设置/清除时设置的节点id。这
|
/linux-6.3-rc2/include/linux/ |
A D | nodemask.h | 407 N_MEMORY, /* The node has memory(regular, high, movable) */ enumerator 445 #define first_memory_node first_node(node_states[N_MEMORY]) 452 return next_node(nid, node_states[N_MEMORY]); in next_memory_node()
|
A D | cpuset.h | 218 #define cpuset_current_mems_allowed (node_states[N_MEMORY])
|
/linux-6.3-rc2/drivers/base/ |
A D | node.c | 921 [N_MEMORY] = _NODE_ATTR(has_memory, N_MEMORY), 934 &node_state_attr[N_MEMORY].attr.attr,
|
/linux-6.3-rc2/Documentation/core-api/ |
A D | memory-hotplug.rst | 67 - status_change_nid is set node id when N_MEMORY of nodemask is (will be)
|
/linux-6.3-rc2/Documentation/mm/ |
A D | physical_memory.rst | 151 ``N_MEMORY`` 165 node_states[N_MEMORY]
|
/linux-6.3-rc2/kernel/cgroup/ |
A 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() 3556 new_mems = node_states[N_MEMORY]; in cpuset_hotplug_workfn() 3681 top_cpuset.effective_mems = node_states[N_MEMORY]; in cpuset_init_smp()
|
/linux-6.3-rc2/fs/proc/ |
A D | task_mmu.c | 1833 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats() 1858 if (!node_isset(nid, node_states[N_MEMORY])) in can_gather_numa_stats_pmd() 2003 for_each_node_state(nid, N_MEMORY) in show_numa_map()
|
A D | kcore.c | 241 for_each_node_state(nid, N_MEMORY) { in kcore_ram_list()
|
/linux-6.3-rc2/kernel/ |
A D | kthread.c | 726 set_mems_allowed(node_states[N_MEMORY]); in kthreadd()
|
/linux-6.3-rc2/init/ |
A D | main.c | 1611 set_mems_allowed(node_states[N_MEMORY]); in kernel_init_freeable()
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | init_64.c | 824 node_clear_state(0, N_MEMORY); in paging_init()
|