Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dmmu_context_iommu.c34 u64 *hpas; /* vmalloc'ed */ member
174 mem->hpas = vzalloc(entries * sizeof(mem->hpas[0])); in mm_iommu_get()
175 if (!mem->hpas) { in mm_iommu_get()
187 put_page(pfn_to_page(mem->hpas[j] >> in mm_iommu_get()
189 vfree(mem->hpas); in mm_iommu_get()
207 put_page(pfn_to_page(mem->hpas[j] >> in mm_iommu_get()
209 vfree(mem->hpas); in mm_iommu_get()
233 mem->hpas[i] = page_to_pfn(page) << PAGE_SHIFT; in mm_iommu_get()
260 if (!mem->hpas[i]) in mm_iommu_unpin()
263 page = pfn_to_page(mem->hpas[i] >> PAGE_SHIFT); in mm_iommu_unpin()
[all …]