STRUCT VFIO_IOMMU_DRIVER_OPS(9)
Hiii bestie π welcome to the Kernel API Manual page for struct vfio_iommu_driver_ops(9) β the VFIO IOMMU driver callbacks one. This is the whole tea, no cap. π«Ά
β¨ NAME β¨
Itβs called struct vfio_iommu_driver_ops β VFIO IOMMU driver callbacks. Thatβs the vibe. π
β¨ SYNOPSIS β¨
Okay so the whole struct is literally right here, bestie β every field, exactly as the page gives it:
struct vfio_iommu_driver_ops {
char *name;
struct module *owner;
void *(*open)(unsigned long arg);
void (*release)(void *iommu_data);
long (*ioctl)(void *iommu_data, unsigned int cmd, unsigned long
arg);
int (*attach_group)(void *iommu_data, struct iommu_group *group,
enum vfio_group_type);
void (*detach_group)(void *iommu_data, struct iommu_group *group);
int (*pin_pages)(void *iommu_data, struct iommu_group *group,
dma_addr_t user_iova, int npage, int prot, struct page **pages);
void (*unpin_pages)(void *iommu_data, dma_addr_t user_iova, int
npage);
void (*register_device)(void *iommu_data, struct vfio_device *vdev);
void (*unregister_device)(void *iommu_data, struct vfio_device
*vdev);
int (*dma_rw)(void *iommu_data, dma_addr_t user_iova, void *data,
size_t count, bool write);
struct iommu_domain *(*group_iommu_domain)(void *iommu_data, struct
iommu_group *group);
};
π Members π
The original page hits us with the Members heading and thenβ¦ nothing else. Literally a cliffhanger. π No member-by-member breakdown on this page β the members are the fields up in the struct, and thatβs the whole thing. π«Ά
π SEE ALSO π
- Kernel file:
./drivers/vfio/vfio.hβ thatβs the one it points you to. π
okay bye bestie π this page is from ./drivers/vfio, dated October 2026, and the footer title is literally struct vfio_...u_driver_ops(9) β periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms