Searched refs:node_start_pfn (Results 1 – 21 of 21) sorted by relevance
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 \105 (((pfn) - node_start_pfn(pfn_to_nid(pfn))) < \
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()
159 pgdat->node_mem_map + (__pfn - pgdat->node_start_pfn); \165 ((__p) - pgdat->node_mem_map) + pgdat->node_start_pfn; \
55 extern unsigned long node_start_pfn[];
15 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) in pfn_to_nid()
62 unsigned long node_start_pfn[MAX_NUMNODES]; variable301 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 …]
983 unsigned long start_pfn = node_start_pfn[j]; in pcibios_init()
17 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) in pfn_to_nid()
135 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()
55 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node()
52 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node()
218 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()
236 ((__n >= 0) ? (__pfn < NODE_DATA(__n)->node_start_pfn + \
201 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
382 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()
453 pfn = node_start_pfn[i]; in kernel_physical_mapping_init()832 pfn_to_kaddr(node->node_start_pfn); in mem_init()
245 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data()
404 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
903 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data()
1460 paddr = node_start_pfn(nodeid) << PAGE_SHIFT; in uv_system_init()
935 p->node_start_pfn = start_pfn; in allocate_node_data()