Home
last modified time | relevance | path

Searched refs:base_pfn (Results 1 – 6 of 6) sorted by relevance

/mm/
Dcma.c52 return PFN_PHYS(cma->base_pfn); in cma_get_base()
81 return (cma->base_pfn & ((1UL << align_order) - 1)) in cma_bitmap_aligned_offset()
97 bitmap_no = (pfn - cma->base_pfn) >> cma->order_per_bit; in cma_clear_bitmap()
107 unsigned long base_pfn = cma->base_pfn, pfn; in cma_activate_area() local
119 WARN_ON_ONCE(!pfn_valid(base_pfn)); in cma_activate_area()
120 zone = page_zone(pfn_to_page(base_pfn)); in cma_activate_area()
121 for (pfn = base_pfn + 1; pfn < base_pfn + cma->count; pfn++) { in cma_activate_area()
127 for (pfn = base_pfn; pfn < base_pfn + cma->count; in cma_activate_area()
144 for (pfn = base_pfn; pfn < base_pfn + cma->count; pfn++) in cma_activate_area()
214 cma->base_pfn = PFN_DOWN(base); in cma_init_reserved_mem()
[all …]
Dcma.h14 unsigned long base_pfn; member
Dcma_debug.c175 &cma->base_pfn, &cma_debugfs_fops); in cma_debugfs_add_one()
Dsparse-vmemmap.c446 return altmap->base_pfn + altmap->reserve + altmap->alloc in vmem_altmap_next_pfn()
Dmemory_hotplug.c322 if (altmap->base_pfn != pfn in __add_pages()
1407 mhp_altmap.base_pfn = PHYS_PFN(start); in add_memory_resource()
Dpage_alloc.c6948 if (start_pfn == altmap->base_pfn) in memmap_init_range()
6950 end_pfn = altmap->base_pfn + vmem_altmap_offset(altmap); in memmap_init_range()
7006 start_pfn = altmap->base_pfn + vmem_altmap_offset(altmap); in memmap_init_zone_device()