Lines Matching refs:base_pfn
40 return PFN_PHYS(cma->base_pfn);
68 return (cma->base_pfn & ((1UL << align_order) - 1))
84 bitmap_no = (pfn - cma->base_pfn) >> cma->order_per_bit;
94 unsigned long base_pfn = cma->base_pfn, pfn;
106 WARN_ON_ONCE(!pfn_valid(base_pfn));
107 zone = page_zone(pfn_to_page(base_pfn));
108 for (pfn = base_pfn + 1; pfn < base_pfn + cma->count; pfn++) {
114 for (pfn = base_pfn; pfn < base_pfn + cma->count;
132 for (pfn = base_pfn; pfn < base_pfn + cma->count; pfn++)
200 cma->base_pfn = PFN_DOWN(base);
454 pfn = cma->base_pfn + (bitmap_no << cma->order_per_bit);
543 if (pfn < cma->base_pfn || pfn >= cma->base_pfn + cma->count) {
574 VM_BUG_ON(pfn + count > cma->base_pfn + cma->count);