Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c44 phys_addr_t *hpas; member
92 mem->hpas = vzalloc(array_size(entries, sizeof(mem->hpas[0]))); in mm_iommu_do_alloc()
93 if (!mem->hpas) { in mm_iommu_do_alloc()
177 vfree(mem->hpas); in mm_iommu_do_alloc()
207 if (!mem->hpas) in mm_iommu_unpin()
211 if (!mem->hpas[i]) in mm_iommu_unpin()
214 page = pfn_to_page(mem->hpas[i] >> PAGE_SHIFT); in mm_iommu_unpin()
223 mem->hpas[i] = 0; in mm_iommu_unpin()
231 vfree(mem->hpas); in mm_iommu_do_free()
342 if (!mem->hpas) { in mm_iommu_ua_to_hpa()
[all …]