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) {
160 mem->hpas[i] = page_to_pfn(page) << PAGE_SHIFT;
176 vfree(mem->hpas);
206 if (!mem->hpas)
210 if (!mem->hpas[i])
213 page = pfn_to_page(mem->hpas[i] >> PAGE_SHIFT);
217 if (mem->hpas[i] & MM_IOMMU_TABLE_GROUP_PAGE_DIRTY)
222 mem->hpas[i] = 0;
230 vfree(mem->hpas);
356 if (!mem->hpas) {
361 va = &mem->hpas[entry];
380 if (!mem->hpas) {
385 pa = (void *) vmalloc_to_phys(&mem->hpas[entry]);
409 va = &mem->hpas[entry];