/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | memory_model.h | 23 ((pfn) - NODE_DATA(nid)->node_start_pfn) 41 NODE_DATA(__nid)->node_mem_map + arch_local_page_offset(__pfn, __nid);\ 46 struct pglist_data *__pgdat = NODE_DATA(page_to_nid(__pg)); \
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | mmzone.h | 7 #define NODE_DATA(nid) (&pg_data_map[nid]) macro 8 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | mmzone.h | 31 #define NODE_DATA(nid) (&node_data[(nid)]) macro 33 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn) 65 ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | setup_percpu.c | 76 if (node_online(node) && NODE_DATA(node) && in pcpu_need_numa() 77 last && last != NODE_DATA(node)) in pcpu_need_numa() 80 last = NODE_DATA(node); in pcpu_need_numa() 108 if (!node_online(node) || !NODE_DATA(node)) { in pcpu_alloc_bootmem()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/alpha/mm/ |
D | numa.c | 137 DBGDCONT(" DISCONTIG: node_data[%d] is at 0x%p\n", nid, NODE_DATA(nid)); in setup_memory_node() 154 NODE_DATA(nid)->node_start_pfn = node_min_pfn; in setup_memory_node() 155 NODE_DATA(nid)->node_present_pages = node_max_pfn - node_min_pfn; in setup_memory_node()
|
/kernel/linux/linux-5.10/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 | page_ext.c | 128 base = NODE_DATA(page_to_nid(page))->node_page_ext; in lookup_page_ext() 148 nr_pages = NODE_DATA(nid)->node_spanned_pages; in alloc_node_page_ext() 168 NODE_DATA(nid)->node_page_ext = base; in alloc_node_page_ext()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | numa.c | 247 memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); in setup_node_data() 248 NODE_DATA(nid)->node_id = nid; in setup_node_data() 249 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data() 250 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_node_data()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | mmzone.h | 14 #define NODE_DATA(nid) (node_data[nid]) macro
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[(nid)]) macro
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | mmzone_64.h | 15 #define NODE_DATA(nid) (node_data[nid]) macro
|
D | mmzone_32.h | 14 #define NODE_DATA(nid) (node_data[nid]) macro
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | mmzone.h | 11 #define NODE_DATA(nid) (node_data[nid]) macro
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | page.h | 242 ((__n >= 0) ? (__pfn < NODE_DATA(__n)->node_start_pfn + \ 243 NODE_DATA(__n)->node_spanned_pages) \
|
/kernel/linux/linux-5.10/include/linux/ |
D | mmzone.h | 848 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) 849 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) 855 #define nid_page_nr(nid, pagenr) pgdat_page_nr(NODE_DATA(nid),(pagenr)) 857 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) 858 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid)) 1039 #define NODE_DATA(nid) (&contig_page_data) macro
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/ |
D | mmzone.h | 19 #define NODE_DATA(n) (__node_data[n]) macro
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | nodedata.h | 47 #define NODE_DATA(nid) (local_node_data->pg_data_ptrs[nid]) macro
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | mmzone.h | 12 #define NODE_DATA(nid) (&node_data[nid]) macro
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | mmzone.h | 27 #define NODE_DATA(nid) (node_data[nid]) macro
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ip27/ |
D | mmzone.h | 25 #define NODE_DATA(n) (&__node_data[(n)]->pglist) macro
|
/kernel/linux/linux-5.10/arch/c6x/mm/ |
D | init.c | 35 struct pglist_data *pgdat = NODE_DATA(0); in paging_init()
|