Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
cache_lib.h File Reference
#include <linux/completion.h>
#include <linux/sunrpc/cache.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  nfs_cache_defer_req
 

Functions

int nfs_cache_upcall (struct cache_detail *cd, char *entry_name)
 
struct nfs_cache_defer_reqnfs_cache_defer_req_alloc (void)
 
void nfs_cache_defer_req_put (struct nfs_cache_defer_req *dreq)
 
int nfs_cache_wait_for_upcall (struct nfs_cache_defer_req *dreq)
 
void nfs_cache_init (struct cache_detail *cd)
 
void nfs_cache_destroy (struct cache_detail *cd)
 
int nfs_cache_register_net (struct net *net, struct cache_detail *cd)
 
void nfs_cache_unregister_net (struct net *net, struct cache_detail *cd)
 
int nfs_cache_register_sb (struct super_block *sb, struct cache_detail *cd)
 
void nfs_cache_unregister_sb (struct super_block *sb, struct cache_detail *cd)
 

Function Documentation

struct nfs_cache_defer_req* nfs_cache_defer_req_alloc ( void  )
read

Definition at line 94 of file cache_lib.c.

void nfs_cache_defer_req_put ( struct nfs_cache_defer_req dreq)

Definition at line 67 of file cache_lib.c.

void nfs_cache_destroy ( struct cache_detail cd)

Definition at line 162 of file cache_lib.c.

void nfs_cache_init ( struct cache_detail cd)

Definition at line 157 of file cache_lib.c.

int nfs_cache_register_net ( struct net net,
struct cache_detail cd 
)

Definition at line 127 of file cache_lib.c.

int nfs_cache_register_sb ( struct super_block sb,
struct cache_detail cd 
)

Definition at line 115 of file cache_lib.c.

void nfs_cache_unregister_net ( struct net net,
struct cache_detail cd 
)

Definition at line 146 of file cache_lib.c.

void nfs_cache_unregister_sb ( struct super_block sb,
struct cache_detail cd 
)

Definition at line 140 of file cache_lib.c.

int nfs_cache_upcall ( struct cache_detail cd,
char entry_name 
)

Definition at line 34 of file cache_lib.c.

int nfs_cache_wait_for_upcall ( struct nfs_cache_defer_req dreq)

Definition at line 107 of file cache_lib.c.