Searched refs:node_start_pfn (Results 1 – 23 of 23) sorted by relevance
/arch/alpha/include/asm/ |
D | mmzone.h | 34 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn) 38 (((p) >> PAGE_SHIFT) - PLAT_NODE_DATA(n)->gendata.node_start_pfn) 45 return temp - PLAT_NODE_DATA(n)->gendata.node_start_pfn; in PLAT_NODE_DATA_LOCALNR() 66 ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \ 107 (((pfn) - node_start_pfn(pfn_to_nid(pfn))) < \
|
/arch/m32r/include/asm/ |
D | mmzone.h | 16 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn) 41 if (pfn >= node_start_pfn(node) && pfn < node_end_pfn(node)) in pfn_to_nid()
|
/arch/tile/include/asm/ |
D | mmzone.h | 55 extern unsigned long node_start_pfn[];
|
/arch/sh/include/asm/ |
D | mmzone.h | 17 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) in pfn_to_nid()
|
/arch/m68k/include/asm/ |
D | page_mm.h | 162 pgdat->node_mem_map + (__pfn - pgdat->node_start_pfn); \ 168 ((__p) - pgdat->node_mem_map) + pgdat->node_start_pfn; \
|
/arch/tile/kernel/ |
D | setup.c | 56 unsigned long __cpuinitdata node_start_pfn[MAX_NUMNODES]; variable 224 node_end_pfn[i] - node_start_pfn[i]; in setup_pa_va_mapping() 228 unsigned long start = node_start_pfn[i]; in setup_pa_va_mapping() 277 HV_PhysAddr pa = ((HV_PhysAddr)node_start_pfn[i]) << PAGE_SHIFT; in store_permanent_mappings() 284 unsigned long pages = high_mapped_pa - node_start_pfn[i]; in store_permanent_mappings() 425 node_start_pfn[i] = start; in setup_memory() 452 int size = node_end_pfn[i] - node_start_pfn[i]; in setup_memory() 455 node_end_pfn[i] = node_start_pfn[i] + cap_each; in setup_memory() 503 node_start_pfn[i] = 0; in setup_memory() 510 int pages = node_end_pfn[i] - node_start_pfn[i]; in setup_memory() [all …]
|
/arch/sh/mm/ |
D | init.c | 218 NODE_DATA(nid)->node_start_pfn = start_pfn; in allocate_pgdat() 234 end_pfn = p->node_start_pfn + p->node_spanned_pages; in bootmem_init_one_node() 242 init_bootmem_node(p, paddr >> PAGE_SHIFT, p->node_start_pfn, end_pfn); in bootmem_init_one_node() 430 node_high_memory = (void *)__va((pgdat->node_start_pfn + in mem_init()
|
D | numa.c | 52 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node()
|
/arch/ia64/mm/ |
D | contig.c | 66 if (pfn_valid(pgdat->node_start_pfn + i)) in show_mem() 67 page = pfn_to_page(pgdat->node_start_pfn + i); in show_mem()
|
D | init.c | 374 end_address = (unsigned long) &vmem_map[pgdat->node_start_pfn + i]; in vmemmap_find_next_valid_pfn() 378 pgdat->node_start_pfn + pgdat->node_spanned_pages]; in vmemmap_find_next_valid_pfn() 421 return hole_next_pfn - pgdat->node_start_pfn; in vmemmap_find_next_valid_pfn()
|
D | discontig.c | 643 if (pfn_valid(pgdat->node_start_pfn + i)) in show_mem() 644 page = pfn_to_page(pgdat->node_start_pfn + i); in show_mem()
|
/arch/avr32/mm/ |
D | init.c | 126 node_high_memory = (void *)((pgdat->node_start_pfn in mem_init()
|
/arch/mips/include/asm/ |
D | page.h | 198 ((__n >= 0) ? (__pfn < NODE_DATA(__n)->node_start_pfn + \
|
/arch/tile/mm/ |
D | init.c | 497 pfn = node_start_pfn[i]; in kernel_physical_mapping_init() 751 BUG_ON(start != node_start_pfn[nid]); in set_non_bootmem_pages_init() 899 pfn_to_kaddr(node->node_start_pfn); in mem_init()
|
/arch/parisc/mm/ |
D | init.c | 615 for (pfn = node_start_pfn(i); pfn < node_end_pfn(i); pfn++) { in mem_init() 707 for (j = node_start_pfn(i); j < node_end_pfn(i); j++) { in show_mem() 712 p = nid_page_nr(i, j) - node_start_pfn(i); in show_mem()
|
/arch/powerpc/mm/ |
D | numa.c | 961 unsigned long node_end_pfn = node->node_start_pfn + in mark_reserved_regions_for_nid() 971 if (end_pfn <= node->node_start_pfn || in mark_reserved_regions_for_nid() 1053 NODE_DATA(nid)->node_start_pfn = start_pfn; in do_init_bootmem()
|
D | mem.c | 324 if (!pfn_valid(pgdat->node_start_pfn + i)) in mem_init()
|
/arch/alpha/mm/ |
D | numa.c | 340 pfn = NODE_DATA(nid)->node_start_pfn; in mem_init()
|
/arch/microblaze/mm/ |
D | init.c | 290 if (!pfn_valid(pgdat->node_start_pfn + i)) in mem_init()
|
/arch/mips/sgi-ip27/ |
D | ip27-memory.c | 406 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
|
/arch/sparc/mm/ |
D | init_64.c | 841 p->node_start_pfn = start_pfn; in allocate_node_data() 1347 end_pfn = p->node_start_pfn + p->node_spanned_pages; in bootmem_init_one_node() 1350 nid, paddr >> PAGE_SHIFT, p->node_start_pfn, end_pfn); in bootmem_init_one_node() 1353 p->node_start_pfn, end_pfn); in bootmem_init_one_node()
|
/arch/x86/mm/ |
D | numa.c | 234 NODE_DATA(nid)->node_start_pfn = start >> PAGE_SHIFT; in setup_node_data()
|
/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 869 paddr = node_start_pfn(nid) << PAGE_SHIFT; in uv_system_init()
|