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

Go to the source code of this file.

Data Structures

struct  svc_cacherep
 

Macros

#define c_replvec   c_u.u_vec
 
#define c_replstat   c_u.u_status
 
#define RC_DELAY   (HZ/5)
 

Enumerations

enum  { RC_UNUSED, RC_INPROG, RC_DONE }
 
enum  { RC_DROPIT, RC_REPLY, RC_DOIT, RC_INTR }
 
enum  { RC_NOCACHE, RC_REPLSTAT, RC_REPLBUFF }
 

Functions

int nfsd_reply_cache_init (void)
 
void nfsd_reply_cache_shutdown (void)
 
int nfsd_cache_lookup (struct svc_rqst *)
 
void nfsd_cache_update (struct svc_rqst *, int, __be32 *)
 

Macro Definition Documentation

#define c_replstat   c_u.u_status

Definition at line 36 of file cache.h.

#define c_replvec   c_u.u_vec

Definition at line 35 of file cache.h.

#define RC_DELAY   (HZ/5)

Definition at line 68 of file cache.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
RC_UNUSED 
RC_INPROG 
RC_DONE 

Definition at line 39 of file cache.h.

anonymous enum
Enumerator:
RC_DROPIT 
RC_REPLY 
RC_DOIT 
RC_INTR 

Definition at line 46 of file cache.h.

anonymous enum
Enumerator:
RC_NOCACHE 
RC_REPLSTAT 
RC_REPLBUFF 

Definition at line 59 of file cache.h.

Function Documentation

int nfsd_cache_lookup ( struct svc_rqst )

Definition at line 121 of file nfscache.c.

void nfsd_cache_update ( struct svc_rqst ,
int  ,
__be32  
)

Definition at line 258 of file nfscache.c.

int nfsd_reply_cache_init ( void  )

Definition at line 48 of file nfscache.c.

void nfsd_reply_cache_shutdown ( void  )

Definition at line 78 of file nfscache.c.