Lines Matching defs:hpas
34 u64 entries; /* number of entries in hpas/hpages[] */
44 phys_addr_t *hpas;
92 mem->hpas = vzalloc(array_size(entries, sizeof(mem->hpas[0])));
93 if (!mem->hpas) {
161 mem->hpas[i] = page_to_pfn(page) << PAGE_SHIFT;
177 vfree(mem->hpas);
207 if (!mem->hpas)
211 if (!mem->hpas[i])
214 page = pfn_to_page(mem->hpas[i] >> PAGE_SHIFT);
218 if (mem->hpas[i] & MM_IOMMU_TABLE_GROUP_PAGE_DIRTY)
223 mem->hpas[i] = 0;
231 vfree(mem->hpas);
342 if (!mem->hpas) {
347 va = &mem->hpas[entry];