Home
last modified time | relevance | path

Searched refs:last_pfn (Results 1 – 3 of 3) sorted by relevance

/drivers/iommu/
Dintel-iommu.c859 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()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_gart.c838 unsigned last_pfn; in radeon_vm_bo_set_addr() local
847 last_pfn = eoffset / RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
848 if (last_pfn > rdev->vm_manager.max_pfn) { in radeon_vm_bo_set_addr()
850 last_pfn, rdev->vm_manager.max_pfn); in radeon_vm_bo_set_addr()
855 eoffset = last_pfn = 0; in radeon_vm_bo_set_addr()
/drivers/gpu/drm/i915/
Di915_gem.c1750 unsigned long last_pfn = 0; /* suppress gcc warning */ in i915_gem_object_get_pages_gtt() local
1812 if (!i || page_to_pfn(page) != last_pfn + 1) { in i915_gem_object_get_pages_gtt()
1820 last_pfn = page_to_pfn(page); in i915_gem_object_get_pages_gtt()