Lines Matching refs:altmap
851 struct vmem_altmap *altmap, int migratetype) in memmap_init_range() argument
868 if (!altmap) in memmap_init_range()
871 if (start_pfn == altmap->base_pfn) in memmap_init_range()
872 start_pfn += altmap->reserve; in memmap_init_range()
873 end_pfn = altmap->base_pfn + vmem_altmap_offset(altmap); in memmap_init_range()
1027 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() argument
1030 if (!vmemmap_can_optimize(altmap, pgmap)) in compound_nr_pages()
1070 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local
1084 if (altmap) { in memmap_init_zone_device()
1085 start_pfn = altmap->base_pfn + vmem_altmap_offset(altmap); in memmap_init_zone_device()
1098 compound_nr_pages(altmap, pgmap)); in memmap_init_zone_device()