Lines Matching defs:table
38 struct sg_table *table;
57 static struct sg_table *dup_sg_table(struct sg_table *table)
67 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL);
74 for_each_sgtable_sg(table, sg, i) {
87 struct sg_table *table;
93 table = dup_sg_table(&buffer->sg_table);
94 if (IS_ERR(table)) {
99 a->table = table;
123 sg_free_table(a->table);
124 kfree(a->table);
132 struct sg_table *table = a->table;
135 ret = dma_map_sgtable(attachment->dev, table, direction, 0);
140 return table;
144 struct sg_table *table,
150 dma_unmap_sgtable(attachment->dev, table, direction, 0);
167 dma_sync_sgtable_for_cpu(a->dev, a->table, direction);
188 dma_sync_sgtable_for_device(a->dev, a->table, direction);
198 struct sg_table *table = &buffer->sg_table;
203 for_each_sgtable_page(table, &piter, vma->vm_pgoff) {
219 struct sg_table *table = &buffer->sg_table;
229 for_each_sgtable_page(table, &piter, 0) {
287 struct sg_table *table;
291 table = &buffer->sg_table;
292 for_each_sgtable_sg(table, sg, i) {
297 sg_free_table(table);
344 struct sg_table *table;
381 table = &buffer->sg_table;
382 if (sg_alloc_table(table, i, GFP_KERNEL))
385 sg = table->sgl;
406 for_each_sgtable_sg(table, sg, i) {
411 sg_free_table(table);