• Home
  • Raw
  • Download

Lines Matching refs:last_pfn

859 				unsigned long last_pfn)  in dma_pte_clear_range()  argument
867 BUG_ON(addr_width < BITS_PER_LONG && last_pfn >> addr_width); in dma_pte_clear_range()
868 BUG_ON(start_pfn > last_pfn); in dma_pte_clear_range()
882 } while (start_pfn <= last_pfn && !first_pte_in_page(pte)); in dma_pte_clear_range()
887 } while (start_pfn && start_pfn <= last_pfn); in dma_pte_clear_range()
896 unsigned long last_pfn) in dma_pte_free_pagetable() argument
906 BUG_ON(addr_width < BITS_PER_LONG && last_pfn >> addr_width); in dma_pte_free_pagetable()
907 BUG_ON(start_pfn > last_pfn); in dma_pte_free_pagetable()
915 if (tmp + level_size(level) - 1 > last_pfn) in dma_pte_free_pagetable()
935 tmp + level_size(level) - 1 <= last_pfn); in dma_pte_free_pagetable()
940 } while (tmp && tmp + level_size(level) - 1 <= last_pfn); in dma_pte_free_pagetable()
944 if (start_pfn == 0 && last_pfn == DOMAIN_MAX_PFN(domain->gaw)) { in dma_pte_free_pagetable()
2962 unsigned long start_pfn, last_pfn; in intel_unmap_page() local
2980 last_pfn = mm_to_dma_pfn(iova->pfn_hi + 1) - 1; in intel_unmap_page()
2983 pci_name(pdev), start_pfn, last_pfn); in intel_unmap_page()
2986 dma_pte_clear_range(domain, start_pfn, last_pfn); in intel_unmap_page()
2989 dma_pte_free_pagetable(domain, start_pfn, last_pfn); in intel_unmap_page()
2993 last_pfn - start_pfn + 1, 0); in intel_unmap_page()
3056 unsigned long start_pfn, last_pfn; in intel_unmap_sg() local
3074 last_pfn = mm_to_dma_pfn(iova->pfn_hi + 1) - 1; in intel_unmap_sg()
3077 dma_pte_clear_range(domain, start_pfn, last_pfn); in intel_unmap_sg()
3080 dma_pte_free_pagetable(domain, start_pfn, last_pfn); in intel_unmap_sg()
3084 last_pfn - start_pfn + 1, 0); in intel_unmap_sg()