Home
last modified time | relevance | path

Searched refs:NODE_DATA (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.12.1/arch/s390/kernel/
Dnuma.c25 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/
Dnuma.c41 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()
Dinit.c218 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/
Dsetup_percpu.c73 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/
Dmmzone.c15 return NODE_DATA(first_online_node); in first_online_pgdat()
24 return NODE_DATA(nid); in next_online_pgdat()
Dmm_init.c51 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 …]
Dpage_ext.c175 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()
Dnuma.c34 memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); in alloc_node_data()
Dmemory-tiers.c264 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()
Dmemremap.c254 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()
Dmemory_hotplug.c853 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()
Dworkingset.c225 *pgdat = NODE_DATA(nid); in unpack_shadow()
694 lruvec = mem_cgroup_lruvec(sc->memcg, NODE_DATA(sc->nid)); in count_shadow_nodes()
Dcompaction.c2932 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()
Dsparse.c363 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/
Darch_numa.c202 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()
Dnode.c375 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/
Dnuma.c97 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/
Dinit.c91 NODE_DATA(nid), (char *)NODE_DATA(nid) + nd_size); in kmsan_init_shadow()
/linux-6.12.1/arch/sh/include/asm/
Dmmzone.h21 return NODE_DATA(pfn_to_nid(pfn)); in pfn_to_pgdat()
/linux-6.12.1/include/linux/
Dmmzone.h1440 #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()
Dnuma.h34 #define NODE_DATA(nid) (node_data[nid]) macro
Dnode.h130 struct pglist_data *pgdat = NODE_DATA(nid); in register_one_node()
/linux-6.12.1/arch/mips/sgi-ip27/
Dip27-memory.c365 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/
Dpaddr.c438 NODE_DATA(nid), in damon_pa_migrate_pages()
444 NODE_DATA(nid), in damon_pa_migrate_pages()
/linux-6.12.1/arch/powerpc/mm/
Dnuma.c1099 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()

12