Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
pd.c File Reference
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/io-mapping.h>
#include <asm/page.h>
#include "mlx4.h"
#include "icm.h"

Go to the source code of this file.

Enumerations

enum  { MLX4_NUM_RESERVED_UARS = 8 }
 

Functions

int mlx4_pd_alloc (struct mlx4_dev *dev, u32 *pdn)
 
 EXPORT_SYMBOL_GPL (mlx4_pd_alloc)
 
void mlx4_pd_free (struct mlx4_dev *dev, u32 pdn)
 
 EXPORT_SYMBOL_GPL (mlx4_pd_free)
 
int __mlx4_xrcd_alloc (struct mlx4_dev *dev, u32 *xrcdn)
 
int mlx4_xrcd_alloc (struct mlx4_dev *dev, u32 *xrcdn)
 
 EXPORT_SYMBOL_GPL (mlx4_xrcd_alloc)
 
void __mlx4_xrcd_free (struct mlx4_dev *dev, u32 xrcdn)
 
void mlx4_xrcd_free (struct mlx4_dev *dev, u32 xrcdn)
 
 EXPORT_SYMBOL_GPL (mlx4_xrcd_free)
 
int mlx4_init_pd_table (struct mlx4_dev *dev)
 
void mlx4_cleanup_pd_table (struct mlx4_dev *dev)
 
int mlx4_init_xrcd_table (struct mlx4_dev *dev)
 
void mlx4_cleanup_xrcd_table (struct mlx4_dev *dev)
 
int mlx4_uar_alloc (struct mlx4_dev *dev, struct mlx4_uar *uar)
 
 EXPORT_SYMBOL_GPL (mlx4_uar_alloc)
 
void mlx4_uar_free (struct mlx4_dev *dev, struct mlx4_uar *uar)
 
 EXPORT_SYMBOL_GPL (mlx4_uar_free)
 
int mlx4_bf_alloc (struct mlx4_dev *dev, struct mlx4_bf *bf)
 
 EXPORT_SYMBOL_GPL (mlx4_bf_alloc)
 
void mlx4_bf_free (struct mlx4_dev *dev, struct mlx4_bf *bf)
 
 EXPORT_SYMBOL_GPL (mlx4_bf_free)
 
int mlx4_init_uar_table (struct mlx4_dev *dev)
 
void mlx4_cleanup_uar_table (struct mlx4_dev *dev)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
MLX4_NUM_RESERVED_UARS 

Definition at line 44 of file pd.c.

Function Documentation

int __mlx4_xrcd_alloc ( struct mlx4_dev dev,
u32 xrcdn 
)

Definition at line 66 of file pd.c.

void __mlx4_xrcd_free ( struct mlx4_dev dev,
u32  xrcdn 
)

Definition at line 97 of file pd.c.

EXPORT_SYMBOL_GPL ( mlx4_pd_alloc  )
EXPORT_SYMBOL_GPL ( mlx4_pd_free  )
EXPORT_SYMBOL_GPL ( mlx4_xrcd_alloc  )
EXPORT_SYMBOL_GPL ( mlx4_xrcd_free  )
EXPORT_SYMBOL_GPL ( mlx4_uar_alloc  )
EXPORT_SYMBOL_GPL ( mlx4_uar_free  )
EXPORT_SYMBOL_GPL ( mlx4_bf_alloc  )
EXPORT_SYMBOL_GPL ( mlx4_bf_free  )
int mlx4_bf_alloc ( struct mlx4_dev dev,
struct mlx4_bf bf 
)

Definition at line 171 of file pd.c.

void mlx4_bf_free ( struct mlx4_dev dev,
struct mlx4_bf bf 
)

Definition at line 241 of file pd.c.

void mlx4_cleanup_pd_table ( struct mlx4_dev dev)

Definition at line 128 of file pd.c.

void mlx4_cleanup_uar_table ( struct mlx4_dev dev)

Definition at line 281 of file pd.c.

void mlx4_cleanup_xrcd_table ( struct mlx4_dev dev)

Definition at line 141 of file pd.c.

int mlx4_init_pd_table ( struct mlx4_dev dev)

Definition at line 119 of file pd.c.

int mlx4_init_uar_table ( struct mlx4_dev dev)

Definition at line 267 of file pd.c.

int mlx4_init_xrcd_table ( struct mlx4_dev dev)

Definition at line 133 of file pd.c.

int mlx4_pd_alloc ( struct mlx4_dev dev,
u32 pdn 
)

Definition at line 48 of file pd.c.

void mlx4_pd_free ( struct mlx4_dev dev,
u32  pdn 
)

Definition at line 60 of file pd.c.

int mlx4_uar_alloc ( struct mlx4_dev dev,
struct mlx4_uar uar 
)

Definition at line 146 of file pd.c.

void mlx4_uar_free ( struct mlx4_dev dev,
struct mlx4_uar uar 
)

Definition at line 165 of file pd.c.

int mlx4_xrcd_alloc ( struct mlx4_dev dev,
u32 xrcdn 
)

Definition at line 77 of file pd.c.

void mlx4_xrcd_free ( struct mlx4_dev dev,
u32  xrcdn 
)

Definition at line 102 of file pd.c.