@@ -14,7 +14,7 @@ struct vfio_pci_dma_buf {
1414 struct vfio_pci_core_device * vdev ;
1515 struct list_head dmabufs_elm ;
1616 size_t size ;
17- struct dma_buf_phys_vec * phys_vec ;
17+ struct phys_vec * phys_vec ;
1818 struct p2pdma_provider * provider ;
1919 u32 nr_ranges ;
2020 u8 revoked : 1 ;
@@ -94,7 +94,7 @@ static const struct dma_buf_ops vfio_pci_dmabuf_ops = {
9494 * will fail if it is currently revoked
9595 */
9696int vfio_pci_dma_buf_iommufd_map (struct dma_buf_attachment * attachment ,
97- struct dma_buf_phys_vec * phys )
97+ struct phys_vec * phys )
9898{
9999 struct vfio_pci_dma_buf * priv ;
100100
@@ -116,7 +116,7 @@ int vfio_pci_dma_buf_iommufd_map(struct dma_buf_attachment *attachment,
116116}
117117EXPORT_SYMBOL_FOR_MODULES (vfio_pci_dma_buf_iommufd_map , "iommufd" );
118118
119- int vfio_pci_core_fill_phys_vec (struct dma_buf_phys_vec * phys_vec ,
119+ int vfio_pci_core_fill_phys_vec (struct phys_vec * phys_vec ,
120120 struct vfio_region_dma_range * dma_ranges ,
121121 size_t nr_ranges , phys_addr_t start ,
122122 phys_addr_t len )
@@ -148,7 +148,7 @@ EXPORT_SYMBOL_GPL(vfio_pci_core_fill_phys_vec);
148148int vfio_pci_core_get_dmabuf_phys (struct vfio_pci_core_device * vdev ,
149149 struct p2pdma_provider * * provider ,
150150 unsigned int region_index ,
151- struct dma_buf_phys_vec * phys_vec ,
151+ struct phys_vec * phys_vec ,
152152 struct vfio_region_dma_range * dma_ranges ,
153153 size_t nr_ranges )
154154{
0 commit comments