Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ib_fmr_pool_param Struct Reference

#include <ib_fmr_pool.h>

Data Fields

int max_pages_per_fmr
 
int page_shift
 
enum ib_access_flags access
 
int pool_size
 
int dirty_watermark
 
void(* flush_function )(struct ib_fmr_pool *pool, void *arg)
 
voidflush_arg
 
unsigned cache:1
 

Detailed Description

struct ib_fmr_pool_param - Parameters for creating FMR pool :Maximum number of pages per map request. : Log2 of sizeof "pages" mapped by this fmr :Access flags for FMRs in pool. :Number of FMRs to allocate for pool. :Flush is triggered when dirty FMRs are present. :Callback called when unmapped FMRs are flushed and more FMRs are possibly available for mapping :Context passed to user's flush function. :If set, FMRs may be reused after unmapping for identical map requests.

Definition at line 55 of file ib_fmr_pool.h.

Field Documentation

enum ib_access_flags access

Definition at line 58 of file ib_fmr_pool.h.

unsigned cache

Definition at line 64 of file ib_fmr_pool.h.

int dirty_watermark

Definition at line 60 of file ib_fmr_pool.h.

void* flush_arg

Definition at line 63 of file ib_fmr_pool.h.

void(* flush_function)(struct ib_fmr_pool *pool, void *arg)

Definition at line 61 of file ib_fmr_pool.h.

int max_pages_per_fmr

Definition at line 56 of file ib_fmr_pool.h.

int page_shift

Definition at line 57 of file ib_fmr_pool.h.

int pool_size

Definition at line 59 of file ib_fmr_pool.h.


The documentation for this struct was generated from the following file: