Lines Matching refs:pfn
284 unsigned long pfn = res->start >> PAGE_SHIFT; in additional_memory_resource() local
286 if (pfn > limit) { in additional_memory_resource()
288 pfn, limit); in additional_memory_resource()
340 unsigned long pfn, i; in reserve_additional_memory() local
342 pfn = PFN_DOWN(resource->start); in reserve_additional_memory()
344 if (!set_phys_to_machine(pfn + i, INVALID_P2M_ENTRY)) { in reserve_additional_memory()
466 unsigned long pfn = page_to_pfn(page); in increase_reservation() local
468 set_phys_to_machine(pfn, frame_list[i]); in increase_reservation()
474 (unsigned long)__va(pfn << PAGE_SHIFT), in increase_reservation()
545 unsigned long pfn = page_to_pfn(page); in decrease_reservation() local
549 (unsigned long)__va(pfn << PAGE_SHIFT), in decrease_reservation()
553 __set_phys_to_machine(pfn, INVALID_P2M_ENTRY); in decrease_reservation()
732 unsigned long pfn, extra_pfn_end; in balloon_add_region() local
742 for (pfn = start_pfn; pfn < extra_pfn_end; pfn++) { in balloon_add_region()
743 page = pfn_to_page(pfn); in balloon_add_region()