Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
c2_mm.c File Reference
#include <linux/slab.h>
#include "c2.h"
#include "c2_vq.h"

Go to the source code of this file.

Macros

#define PBL_VIRT   1
 
#define PBL_PHYS   2
 
#define C2_PBL_MAX_DEPTH   131072
 

Functions

int c2_nsmr_register_phys_kern (struct c2_dev *c2dev, u64 *addr_list, int page_size, int pbl_depth, u32 length, u32 offset, u64 *va, enum c2_acf acf, struct c2_mr *mr)
 
int c2_stag_dealloc (struct c2_dev *c2dev, u32 stag_index)
 

Macro Definition Documentation

#define C2_PBL_MAX_DEPTH   131072

Definition at line 172 of file c2_mm.c.

#define PBL_PHYS   2

Definition at line 39 of file c2_mm.c.

#define PBL_VIRT   1

Definition at line 38 of file c2_mm.c.

Function Documentation

int c2_nsmr_register_phys_kern ( struct c2_dev c2dev,
u64 addr_list,
int  page_size,
int  pbl_depth,
u32  length,
u32  offset,
u64 va,
enum c2_acf  acf,
struct c2_mr mr 
)

Definition at line 174 of file c2_mm.c.

int c2_stag_dealloc ( struct c2_dev c2dev,
u32  stag_index 
)

Definition at line 316 of file c2_mm.c.