/linux-6.6.21/arch/s390/kernel/ |
D | numa.c | 28 NODE_DATA(nid) = memblock_alloc(sizeof(pg_data_t), 8); in numa_setup() 29 if (!NODE_DATA(nid)) in numa_setup() 33 NODE_DATA(0)->node_spanned_pages = memblock_end_of_DRAM() >> PAGE_SHIFT; in numa_setup() 34 NODE_DATA(0)->node_id = 0; in numa_setup()
|
/linux-6.6.21/arch/sh/mm/ |
D | numa.c | 44 NODE_DATA(nid) = memblock_alloc_node(sizeof(struct pglist_data), in setup_bootmem_node() 46 if (!NODE_DATA(nid)) in setup_bootmem_node() 51 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node() 52 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_bootmem_node()
|
D | init.c | 215 NODE_DATA(nid) = memblock_alloc_try_nid( in allocate_pgdat() 219 if (!NODE_DATA(nid)) in allocate_pgdat() 223 NODE_DATA(nid)->node_start_pfn = start_pfn; in allocate_pgdat() 224 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in allocate_pgdat()
|
/linux-6.6.21/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.6.21/arch/sh/include/asm/ |
D | mmzone.h | 9 #define NODE_DATA(nid) (node_data[nid]) macro 24 return NODE_DATA(pfn_to_nid(pfn)); in pfn_to_pgdat()
|
/linux-6.6.21/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 | 48 pg_data_t *pgdat = NODE_DATA(nid); in mminit_verify_zonelist() 661 if (node_online(nid) && pfn >= NODE_DATA(nid)->first_deferred_pfn) in early_page_initialised() 688 if (end_pfn < pgdat_end_pfn(NODE_DATA(nid))) in defer_init() 691 if (NODE_DATA(nid)->first_deferred_pfn != ULONG_MAX) in defer_init() 700 NODE_DATA(nid)->first_deferred_pfn = pfn; in defer_init() 714 pgdat = NODE_DATA(nid); in init_reserved_page() 940 struct pglist_data *node = NODE_DATA(nid); in memmap_init() 1378 zone->zone_pgdat = NODE_DATA(nid); in zone_init_internals() 1673 if (pgdat == NODE_DATA(0)) { in alloc_node_mem_map() 1674 mem_map = NODE_DATA(0)->node_mem_map; in alloc_node_mem_map() [all …]
|
D | memory-tiers.c | 229 pgdat = NODE_DATA(node); in __node_get_memory_tier() 248 pgdat = NODE_DATA(node); in node_is_toptier() 479 pg_data_t *pgdat = NODE_DATA(node); in set_node_memory_tier() 509 pgdat = NODE_DATA(node); in clear_node_memory_tier()
|
D | page_ext.c | 162 base = NODE_DATA(page_to_nid(page))->node_page_ext; in lookup_page_ext() 182 nr_pages = NODE_DATA(nid)->node_spanned_pages; in alloc_node_page_ext() 202 NODE_DATA(nid)->node_page_ext = base; in alloc_node_page_ext()
|
/linux-6.6.21/drivers/base/ |
D | arch_numa.c | 244 memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); in setup_node_data() 245 NODE_DATA(nid)->node_id = nid; in setup_node_data() 246 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data() 247 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_node_data()
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | mmzone.h | 14 #define NODE_DATA(nid) (node_data[(nid)]) macro
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[(nid)]) macro
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[(nid)]) macro
|
/linux-6.6.21/arch/x86/include/asm/ |
D | mmzone_32.h | 14 #define NODE_DATA(nid) (node_data[nid]) macro
|
D | mmzone_64.h | 15 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux-6.6.21/arch/s390/include/asm/ |
D | mmzone.h | 14 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | mmzone.h | 11 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux-6.6.21/arch/mips/loongson64/ |
D | numa.c | 111 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init() 112 NODE_DATA(node)->node_spanned_pages = end_pfn - start_pfn; in node_mem_init()
|
/linux-6.6.21/arch/mips/include/asm/mach-loongson64/ |
D | mmzone.h | 19 #define NODE_DATA(n) (__node_data[n]) macro
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | mmzone.h | 27 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | nodedata.h | 47 #define NODE_DATA(nid) (local_node_data->pg_data_ptrs[nid]) macro
|
/linux-6.6.21/arch/mips/include/asm/mach-ip27/ |
D | mmzone.h | 25 #define NODE_DATA(n) (&__node_data[(n)]->pglist) macro
|
/linux-6.6.21/mm/kmsan/ |
D | init.c | 88 NODE_DATA(nid), (char *)NODE_DATA(nid) + nd_size); in kmsan_init_shadow()
|
/linux-6.6.21/include/linux/ |
D | mmzone.h | 1407 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) 1408 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) 1410 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) 1411 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid)) 1550 static inline struct pglist_data *NODE_DATA(int nid) in NODE_DATA() function 1713 zonelist = &NODE_DATA(nid)->node_zonelists[ZONELIST_FALLBACK]; in movable_only_nodes()
|
D | node.h | 119 struct pglist_data *pgdat = NODE_DATA(nid); in register_one_node()
|