Lines Matching refs:altmap
6739 struct vmem_altmap *altmap, int migratetype) in memmap_init_range() argument
6756 if (!altmap) in memmap_init_range()
6759 if (start_pfn == altmap->base_pfn) in memmap_init_range()
6760 start_pfn += altmap->reserve; in memmap_init_range()
6761 end_pfn = altmap->base_pfn + vmem_altmap_offset(altmap); in memmap_init_range()
6852 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() argument
6856 !altmap ? 2 * (PAGE_SIZE / sizeof(struct page)) : nr_pages; in compound_nr_pages()
6895 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local
6909 if (altmap) { in memmap_init_zone_device()
6910 start_pfn = altmap->base_pfn + vmem_altmap_offset(altmap); in memmap_init_zone_device()
6923 compound_nr_pages(altmap, pfns_per_compound)); in memmap_init_zone_device()