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

Go to the source code of this file.

Functions

struct ib_mrmlx4_ib_get_dma_mr (struct ib_pd *pd, int acc)
 
int mlx4_ib_umem_write_mtt (struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, struct ib_umem *umem)
 
struct ib_mrmlx4_ib_reg_user_mr (struct ib_pd *pd, u64 start, u64 length, u64 virt_addr, int access_flags, struct ib_udata *udata)
 
int mlx4_ib_dereg_mr (struct ib_mr *ibmr)
 
struct ib_mrmlx4_ib_alloc_fast_reg_mr (struct ib_pd *pd, int max_page_list_len)
 
struct ib_fast_reg_page_listmlx4_ib_alloc_fast_reg_page_list (struct ib_device *ibdev, int page_list_len)
 
void mlx4_ib_free_fast_reg_page_list (struct ib_fast_reg_page_list *page_list)
 
struct ib_fmrmlx4_ib_fmr_alloc (struct ib_pd *pd, int acc, struct ib_fmr_attr *fmr_attr)
 
int mlx4_ib_map_phys_fmr (struct ib_fmr *ibfmr, u64 *page_list, int npages, u64 iova)
 
int mlx4_ib_unmap_fmr (struct list_head *fmr_list)
 
int mlx4_ib_fmr_dealloc (struct ib_fmr *ibfmr)
 

Function Documentation

struct ib_mr* mlx4_ib_alloc_fast_reg_mr ( struct ib_pd pd,
int  max_page_list_len 
)
read

Definition at line 189 of file mr.c.

struct ib_fast_reg_page_list* mlx4_ib_alloc_fast_reg_page_list ( struct ib_device ibdev,
int  page_list_len 
)
read

Definition at line 222 of file mr.c.

int mlx4_ib_dereg_mr ( struct ib_mr ibmr)

Definition at line 177 of file mr.c.

struct ib_fmr* mlx4_ib_fmr_alloc ( struct ib_pd pd,
int  acc,
struct ib_fmr_attr fmr_attr 
)
read

Definition at line 268 of file mr.c.

int mlx4_ib_fmr_dealloc ( struct ib_fmr ibfmr)

Definition at line 347 of file mr.c.

void mlx4_ib_free_fast_reg_page_list ( struct ib_fast_reg_page_list page_list)

Definition at line 256 of file mr.c.

struct ib_mr* mlx4_ib_get_dma_mr ( struct ib_pd pd,
int  acc 
)
read

Definition at line 47 of file mr.c.

int mlx4_ib_map_phys_fmr ( struct ib_fmr ibfmr,
u64 page_list,
int  npages,
u64  iova 
)

Definition at line 302 of file mr.c.

struct ib_mr* mlx4_ib_reg_user_mr ( struct ib_pd pd,
u64  start,
u64  length,
u64  virt_addr,
int  access_flags,
struct ib_udata udata 
)
read

Definition at line 124 of file mr.c.

int mlx4_ib_umem_write_mtt ( struct mlx4_ib_dev dev,
struct mlx4_mtt mtt,
struct ib_umem umem 
)

Definition at line 79 of file mr.c.

int mlx4_ib_unmap_fmr ( struct list_head fmr_list)

Definition at line 312 of file mr.c.