Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
vfio_iommu_driver_ops Struct Reference

#include <vfio.h>

Data Fields

charname
 
struct moduleowner
 
void *(* open )(unsigned long arg)
 
void(* release )(void *iommu_data)
 
ssize_t(* read )(void *iommu_data, char __user *buf, size_t count, loff_t *ppos)
 
ssize_t(* write )(void *iommu_data, const char __user *buf, size_t count, loff_t *size)
 
long(* ioctl )(void *iommu_data, unsigned int cmd, unsigned long arg)
 
int(* mmap )(void *iommu_data, struct vm_area_struct *vma)
 
int(* attach_group )(void *iommu_data, struct iommu_group *group)
 
void(* detach_group )(void *iommu_data, struct iommu_group *group)
 

Detailed Description

struct vfio_iommu_driver_ops - VFIO IOMMU driver callbacks

Definition at line 52 of file vfio.h.

Field Documentation

int(* attach_group)(void *iommu_data, struct iommu_group *group)

Definition at line 64 of file vfio.h.

void(* detach_group)(void *iommu_data, struct iommu_group *group)

Definition at line 66 of file vfio.h.

long(* ioctl)(void *iommu_data, unsigned int cmd, unsigned long arg)

Definition at line 61 of file vfio.h.

int(* mmap)(void *iommu_data, struct vm_area_struct *vma)

Definition at line 63 of file vfio.h.

char* name

Definition at line 53 of file vfio.h.

void*(* open)(unsigned long arg)

Definition at line 55 of file vfio.h.

struct module* owner

Definition at line 54 of file vfio.h.

ssize_t(* read)(void *iommu_data, char __user *buf, size_t count, loff_t *ppos)

Definition at line 57 of file vfio.h.

void(* release)(void *iommu_data)

Definition at line 56 of file vfio.h.

ssize_t(* write)(void *iommu_data, const char __user *buf, size_t count, loff_t *size)

Definition at line 59 of file vfio.h.


The documentation for this struct was generated from the following file: