Lines Matching refs:end_pfn
90 static int __init fake_numa_create_new_node(unsigned long end_pfn, in fake_numa_create_new_node() argument
121 if ((end_pfn << PAGE_SHIFT) > mem) { in fake_numa_create_new_node()
808 unsigned long start_pfn, end_pfn; in setup_nonnuma() local
819 end_pfn = memblock_region_memory_end_pfn(reg); in setup_nonnuma()
821 fake_numa_create_new_node(end_pfn, &nid); in setup_nonnuma()
823 PFN_PHYS(end_pfn - start_pfn), in setup_nonnuma()
865 static void __init setup_node_data(int nid, u64 start_pfn, u64 end_pfn) in setup_node_data() argument
867 u64 spanned_pages = end_pfn - start_pfn; in setup_node_data()
939 unsigned long start_pfn, end_pfn; in initmem_init() local
941 get_pfn_range_for_nid(nid, &start_pfn, &end_pfn); in initmem_init()
942 setup_node_data(nid, start_pfn, end_pfn); in initmem_init()