Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vfio_iommu_type1.c File Reference
#include <linux/compat.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/iommu.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/vfio.h>
#include <linux/workqueue.h>

Go to the source code of this file.

Data Structures

struct  vfio_iommu
 
struct  vfio_dma
 
struct  vfio_group
 
struct  vwork
 

Macros

#define DRIVER_VERSION   "0.2"
 
#define DRIVER_AUTHOR   "Alex Williamson <[email protected]>"
 
#define DRIVER_DESC   "Type1 IOMMU driver for VFIO"
 
#define NPAGE_TO_SIZE(npage)   ((size_t)(npage) << PAGE_SHIFT)
 

Functions

 module_param_named (allow_unsafe_interrupts, allow_unsafe_interrupts, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (allow_unsafe_interrupts,"Enable VFIO IOMMU support for on platforms without interrupt remapping support.")
 
 module_init (vfio_iommu_type1_init)
 
 module_exit (vfio_iommu_type1_cleanup)
 
 MODULE_VERSION (DRIVER_VERSION)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Alex Williamson <[email protected]>"

Definition at line 41 of file vfio_iommu_type1.c.

#define DRIVER_DESC   "Type1 IOMMU driver for VFIO"

Definition at line 42 of file vfio_iommu_type1.c.

#define DRIVER_VERSION   "0.2"

Definition at line 40 of file vfio_iommu_type1.c.

#define NPAGE_TO_SIZE (   npage)    ((size_t)(npage) << PAGE_SHIFT)

Definition at line 76 of file vfio_iommu_type1.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( vfio_iommu_type1_cleanup  )
module_init ( vfio_iommu_type1_init  )
MODULE_LICENSE ( "GPL v2 )
module_param_named ( allow_unsafe_interrupts  ,
allow_unsafe_interrupts  ,
bool  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( allow_unsafe_interrupts  ,
"Enable VFIO IOMMU support for on platforms without interrupt remapping support."   
)
MODULE_VERSION ( DRIVER_VERSION  )