Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
xdr.h File Reference
#include <linux/vfs.h>
#include "nfsd.h"
#include "nfsfh.h"

Go to the source code of this file.

Data Structures

struct  nfsd_fhandle
 
struct  nfsd_sattrargs
 
struct  nfsd_diropargs
 
struct  nfsd_readargs
 
struct  nfsd_writeargs
 
struct  nfsd_createargs
 
struct  nfsd_renameargs
 
struct  nfsd_readlinkargs
 
struct  nfsd_linkargs
 
struct  nfsd_symlinkargs
 
struct  nfsd_readdirargs
 
struct  nfsd_attrstat
 
struct  nfsd_diropres
 
struct  nfsd_readlinkres
 
struct  nfsd_readres
 
struct  nfsd_readdirres
 
struct  nfsd_statfsres
 
union  nfsd_xdrstore
 

Macros

#define NFS2_SVC_XDRSIZE   sizeof(union nfsd_xdrstore)
 

Functions

int nfssvc_decode_void (struct svc_rqst *, __be32 *, void *)
 
int nfssvc_decode_fhandle (struct svc_rqst *, __be32 *, struct nfsd_fhandle *)
 
int nfssvc_decode_sattrargs (struct svc_rqst *, __be32 *, struct nfsd_sattrargs *)
 
int nfssvc_decode_diropargs (struct svc_rqst *, __be32 *, struct nfsd_diropargs *)
 
int nfssvc_decode_readargs (struct svc_rqst *, __be32 *, struct nfsd_readargs *)
 
int nfssvc_decode_writeargs (struct svc_rqst *, __be32 *, struct nfsd_writeargs *)
 
int nfssvc_decode_createargs (struct svc_rqst *, __be32 *, struct nfsd_createargs *)
 
int nfssvc_decode_renameargs (struct svc_rqst *, __be32 *, struct nfsd_renameargs *)
 
int nfssvc_decode_readlinkargs (struct svc_rqst *, __be32 *, struct nfsd_readlinkargs *)
 
int nfssvc_decode_linkargs (struct svc_rqst *, __be32 *, struct nfsd_linkargs *)
 
int nfssvc_decode_symlinkargs (struct svc_rqst *, __be32 *, struct nfsd_symlinkargs *)
 
int nfssvc_decode_readdirargs (struct svc_rqst *, __be32 *, struct nfsd_readdirargs *)
 
int nfssvc_encode_void (struct svc_rqst *, __be32 *, void *)
 
int nfssvc_encode_attrstat (struct svc_rqst *, __be32 *, struct nfsd_attrstat *)
 
int nfssvc_encode_diropres (struct svc_rqst *, __be32 *, struct nfsd_diropres *)
 
int nfssvc_encode_readlinkres (struct svc_rqst *, __be32 *, struct nfsd_readlinkres *)
 
int nfssvc_encode_readres (struct svc_rqst *, __be32 *, struct nfsd_readres *)
 
int nfssvc_encode_statfsres (struct svc_rqst *, __be32 *, struct nfsd_statfsres *)
 
int nfssvc_encode_readdirres (struct svc_rqst *, __be32 *, struct nfsd_readdirres *)
 
int nfssvc_encode_entry (void *, const char *name, int namlen, loff_t offset, u64 ino, unsigned int)
 
int nfssvc_release_fhandle (struct svc_rqst *, __be32 *, struct nfsd_fhandle *)
 
__be32nfs2svc_encode_fattr (struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp)
 
__be32nfs2svc_decode_fh (__be32 *p, struct svc_fh *fhp)
 

Macro Definition Documentation

#define NFS2_SVC_XDRSIZE   sizeof(union nfsd_xdrstore)

Definition at line 131 of file xdr.h.

Function Documentation

__be32* nfs2svc_decode_fh ( __be32 p,
struct svc_fh fhp 
)

Definition at line 39 of file nfsxdr.c.

__be32* nfs2svc_encode_fattr ( struct svc_rqst rqstp,
__be32 p,
struct svc_fh fhp 
)

Definition at line 197 of file nfsxdr.c.

int nfssvc_decode_createargs ( struct svc_rqst ,
__be32 ,
struct nfsd_createargs  
)

Definition at line 329 of file nfsxdr.c.

int nfssvc_decode_diropargs ( struct svc_rqst ,
__be32 ,
struct nfsd_diropargs  
)

Definition at line 234 of file nfsxdr.c.

int nfssvc_decode_fhandle ( struct svc_rqst ,
__be32 ,
struct nfsd_fhandle  
)

Definition at line 214 of file nfsxdr.c.

int nfssvc_decode_linkargs ( struct svc_rqst ,
__be32 ,
struct nfsd_linkargs  
)

Definition at line 364 of file nfsxdr.c.

int nfssvc_decode_readargs ( struct svc_rqst ,
__be32 ,
struct nfsd_readargs  
)

Definition at line 245 of file nfsxdr.c.

int nfssvc_decode_readdirargs ( struct svc_rqst ,
__be32 ,
struct nfsd_readdirargs  
)

Definition at line 389 of file nfsxdr.c.

int nfssvc_decode_readlinkargs ( struct svc_rqst ,
__be32 ,
struct nfsd_readlinkargs  
)

Definition at line 354 of file nfsxdr.c.

int nfssvc_decode_renameargs ( struct svc_rqst ,
__be32 ,
struct nfsd_renameargs  
)

Definition at line 341 of file nfsxdr.c.

int nfssvc_decode_sattrargs ( struct svc_rqst ,
__be32 ,
struct nfsd_sattrargs  
)

Definition at line 222 of file nfsxdr.c.

int nfssvc_decode_symlinkargs ( struct svc_rqst ,
__be32 ,
struct nfsd_symlinkargs  
)

Definition at line 376 of file nfsxdr.c.

int nfssvc_decode_void ( struct svc_rqst ,
__be32 ,
void  
)

Definition at line 208 of file nfsxdr.c.

int nfssvc_decode_writeargs ( struct svc_rqst ,
__be32 ,
struct nfsd_writeargs  
)

Definition at line 276 of file nfsxdr.c.

int nfssvc_encode_attrstat ( struct svc_rqst ,
__be32 ,
struct nfsd_attrstat  
)

Definition at line 414 of file nfsxdr.c.

int nfssvc_encode_diropres ( struct svc_rqst ,
__be32 ,
struct nfsd_diropres  
)

Definition at line 422 of file nfsxdr.c.

int nfssvc_encode_entry ( void ,
const char name,
int  namlen,
loff_t  offset,
u64  ino,
unsigned  int 
)

Definition at line 493 of file nfsxdr.c.

int nfssvc_encode_readdirres ( struct svc_rqst ,
__be32 ,
struct nfsd_readdirres  
)

Definition at line 466 of file nfsxdr.c.

int nfssvc_encode_readlinkres ( struct svc_rqst ,
__be32 ,
struct nfsd_readlinkres  
)

Definition at line 431 of file nfsxdr.c.

int nfssvc_encode_readres ( struct svc_rqst ,
__be32 ,
struct nfsd_readres  
)

Definition at line 447 of file nfsxdr.c.

int nfssvc_encode_statfsres ( struct svc_rqst ,
__be32 ,
struct nfsd_statfsres  
)

Definition at line 479 of file nfsxdr.c.

int nfssvc_encode_void ( struct svc_rqst ,
__be32 ,
void  
)

Definition at line 408 of file nfsxdr.c.

int nfssvc_release_fhandle ( struct svc_rqst ,
__be32 ,
struct nfsd_fhandle  
)

Definition at line 540 of file nfsxdr.c.