/linux-6.12.1/arch/s390/kernel/ |
D | numa.c | 25 NODE_DATA(nid) = memblock_alloc(sizeof(pg_data_t), 8); in numa_setup() 26 if (!NODE_DATA(nid)) in numa_setup() 30 NODE_DATA(0)->node_spanned_pages = memblock_end_of_DRAM() >> PAGE_SHIFT; in numa_setup() 31 NODE_DATA(0)->node_id = 0; in numa_setup()
|
/linux-6.12.1/arch/sh/mm/ |
D | numa.c | 41 NODE_DATA(nid) = memblock_alloc_node(sizeof(struct pglist_data), in setup_bootmem_node() 43 if (!NODE_DATA(nid)) in setup_bootmem_node() 48 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node() 49 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_bootmem_node()
|
D | init.c | 218 NODE_DATA(nid)->node_start_pfn = start_pfn; in allocate_pgdat() 219 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in allocate_pgdat()
|
/linux-6.12.1/arch/x86/kernel/ |
D | setup_percpu.c | 73 if (node_online(node) && NODE_DATA(node) && in pcpu_need_numa() 74 last && last != NODE_DATA(node)) in pcpu_need_numa() 77 last = NODE_DATA(node); in pcpu_need_numa()
|
/linux-6.12.1/mm/ |
D | mmzone.c | 15 return NODE_DATA(first_online_node); in first_online_pgdat() 24 return NODE_DATA(nid); in next_online_pgdat()
|
D | mm_init.c | 51 pg_data_t *pgdat = NODE_DATA(nid); in mminit_verify_zonelist() 662 if (node_online(nid) && pfn >= NODE_DATA(nid)->first_deferred_pfn) in early_page_initialised() 681 if (end_pfn < pgdat_end_pfn(NODE_DATA(nid))) in defer_init() 684 if (NODE_DATA(nid)->first_deferred_pfn != ULONG_MAX) in defer_init() 703 NODE_DATA(nid)->first_deferred_pfn = pfn; in defer_init() 717 pgdat = NODE_DATA(nid); in init_reserved_page() 947 struct pglist_data *node = NODE_DATA(nid); in memmap_init() 1389 zone->zone_pgdat = NODE_DATA(nid); in zone_init_internals() 1632 if (pgdat == NODE_DATA(0)) { in alloc_node_mem_map() 1633 mem_map = NODE_DATA(0)->node_mem_map; in alloc_node_mem_map() [all …]
|
D | page_ext.c | 175 base = NODE_DATA(page_to_nid(page))->node_page_ext; in lookup_page_ext() 195 nr_pages = NODE_DATA(nid)->node_spanned_pages; in alloc_node_page_ext() 215 NODE_DATA(nid)->node_page_ext = base; in alloc_node_page_ext()
|
D | numa.c | 34 memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); in alloc_node_data()
|
D | memory-tiers.c | 264 pgdat = NODE_DATA(node); in __node_get_memory_tier() 283 pgdat = NODE_DATA(node); in node_is_toptier() 537 pg_data_t *pgdat = NODE_DATA(node); in set_node_memory_tier() 576 pgdat = NODE_DATA(node); in clear_node_memory_tier()
|
D | memremap.c | 254 zone = &NODE_DATA(nid)->node_zones[ZONE_DEVICE]; in pagemap_range() 268 memmap_init_zone_device(&NODE_DATA(nid)->node_zones[ZONE_DEVICE], in pagemap_range()
|
D | memory_hotplug.c | 853 pg_data_t *pgdat = NODE_DATA(nid); in auto_movable_can_online_movable() 895 struct pglist_data *pgdat = NODE_DATA(nid); in default_kernel_zone_for_pfn() 1014 return &NODE_DATA(nid)->node_zones[ZONE_MOVABLE]; in auto_movable_zone_for_pfn() 1024 struct zone *movable_zone = &NODE_DATA(nid)->node_zones[ZONE_MOVABLE]; in default_zone_for_pfn() 1051 return &NODE_DATA(nid)->node_zones[ZONE_MOVABLE]; in zone_for_pfn_range() 1246 pgdat = NODE_DATA(nid); in hotadd_init_pgdat()
|
D | workingset.c | 225 *pgdat = NODE_DATA(nid); in unpack_shadow() 694 lruvec = mem_cgroup_lruvec(sc->memcg, NODE_DATA(sc->nid)); in count_shadow_nodes()
|
D | compaction.c | 2932 ret = compact_node(NODE_DATA(nid), false); in compact_nodes() 2951 pg_data_t *pgdat = NODE_DATA(nid); in compaction_proactiveness_sysctl_handler() 2999 compact_node(NODE_DATA(nid), false); in compact_store() 3231 pg_data_t *pgdat = NODE_DATA(nid); in kcompactd_run() 3249 struct task_struct *kcompactd = NODE_DATA(nid)->kcompactd; in kcompactd_stop() 3253 NODE_DATA(nid)->kcompactd = NULL; in kcompactd_stop() 3268 pg_data_t *pgdat = NODE_DATA(nid); in kcompactd_cpu_online()
|
D | sparse.c | 363 struct pglist_data *pgdat = NODE_DATA(nid); in check_usemap_section_nr() 513 usage = sparse_early_usemaps_alloc_pgdat_section(NODE_DATA(nid), in sparse_init_nid()
|
/linux-6.12.1/drivers/base/ |
D | arch_numa.c | 202 NODE_DATA(nid)->node_id = nid; in setup_node_data() 203 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data() 204 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_node_data()
|
D | node.c | 375 struct pglist_data *pgdat = NODE_DATA(nid); in node_read_meminfo() 520 struct pglist_data *pgdat = NODE_DATA(nid); in node_read_vmstat()
|
/linux-6.12.1/arch/mips/loongson64/ |
D | numa.c | 97 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init() 98 NODE_DATA(node)->node_spanned_pages = end_pfn - start_pfn; in node_mem_init()
|
/linux-6.12.1/mm/kmsan/ |
D | init.c | 91 NODE_DATA(nid), (char *)NODE_DATA(nid) + nd_size); in kmsan_init_shadow()
|
/linux-6.12.1/arch/sh/include/asm/ |
D | mmzone.h | 21 return NODE_DATA(pfn_to_nid(pfn)); in pfn_to_pgdat()
|
/linux-6.12.1/include/linux/ |
D | mmzone.h | 1440 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) 1441 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) 1443 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) 1444 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid)) 1583 static inline struct pglist_data *NODE_DATA(int nid) in NODE_DATA() function 1746 zonelist = &NODE_DATA(nid)->node_zonelists[ZONELIST_FALLBACK]; in movable_only_nodes()
|
D | numa.h | 34 #define NODE_DATA(nid) (node_data[nid]) macro
|
D | node.h | 130 struct pglist_data *pgdat = NODE_DATA(nid); in register_one_node()
|
/linux-6.12.1/arch/mips/sgi-ip27/ |
D | ip27-memory.c | 365 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init() 366 NODE_DATA(node)->node_spanned_pages = end_pfn - start_pfn; in node_mem_init()
|
/linux-6.12.1/mm/damon/ |
D | paddr.c | 438 NODE_DATA(nid), in damon_pa_migrate_pages() 444 NODE_DATA(nid), in damon_pa_migrate_pages()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | numa.c | 1099 NODE_DATA(nid)->node_id = nid; in setup_node_data() 1100 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data() 1101 NODE_DATA(nid)->node_spanned_pages = spanned_pages; in setup_node_data()
|