Lines Matching defs:table
30 unsigned long *table, *entry;
32 table = kmem_cache_alloc(dma_region_table_cache, GFP_ATOMIC);
33 if (!table)
36 for (entry = table; entry < table + ZPCI_TABLE_ENTRIES; entry++)
38 return table;
41 static void dma_free_cpu_table(void *table)
43 kmem_cache_free(dma_region_table_cache, table);
48 unsigned long *table, *entry;
50 table = kmem_cache_alloc(dma_page_table_cache, GFP_ATOMIC);
51 if (!table)
54 for (entry = table; entry < table + ZPCI_PT_ENTRIES; entry++)
56 return table;
59 static void dma_free_page_table(void *table)
61 kmem_cache_free(dma_page_table_cache, table);
187 * translations when previously invalid translation-table entries are
246 void dma_cleanup_tables(unsigned long *table)
250 if (!table)
254 if (reg_entry_isvalid(table[rtx]))
255 dma_free_seg_table(table[rtx]);
257 dma_free_cpu_table(table);