Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ipath_mmap.c File Reference
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <asm/pgtable.h>
#include "ipath_verbs.h"

Go to the source code of this file.


void ipath_release_mmap_info (struct kref *ref)
int ipath_mmap (struct ib_ucontext *context, struct vm_area_struct *vma)
struct ipath_mmap_infoipath_create_mmap_info (struct ipath_ibdev *dev, u32 size, struct ib_ucontext *context, void *obj)
void ipath_update_mmap_info (struct ipath_ibdev *dev, struct ipath_mmap_info *ip, u32 size, void *obj)

Function Documentation

struct ipath_mmap_info* ipath_create_mmap_info ( struct ipath_ibdev dev,
u32  size,
struct ib_ucontext context,
void obj 

Definition at line 131 of file ipath_mmap.c.

int ipath_mmap ( struct ib_ucontext context,
struct vm_area_struct vma 

ipath_mmap - create a new mmap region : the IB user context of the process making the mmap() call : the VMA to be initialized Return zero if the mmap is OK. Otherwise, return an errno.

Definition at line 89 of file ipath_mmap.c.

void ipath_release_mmap_info ( struct kref ref)

ipath_release_mmap_info - free mmap info structure a pointer to the kref within struct ipath_mmap_info

Definition at line 46 of file ipath_mmap.c.

void ipath_update_mmap_info ( struct ipath_ibdev dev,
struct ipath_mmap_info ip,
u32  size,
void obj 

Definition at line 160 of file ipath_mmap.c.