Home
last modified time | relevance | path

Searched refs:node_start_pfn (Results 1 – 21 of 21) 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 \
105 (((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/m68k/include/asm/
Dpage_mm.h159 pgdat->node_mem_map + (__pfn - pgdat->node_start_pfn); \
165 ((__p) - pgdat->node_mem_map) + pgdat->node_start_pfn; \
/arch/tile/include/asm/
Dmmzone.h55 extern unsigned long node_start_pfn[];
/arch/metag/include/asm/
Dmmzone.h15 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) in pfn_to_nid()
/arch/tile/kernel/
Dsetup.c62 unsigned long node_start_pfn[MAX_NUMNODES]; variable
301 node_end_pfn[i] - node_start_pfn[i]; in setup_pa_va_mapping()
305 unsigned long start = node_start_pfn[i]; in setup_pa_va_mapping()
354 HV_PhysAddr pa = ((HV_PhysAddr)node_start_pfn[i]) << PAGE_SHIFT; in store_permanent_mappings()
361 unsigned long pages = high_mapped_pa - node_start_pfn[i]; in store_permanent_mappings()
502 node_start_pfn[i] = start; in setup_memory()
529 int size = node_end_pfn[i] - node_start_pfn[i]; in setup_memory()
532 node_end_pfn[i] = node_start_pfn[i] + cap_each; in setup_memory()
576 node_start_pfn[i] = 0; in setup_memory()
583 int pages = node_end_pfn[i] - node_start_pfn[i]; in setup_memory()
[all …]
Dpci_gx.c983 unsigned long start_pfn = node_start_pfn[j]; in pcibios_init()
/arch/sh/include/asm/
Dmmzone.h17 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) in pfn_to_nid()
/arch/metag/mm/
Dinit.c135 NODE_DATA(nid)->node_start_pfn = start_pfn; in allocate_pgdat()
157 total_pages = bootmem_bootmap_pages(end_pfn - p->node_start_pfn); in bootmem_init_one_node()
163 init_bootmem_node(p, paddr >> PAGE_SHIFT, p->node_start_pfn, end_pfn); in bootmem_init_one_node()
Dnuma.c55 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node()
/arch/sh/mm/
Dnuma.c52 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node()
Dinit.c218 NODE_DATA(nid)->node_start_pfn = start_pfn; in allocate_pgdat()
242 init_bootmem_node(p, paddr >> PAGE_SHIFT, p->node_start_pfn, end_pfn); in bootmem_init_one_node()
/arch/mips/include/asm/
Dpage.h236 ((__n >= 0) ? (__pfn < NODE_DATA(__n)->node_start_pfn + \
/arch/mips/loongson64/loongson-3/
Dnuma.c201 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
/arch/ia64/mm/
Dinit.c382 end_address = (unsigned long) &vmem_map[pgdat->node_start_pfn + i]; in vmemmap_find_next_valid_pfn()
427 return hole_next_pfn - pgdat->node_start_pfn; in vmemmap_find_next_valid_pfn()
/arch/tile/mm/
Dinit.c453 pfn = node_start_pfn[i]; in kernel_physical_mapping_init()
832 pfn_to_kaddr(node->node_start_pfn); in mem_init()
/arch/arm64/mm/
Dnuma.c245 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data()
/arch/mips/sgi-ip27/
Dip27-memory.c404 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
/arch/powerpc/mm/
Dnuma.c903 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data()
/arch/x86/kernel/apic/
Dx2apic_uv_x.c1460 paddr = node_start_pfn(nodeid) << PAGE_SHIFT; in uv_system_init()
/arch/sparc/mm/
Dinit_64.c935 p->node_start_pfn = start_pfn; in allocate_node_data()