Home
last modified time | relevance | path

Searched refs:node_start_pfn (Results 1 – 23 of 23) sorted by relevance

/arch/alpha/include/asm/
Dmmzone.h34 #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/
Dmmzone.h16 #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/
Dmmzone.h55 extern unsigned long node_start_pfn[];
/arch/sh/include/asm/
Dmmzone.h17 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) in pfn_to_nid()
/arch/m68k/include/asm/
Dpage_mm.h162 pgdat->node_mem_map + (__pfn - pgdat->node_start_pfn); \
168 ((__p) - pgdat->node_mem_map) + pgdat->node_start_pfn; \
/arch/tile/kernel/
Dsetup.c56 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/
Dinit.c218 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()
Dnuma.c52 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node()
/arch/ia64/mm/
Dcontig.c66 if (pfn_valid(pgdat->node_start_pfn + i)) in show_mem()
67 page = pfn_to_page(pgdat->node_start_pfn + i); in show_mem()
Dinit.c374 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()
Ddiscontig.c643 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/
Dinit.c126 node_high_memory = (void *)((pgdat->node_start_pfn in mem_init()
/arch/mips/include/asm/
Dpage.h198 ((__n >= 0) ? (__pfn < NODE_DATA(__n)->node_start_pfn + \
/arch/tile/mm/
Dinit.c497 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/
Dinit.c615 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/
Dnuma.c961 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()
Dmem.c324 if (!pfn_valid(pgdat->node_start_pfn + i)) in mem_init()
/arch/alpha/mm/
Dnuma.c340 pfn = NODE_DATA(nid)->node_start_pfn; in mem_init()
/arch/microblaze/mm/
Dinit.c290 if (!pfn_valid(pgdat->node_start_pfn + i)) in mem_init()
/arch/mips/sgi-ip27/
Dip27-memory.c406 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
/arch/sparc/mm/
Dinit_64.c841 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/
Dnuma.c234 NODE_DATA(nid)->node_start_pfn = start >> PAGE_SHIFT; in setup_node_data()
/arch/x86/kernel/apic/
Dx2apic_uv_x.c869 paddr = node_start_pfn(nid) << PAGE_SHIFT; in uv_system_init()