summaryrefslogtreecommitdiff
path: root/include/linux/vfio.h
diff options
context:
space:
mode:
authorAlex Williamson <alex@shazbot.org>2025-11-21 07:20:00 +0300
committerAlex Williamson <alex@shazbot.org>2025-11-21 07:20:00 +0300
commitfa804aa4ac1b091ef2ec2981f08a1c28aaeba8e7 (patch)
tree77e377384b1eca3835404c27cffbcf455299f375 /include/linux/vfio.h
parent56c069307dfd0a5e39b685e0aeee6c40d1d7ddfc (diff)
parent5415d887db0e059920cb5673a32cc4d66daa280f (diff)
downloadlinux-fa804aa4ac1b091ef2ec2981f08a1c28aaeba8e7.tar.xz
Merge tag 'vfio-v6.19-dma-buf-v9+' into v6.19/vfio/next
[v9] vfio/pci: Allow MMIO regions to be exported through dma-buf https://lore.kernel.org/all/20251120-dmabuf-vfio-v9-0-d7f71607f371@nvidia.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/linux/vfio.h')
-rw-r--r--include/linux/vfio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/vfio.h b/include/linux/vfio.h
index 8e1ddb48b9b5..e90859956514 100644
--- a/include/linux/vfio.h
+++ b/include/linux/vfio.h
@@ -301,6 +301,8 @@ static inline void vfio_put_device(struct vfio_device *device)
int vfio_register_group_dev(struct vfio_device *device);
int vfio_register_emulated_iommu_dev(struct vfio_device *device);
void vfio_unregister_group_dev(struct vfio_device *device);
+bool vfio_device_try_get_registration(struct vfio_device *device);
+void vfio_device_put_registration(struct vfio_device *device);
int vfio_assign_device_set(struct vfio_device *device, void *set_id);
unsigned int vfio_device_set_open_count(struct vfio_device_set *dev_set);