Lines Matching defs:table
3 * CPU-agnostic ARM page table allocator.
88 /* Page table bits */
238 void *table = NULL;
241 table = (void *)__get_free_pages(
244 table = kmem_cache_zalloc(data->l2_tables, gfp);
246 if (!table)
249 phys = virt_to_phys(table);
252 dev_err(dev, "Page table does not fit in PTE: %pa", &phys);
256 dma = dma_map_single(dev, table, size, DMA_TO_DEVICE);
268 kmemleak_ignore(table);
269 return table;
276 free_pages((unsigned long)table, get_order(size));
278 kmem_cache_free(data->l2_tables, table);
282 static void __arm_v7s_free_table(void *table, int lvl,
290 dma_unmap_single(dev, __arm_v7s_dma_addr(table), size,
293 free_pages((unsigned long)table, get_order(size));
295 kmem_cache_free(data->l2_tables, table);
425 * We need to unmap and free the old table before
451 static arm_v7s_iopte arm_v7s_install_table(arm_v7s_iopte *table,
458 new = virt_to_phys(table) | ARM_V7S_PTE_TYPE_TABLE;
463 * Ensure the table itself is visible before its PTE can be.
540 * a chance for anything to kick off a table walk for the new iova.
649 /* Something went horribly wrong and we ran out of page table */
707 * Insert a table at the next level to map the old region,