/linux/arch/s390/kernel/ |
A 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/arch/sh/mm/ |
A 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()
|
A 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/arch/x86/kernel/ |
A 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()
|
/linux/arch/sh/include/asm/ |
A 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/mm/ |
A D | mmzone.c | 15 return NODE_DATA(first_online_node); in first_online_pgdat() 24 return NODE_DATA(nid); in next_online_pgdat()
|
A D | page_ext.c | 138 base = NODE_DATA(page_to_nid(page))->node_page_ext; in lookup_page_ext() 158 nr_pages = NODE_DATA(nid)->node_spanned_pages; in alloc_node_page_ext() 178 NODE_DATA(nid)->node_page_ext = base; in alloc_node_page_ext()
|
A D | memory_hotplug.c | 778 pg_data_t *pgdat = NODE_DATA(nid); in auto_movable_can_online_movable() 829 struct pglist_data *pgdat = NODE_DATA(nid); in default_kernel_zone_for_pfn() 948 return &NODE_DATA(nid)->node_zones[ZONE_MOVABLE]; in auto_movable_zone_for_pfn() 958 struct zone *movable_zone = &NODE_DATA(nid)->node_zones[ZONE_MOVABLE]; in default_zone_for_pfn() 985 return &NODE_DATA(nid)->node_zones[ZONE_MOVABLE]; in zone_for_pfn_range() 1169 pgdat = NODE_DATA(nid); in hotadd_new_pgdat() 1222 pg_data_t *pgdat = NODE_DATA(nid); in rollback_node_hotadd() 2088 pg_data_t *pgdat = NODE_DATA(nid); in try_offline_node()
|
A D | workingset.c | 214 *pgdat = NODE_DATA(nid); in unpack_shadow() 497 lruvec = mem_cgroup_lruvec(sc->memcg, NODE_DATA(sc->nid)); in count_shadow_nodes()
|
/linux/include/linux/ |
A D | mmzone.h | 921 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) 922 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) 928 #define nid_page_nr(nid, pagenr) pgdat_page_nr(NODE_DATA(nid),(pagenr)) 930 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) 931 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid)) 1091 static inline struct pglist_data *NODE_DATA(int nid) in NODE_DATA() function 1255 zonelist = &NODE_DATA(nid)->node_zonelists[ZONELIST_FALLBACK]; in movable_only_nodes()
|
/linux/drivers/base/ |
A D | arch_numa.c | 308 memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); in setup_node_data() 309 NODE_DATA(nid)->node_id = nid; in setup_node_data() 310 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data() 311 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_node_data()
|
/linux/arch/mips/loongson64/ |
A 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/arch/mips/include/asm/ |
A D | page.h | 248 ((__n >= 0) ? (__pfn < NODE_DATA(__n)->node_start_pfn + \ 249 NODE_DATA(__n)->node_spanned_pages) \
|
/linux/arch/x86/include/asm/ |
A D | mmzone_32.h | 14 #define NODE_DATA(nid) (node_data[nid]) macro
|
A D | mmzone_64.h | 15 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux/arch/riscv/include/asm/ |
A D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[(nid)]) macro
|
/linux/arch/s390/include/asm/ |
A D | mmzone.h | 14 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux/arch/arm64/include/asm/ |
A D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[(nid)]) macro
|
/linux/arch/sparc/include/asm/ |
A D | mmzone.h | 11 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux/arch/mips/include/asm/mach-loongson64/ |
A D | mmzone.h | 19 #define NODE_DATA(n) (__node_data[n]) macro
|
/linux/arch/ia64/include/asm/ |
A D | nodedata.h | 47 #define NODE_DATA(nid) (local_node_data->pg_data_ptrs[nid]) macro
|
/linux/arch/powerpc/include/asm/ |
A D | mmzone.h | 27 #define NODE_DATA(nid) (node_data[nid]) macro
|
/linux/arch/mips/include/asm/mach-ip27/ |
A D | mmzone.h | 25 #define NODE_DATA(n) (&__node_data[(n)]->pglist) macro
|
/linux/arch/powerpc/mm/ |
A D | numa.c | 1102 memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); in setup_node_data() 1103 NODE_DATA(nid)->node_id = nid; in setup_node_data() 1104 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data() 1105 NODE_DATA(nid)->node_spanned_pages = spanned_pages; in setup_node_data() 1437 if (NODE_DATA(new_nid) == NULL) { in find_and_online_cpu_nid()
|
/linux/arch/mips/sgi-ip27/ |
A D | ip27-memory.c | 364 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init() 365 NODE_DATA(node)->node_spanned_pages = end_pfn - start_pfn; in node_mem_init()
|