Symbol: iommu_table
arch/powerpc/include/asm/device.h
11
struct iommu_table;
arch/powerpc/include/asm/device.h
29
struct iommu_table *iommu_table_base;
arch/powerpc/include/asm/iommu.h
129
int get_iommu_order(unsigned long size, struct iommu_table *tbl)
arch/powerpc/include/asm/iommu.h
140
struct iommu_table *base)
arch/powerpc/include/asm/iommu.h
152
extern struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
153
extern int iommu_tce_table_put(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
158
extern struct iommu_table *iommu_init_table(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
160
bool iommu_table_in_use(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
161
extern void iommu_table_reserve_pages(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
163
extern void iommu_table_clear(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
179
struct iommu_table **ptbl);
arch/powerpc/include/asm/iommu.h
182
struct iommu_table *tblnew);
arch/powerpc/include/asm/iommu.h
206
struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES];
arch/powerpc/include/asm/iommu.h
216
extern long iommu_tce_xchg(struct mm_struct *mm, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
220
struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
223
extern void iommu_tce_kill(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
261
extern int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
266
extern void ppc_iommu_unmap_sg(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
272
extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
275
extern void iommu_free_coherent(struct iommu_table *tbl, size_t size,
arch/powerpc/include/asm/iommu.h
277
extern dma_addr_t iommu_map_phys(struct device *dev, struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
282
extern void iommu_unmap_phys(struct iommu_table *tbl, dma_addr_t dma_handle,
arch/powerpc/include/asm/iommu.h
315
extern void iommu_flush_tce(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
45
int (*set)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
56
int (*xchg_no_kill)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
61
void (*tce_kill)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
65
__be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc);
arch/powerpc/include/asm/iommu.h
67
void (*clear)(struct iommu_table *tbl,
arch/powerpc/include/asm/iommu.h
70
unsigned long (*get)(struct iommu_table *tbl, long index);
arch/powerpc/include/asm/iommu.h
71
void (*flush)(struct iommu_table *tbl);
arch/powerpc/include/asm/iommu.h
72
void (*free)(struct iommu_table *tbl);
arch/powerpc/include/asm/kvm_host.h
183
struct iommu_table *tbl;
arch/powerpc/include/asm/machdep.h
17
struct iommu_table;
arch/powerpc/include/asm/pci-bridge.h
196
struct iommu_table;
arch/powerpc/include/asm/vio.h
44
struct iommu_table;
arch/powerpc/kernel/dma-iommu.c
160
struct iommu_table *tbl;
arch/powerpc/kernel/dma-iommu.c
194
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/kernel/iommu.c
1055
void iommu_flush_tce(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
1098
struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
1116
void iommu_tce_kill(struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
217
struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
348
static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
391
static bool iommu_free_check(struct iommu_table *tbl, dma_addr_t dma_addr,
arch/powerpc/kernel/iommu.c
419
static struct iommu_pool *get_pool(struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
438
static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
arch/powerpc/kernel/iommu.c
460
static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
arch/powerpc/kernel/iommu.c
473
int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
48
struct iommu_table *tbl = data;
arch/powerpc/kernel/iommu.c
54
static void iommu_debugfs_add(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
616
void ppc_iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist,
arch/powerpc/kernel/iommu.c
648
void iommu_table_clear(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
689
void iommu_table_reserve_pages(struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
71
static void iommu_debugfs_del(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
727
struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid,
arch/powerpc/kernel/iommu.c
784
bool iommu_table_in_use(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
79
static void iommu_debugfs_add(struct iommu_table *tbl){}
arch/powerpc/kernel/iommu.c
80
static void iommu_debugfs_del(struct iommu_table *tbl){}
arch/powerpc/kernel/iommu.c
807
struct iommu_table *tbl;
arch/powerpc/kernel/iommu.c
809
tbl = container_of(kref, struct iommu_table, it_kref);
arch/powerpc/kernel/iommu.c
832
struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
841
int iommu_tce_table_put(struct iommu_table *tbl)
arch/powerpc/kernel/iommu.c
85
static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
arch/powerpc/kernel/iommu.c
855
dma_addr_t iommu_map_phys(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
894
void iommu_unmap_phys(struct iommu_table *tbl, dma_addr_t dma_handle,
arch/powerpc/kernel/iommu.c
913
void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
arch/powerpc/kernel/iommu.c
963
void iommu_free_coherent(struct iommu_table *tbl, size_t size,
arch/powerpc/kvm/book3s_64_vio.c
114
struct iommu_table *tbl = NULL;
arch/powerpc/kvm/book3s_64_vio.c
140
struct iommu_table *tbltmp = table_group->tables[i];
arch/powerpc/kvm/book3s_64_vio.c
434
struct iommu_table *tbl, unsigned long entry)
arch/powerpc/kvm/book3s_64_vio.c
449
struct iommu_table *tbl, unsigned long entry)
arch/powerpc/kvm/book3s_64_vio.c
470
struct iommu_table *tbl, unsigned long entry)
arch/powerpc/kvm/book3s_64_vio.c
491
struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl,
arch/powerpc/kvm/book3s_64_vio.c
509
static long kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl,
arch/powerpc/kvm/book3s_64_vio.c
548
struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl,
arch/powerpc/platforms/pasemi/iommu.c
106
static void iobmap_free(struct iommu_table *tbl, long index,
arch/powerpc/platforms/pasemi/iommu.c
74
static struct iommu_table iommu_table_iobmap;
arch/powerpc/platforms/pasemi/iommu.c
77
static int iobmap_build(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
124
int pnv_tce_build(struct iommu_table *tbl, long index, long npages,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
147
int pnv_tce_xchg(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
181
__be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index, bool alloc)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
190
void pnv_tce_free(struct iommu_table *tbl, long index, long npages)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
206
unsigned long pnv_tce_get(struct iommu_table *tbl, long index)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
240
void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
292
bool alloc_userspace_copy, struct iommu_table *tbl)
arch/powerpc/platforms/powernv/pci-ioda-tce.c
370
void pnv_pci_unlink_table_and_group(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
411
struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
48
void pnv_pci_setup_iommu_table(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda-tce.c
83
static __be64 *pnv_tce(struct iommu_table *tbl, bool user, long idx, bool alloc)
arch/powerpc/platforms/powernv/pci-ioda.c
1152
static int pnv_ioda_tce_xchg_no_kill(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda.c
1208
static void pnv_pci_ioda2_tce_invalidate(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci-ioda.c
1230
static int pnv_ioda2_tce_build(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda.c
1244
static void pnv_ioda2_tce_free(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci-ioda.c
1265
int num, struct iommu_table *tbl)
arch/powerpc/platforms/powernv/pci-ioda.c
1333
bool alloc_userspace_copy, struct iommu_table **ptbl)
arch/powerpc/platforms/powernv/pci-ioda.c
1340
struct iommu_table *tbl;
arch/powerpc/platforms/powernv/pci-ioda.c
1363
struct iommu_table *tbl = NULL;
arch/powerpc/platforms/powernv/pci-ioda.c
1503
struct iommu_table **ptbl)
arch/powerpc/platforms/powernv/pci-ioda.c
1533
struct iommu_table *tbl = pe->table_group.tables[0];
arch/powerpc/platforms/powernv/pci-ioda.c
2279
struct iommu_table *tbl = pe->table_group.tables[0];
arch/powerpc/platforms/powernv/pci.c
730
struct iommu_table *pnv_pci_table_alloc(int nid)
arch/powerpc/platforms/powernv/pci.c
732
struct iommu_table *tbl;
arch/powerpc/platforms/powernv/pci.c
734
tbl = kzalloc_node(sizeof(struct iommu_table), GFP_KERNEL, nid);
arch/powerpc/platforms/powernv/pci.h
275
extern struct iommu_table *pnv_pci_table_alloc(int nid);
arch/powerpc/platforms/powernv/pci.h
302
extern int pnv_tce_build(struct iommu_table *tbl, long index, long npages,
arch/powerpc/platforms/powernv/pci.h
305
extern void pnv_tce_free(struct iommu_table *tbl, long index, long npages);
arch/powerpc/platforms/powernv/pci.h
306
extern int pnv_tce_xchg(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci.h
308
extern __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index,
arch/powerpc/platforms/powernv/pci.h
310
extern unsigned long pnv_tce_get(struct iommu_table *tbl, long index);
arch/powerpc/platforms/powernv/pci.h
314
bool alloc_userspace_copy, struct iommu_table *tbl);
arch/powerpc/platforms/powernv/pci.h
315
extern void pnv_pci_ioda2_table_free_pages(struct iommu_table *tbl);
arch/powerpc/platforms/powernv/pci.h
318
struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci.h
320
extern void pnv_pci_unlink_table_and_group(struct iommu_table *tbl,
arch/powerpc/platforms/powernv/pci.h
322
extern void pnv_pci_setup_iommu_table(struct iommu_table *tbl,
arch/powerpc/platforms/pseries/iommu.c
122
static int tce_build_pSeries(struct iommu_table *tbl, long index,
arch/powerpc/platforms/pseries/iommu.c
152
static void tce_clear_pSeries(struct iommu_table *tbl, long index, long npages)
arch/powerpc/platforms/pseries/iommu.c
162
static unsigned long tce_get_pseries(struct iommu_table *tbl, long index)
arch/powerpc/platforms/pseries/iommu.c
1689
struct iommu_table *newtbl;
arch/powerpc/platforms/pseries/iommu.c
172
static long pseries_tce_iommu_userspace_view_alloc(struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
1851
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
192
static void tce_iommu_userspace_view_free(struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
198
static void tce_free_pSeries(struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
2009
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
205
static void tce_freemulti_pSeriesLP(struct iommu_table*, long, long);
arch/powerpc/platforms/pseries/iommu.c
2058
struct iommu_table **ptbl)
arch/powerpc/platforms/pseries/iommu.c
2070
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
2258
static bool is_default_window_table(struct iommu_table_group *table_group, struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
2268
int num, struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
2277
struct iommu_table *tbl = table_group->tables[num];
arch/powerpc/platforms/pseries/iommu.c
2339
struct iommu_table *tbl = table_group->tables[0];
arch/powerpc/platforms/pseries/iommu.c
2391
struct iommu_table *tbl = table_group->tables[0];
arch/powerpc/platforms/pseries/iommu.c
250
static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum,
arch/powerpc/platforms/pseries/iommu.c
356
static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages)
arch/powerpc/platforms/pseries/iommu.c
385
static unsigned long tce_get_pSeriesLP(struct iommu_table *tbl, long tcenum)
arch/powerpc/platforms/pseries/iommu.c
563
static void iommu_table_setparms_common(struct iommu_table *tbl, unsigned long busno,
arch/powerpc/platforms/pseries/iommu.c
583
struct iommu_table *tbl)
arch/powerpc/platforms/pseries/iommu.c
59
static struct iommu_table *iommu_pseries_alloc_table(int node)
arch/powerpc/platforms/pseries/iommu.c
61
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
625
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
63
tbl = kzalloc_node(sizeof(struct iommu_table), GFP_KERNEL, node);
arch/powerpc/platforms/pseries/iommu.c
703
static int tce_exchange_pseries(struct iommu_table *tbl, long index, unsigned
arch/powerpc/platforms/pseries/iommu.c
728
static __be64 *tce_useraddr_pSeriesLP(struct iommu_table *tbl, long index,
arch/powerpc/platforms/pseries/iommu.c
842
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/iommu.c
897
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/vio.c
1157
static struct iommu_table *vio_build_iommu_table(struct vio_dev *dev)
arch/powerpc/platforms/pseries/vio.c
1160
struct iommu_table *tbl;
arch/powerpc/platforms/pseries/vio.c
1321
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
522
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
549
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
560
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
595
struct iommu_table *tbl = get_iommu_table_base(dev);
arch/powerpc/platforms/pseries/vio.c
709
struct iommu_table *tbl;
arch/powerpc/sysdev/dart_iommu.c
162
static void dart_flush(struct iommu_table *tbl)
arch/powerpc/sysdev/dart_iommu.c
171
static int dart_build(struct iommu_table *tbl, long index,
arch/powerpc/sysdev/dart_iommu.c
208
static void dart_free(struct iommu_table *tbl, long index, long npages)
arch/powerpc/sysdev/dart_iommu.c
47
static struct iommu_table iommu_table_dart;
drivers/iommu/amd/iommu.c
2590
static void amd_iommu_change_top(struct pt_iommu *iommu_table,
drivers/iommu/amd/iommu.c
2594
container_of(iommu_table, struct protection_domain, iommu);
drivers/iommu/amd/iommu.c
81
static void amd_iommu_change_top(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/fmt/amdv1.h
329
static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/fmt/amdv1.h
331
return &container_of(iommu_table, struct pt_iommu_amdv1, iommu)
drivers/iommu/generic_pt/fmt/amdv1.h
366
static inline int amdv1pt_iommu_fmt_init(struct pt_iommu_amdv1 *iommu_table,
drivers/iommu/generic_pt/fmt/amdv1.h
369
struct pt_amdv1 *table = &iommu_table->amdpt;
drivers/iommu/generic_pt/fmt/riscv.h
218
static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/fmt/riscv.h
220
return &container_of(iommu_table, struct pt_iommu_table, iommu)
drivers/iommu/generic_pt/fmt/riscv.h
260
riscvpt_iommu_fmt_init(struct pt_iommu_riscv_64 *iommu_table,
drivers/iommu/generic_pt/fmt/riscv.h
263
struct pt_riscv *table = &iommu_table->riscv_64pt;
drivers/iommu/generic_pt/fmt/vtdss.h
203
static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/fmt/vtdss.h
205
return &container_of(iommu_table, struct pt_iommu_table, iommu)
drivers/iommu/generic_pt/fmt/vtdss.h
247
static inline int vtdss_pt_iommu_fmt_init(struct pt_iommu_vtdss *iommu_table,
drivers/iommu/generic_pt/fmt/vtdss.h
250
struct pt_vtdss *table = &iommu_table->vtdss_pt;
drivers/iommu/generic_pt/fmt/x86_64.h
204
static inline struct pt_common *common_from_iommu(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/fmt/x86_64.h
206
return &container_of(iommu_table, struct pt_iommu_table, iommu)
drivers/iommu/generic_pt/fmt/x86_64.h
240
x86_64_pt_iommu_fmt_init(struct pt_iommu_x86_64 *iommu_table,
drivers/iommu/generic_pt/fmt/x86_64.h
243
struct pt_x86_64 *table = &iommu_table->x86_64_pt;
drivers/iommu/generic_pt/iommu_pt.h
1000
iommu_iotlb_sync(&iommu_table->domain, &iotlb_gather);
drivers/iommu/generic_pt/iommu_pt.h
1109
static size_t NS(unmap_range)(struct pt_iommu *iommu_table, dma_addr_t iova,
drivers/iommu/generic_pt/iommu_pt.h
1121
ret = make_range(common_from_iommu(iommu_table), &range, iova, len);
drivers/iommu/generic_pt/iommu_pt.h
1127
gather_range_pending(&unmap.pending, iommu_table, iova, unmap.unmapped);
drivers/iommu/generic_pt/iommu_pt.h
1132
static void NS(get_info)(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/iommu_pt.h
1135
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
1160
static void NS(deinit)(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/iommu_pt.h
1162
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
1178
iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
1232
static int pt_iommu_init_domain(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/iommu_pt.h
1235
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
1239
NS(get_info)(iommu_table, &info);
drivers/iommu/generic_pt/iommu_pt.h
1275
struct pt_iommu *iommu_table = &fmt_table->iommu;
drivers/iommu/generic_pt/iommu_pt.h
1276
struct pt_iommu cfg = *iommu_table;
drivers/iommu/generic_pt/iommu_pt.h
1282
iommu_table->iommu_device = cfg.iommu_device;
drivers/iommu/generic_pt/iommu_pt.h
1283
iommu_table->driver_ops = cfg.driver_ops;
drivers/iommu/generic_pt/iommu_pt.h
1284
iommu_table->nid = cfg.nid;
drivers/iommu/generic_pt/iommu_pt.h
1293
struct pt_iommu *iommu_table = &fmt_table->iommu;
drivers/iommu/generic_pt/iommu_pt.h
1294
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
1318
WARN_ON(!iommu_table->driver_ops ||
drivers/iommu/generic_pt/iommu_pt.h
1319
!iommu_table->driver_ops->change_top ||
drivers/iommu/generic_pt/iommu_pt.h
1320
!iommu_table->driver_ops->get_top_lock))
drivers/iommu/generic_pt/iommu_pt.h
1329
WARN_ON(!iommu_table->iommu_device))
drivers/iommu/generic_pt/iommu_pt.h
1332
ret = pt_iommu_init_domain(iommu_table, &iommu_table->domain);
drivers/iommu/generic_pt/iommu_pt.h
1343
iommu_table->ops = &NS(ops);
drivers/iommu/generic_pt/iommu_pt.h
1354
struct pt_iommu *iommu_table = &fmt_table->iommu;
drivers/iommu/generic_pt/iommu_pt.h
1355
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
169
struct pt_iommu *iommu_table = iommu_from_common(pts->range->common);
drivers/iommu/generic_pt/iommu_pt.h
179
iommu_table->domain.pgsize_bitmap,
drivers/iommu/generic_pt/iommu_pt.h
219
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
225
ret = make_range(common_from_iommu(iommu_table), &range, iova, 1);
drivers/iommu/generic_pt/iommu_pt.h
320
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
333
ret = make_range(common_from_iommu(iommu_table), &range, iova, size);
drivers/iommu/generic_pt/iommu_pt.h
361
static int __maybe_unused NS(set_dirty)(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/iommu_pt.h
367
ret = make_range(common_from_iommu(iommu_table), &range, iova, 1);
drivers/iommu/generic_pt/iommu_pt.h
416
struct pt_iommu *iommu_table = iommu_from_common(common);
drivers/iommu/generic_pt/iommu_pt.h
419
table_mem = iommu_alloc_pages_node_sz(iommu_table->nid, gfp,
drivers/iommu/generic_pt/iommu_pt.h
427
table_mem, iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
527
struct pt_iommu *iommu_table =
drivers/iommu/generic_pt/iommu_pt.h
559
&collect.pending, iommu_table, range.va,
drivers/iommu/generic_pt/iommu_pt.h
571
struct pt_iommu *iommu_table = iommu_from_common(range->common);
drivers/iommu/generic_pt/iommu_pt.h
653
iommu_table->domain.pgsize_bitmap, last_va, range->last_va, oa);
drivers/iommu/generic_pt/iommu_pt.h
656
map->num_leaves = pt_pgsz_count(iommu_table->domain.pgsize_bitmap,
drivers/iommu/generic_pt/iommu_pt.h
69
struct pt_iommu *iommu_table, pt_vaddr_t iova,
drivers/iommu/generic_pt/iommu_pt.h
73
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
77
iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
774
static int increase_top(struct pt_iommu *iommu_table, struct pt_range *range,
drivers/iommu/generic_pt/iommu_pt.h
778
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
834
&free_list, iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
849
domain_lock = iommu_table->driver_ops->get_top_lock(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
865
iommu_table->driver_ops->change_top(
drivers/iommu/generic_pt/iommu_pt.h
866
iommu_table, virt_to_phys(table_mem), new_level);
drivers/iommu/generic_pt/iommu_pt.h
874
iommu_table->iommu_device);
drivers/iommu/generic_pt/iommu_pt.h
879
static int check_map_range(struct pt_iommu *iommu_table, struct pt_range *range,
drivers/iommu/generic_pt/iommu_pt.h
882
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
893
ret = increase_top(iommu_table, range, map);
drivers/iommu/generic_pt/iommu_pt.h
90
iommu_iotlb_sync(&iommu_table->domain, iotlb_gather);
drivers/iommu/generic_pt/iommu_pt.h
930
static int NS(map_range)(struct pt_iommu *iommu_table, dma_addr_t iova,
drivers/iommu/generic_pt/iommu_pt.h
934
pt_vaddr_t pgsize_bitmap = iommu_table->domain.pgsize_bitmap;
drivers/iommu/generic_pt/iommu_pt.h
935
struct pt_common *common = common_from_iommu(iommu_table);
drivers/iommu/generic_pt/iommu_pt.h
987
ret = check_map_range(iommu_table, &range, &map);
drivers/iommu/generic_pt/kunit_iommu.h
91
static void pt_kunit_change_top(struct pt_iommu *iommu_table,
drivers/iommu/generic_pt/kunit_iommu.h
96
static spinlock_t *pt_kunit_get_top_lock(struct pt_iommu *iommu_table)
drivers/iommu/generic_pt/kunit_iommu.h
99
iommu_table, struct kunit_iommu_priv, fmt_table.iommu);
drivers/net/ethernet/ibm/ibmveth.c
1703
struct iommu_table *tbl;
drivers/net/ethernet/ibm/ibmvnic.c
6700
struct iommu_table *tbl;
drivers/vfio/vfio_iommu_spapr_tce.c
1217
struct iommu_table *tbl = container->tables[i];
drivers/vfio/vfio_iommu_spapr_tce.c
204
phys_addr_t ioba, struct iommu_table **ptbl)
drivers/vfio/vfio_iommu_spapr_tce.c
209
struct iommu_table *tbl = container->tables[i];
drivers/vfio/vfio_iommu_spapr_tce.c
339
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
342
struct iommu_table *tbl);
drivers/vfio/vfio_iommu_spapr_tce.c
362
struct iommu_table *tbl = container->tables[i];
drivers/vfio/vfio_iommu_spapr_tce.c
410
struct iommu_table *tbl, unsigned long entry)
drivers/vfio/vfio_iommu_spapr_tce.c
432
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
500
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
548
struct iommu_table *tbl,
drivers/vfio/vfio_iommu_spapr_tce.c
612
struct iommu_table **ptbl)
drivers/vfio/vfio_iommu_spapr_tce.c
635
struct iommu_table *tbl)
drivers/vfio/vfio_iommu_spapr_tce.c
649
struct iommu_table *tbl = NULL;
drivers/vfio/vfio_iommu_spapr_tce.c
70
struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES];
drivers/vfio/vfio_iommu_spapr_tce.c
712
struct iommu_table *tbl;
drivers/vfio/vfio_iommu_spapr_tce.c
907
struct iommu_table *tbl = NULL;
drivers/vfio/vfio_iommu_spapr_tce.c
974
struct iommu_table *tbl = NULL;
include/linux/generic_pt/iommu.h
113
int (*map_range)(struct pt_iommu *iommu_table, dma_addr_t iova,
include/linux/generic_pt/iommu.h
136
size_t (*unmap_range)(struct pt_iommu *iommu_table, dma_addr_t iova,
include/linux/generic_pt/iommu.h
150
int (*set_dirty)(struct pt_iommu *iommu_table, dma_addr_t iova);
include/linux/generic_pt/iommu.h
158
void (*get_info)(struct pt_iommu *iommu_table,
include/linux/generic_pt/iommu.h
168
void (*deinit)(struct pt_iommu *iommu_table);
include/linux/generic_pt/iommu.h
198
void (*change_top)(struct pt_iommu *iommu_table, phys_addr_t top_paddr,
include/linux/generic_pt/iommu.h
215
spinlock_t *(*get_top_lock)(struct pt_iommu *iommu_table);
include/linux/generic_pt/iommu.h
218
static inline void pt_iommu_deinit(struct pt_iommu *iommu_table)
include/linux/generic_pt/iommu.h
225
if (iommu_table->ops)
include/linux/generic_pt/iommu.h
226
iommu_table->ops->deinit(iommu_table);