Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
mbcache.h File Reference

Go to the source code of this file.

Data Structures

struct  mb_cache_entry
 
struct  mb_cache
 

Functions

struct mb_cachemb_cache_create (const char *, int)
 
void mb_cache_shrink (struct block_device *)
 
void mb_cache_destroy (struct mb_cache *)
 
struct mb_cache_entrymb_cache_entry_alloc (struct mb_cache *, gfp_t)
 
int mb_cache_entry_insert (struct mb_cache_entry *, struct block_device *, sector_t, unsigned int)
 
void mb_cache_entry_release (struct mb_cache_entry *)
 
void mb_cache_entry_free (struct mb_cache_entry *)
 
struct mb_cache_entrymb_cache_entry_get (struct mb_cache *, struct block_device *, sector_t)
 
struct mb_cache_entrymb_cache_entry_find_first (struct mb_cache *cache, struct block_device *, unsigned int)
 
struct mb_cache_entrymb_cache_entry_find_next (struct mb_cache_entry *, struct block_device *, unsigned int)
 

Function Documentation

struct mb_cache* mb_cache_create ( const char ,
int   
)
read

Definition at line 208 of file mbcache.c.

void mb_cache_destroy ( struct mb_cache )

Definition at line 298 of file mbcache.c.

struct mb_cache_entry* mb_cache_entry_alloc ( struct mb_cache ,
gfp_t   
)
read

Definition at line 342 of file mbcache.c.

struct mb_cache_entry* mb_cache_entry_find_first ( struct mb_cache cache,
struct block_device ,
unsigned  int 
)
read

Definition at line 556 of file mbcache.c.

struct mb_cache_entry* mb_cache_entry_find_next ( struct mb_cache_entry ,
struct block_device ,
unsigned  int 
)
read

Definition at line 590 of file mbcache.c.

void mb_cache_entry_free ( struct mb_cache_entry )

Definition at line 439 of file mbcache.c.

struct mb_cache_entry* mb_cache_entry_get ( struct mb_cache ,
struct block_device ,
sector_t   
)
read

Definition at line 457 of file mbcache.c.

int mb_cache_entry_insert ( struct mb_cache_entry ,
struct block_device ,
sector_t  ,
unsigned  int 
)

Definition at line 386 of file mbcache.c.

void mb_cache_entry_release ( struct mb_cache_entry )

Definition at line 425 of file mbcache.c.

void mb_cache_shrink ( struct block_device )

Definition at line 268 of file mbcache.c.