Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
nfs3proc.c File Reference
#include <linux/fs.h>
#include <linux/ext2_fs.h>
#include <linux/magic.h>
#include "cache.h"
#include "xdr3.h"
#include "vfs.h"

Go to the source code of this file.

Data Structures

struct  nfsd3_voidargs
 

Macros

#define NFSDDBG_FACILITY   NFSDDBG_PROC
 
#define RETURN_STATUS(st)   { resp->status = (st); return (st); }
 
#define nfs3svc_decode_fhandleargs   nfs3svc_decode_fhandle
 
#define nfs3svc_encode_attrstatres   nfs3svc_encode_attrstat
 
#define nfs3svc_encode_wccstatres   nfs3svc_encode_wccstat
 
#define nfsd3_mkdirargs   nfsd3_createargs
 
#define nfsd3_readdirplusargs   nfsd3_readdirargs
 
#define nfsd3_fhandleargs   nfsd_fhandle
 
#define nfsd3_fhandleres   nfsd3_attrstat
 
#define nfsd3_attrstatres   nfsd3_attrstat
 
#define nfsd3_wccstatres   nfsd3_attrstat
 
#define nfsd3_createres   nfsd3_diropres
 
#define nfsd3_voidres   nfsd3_voidargs
 
#define PROC(name, argt, rest, relt, cache, respsize)
 
#define ST   1 /* status*/
 
#define FH   17 /* filehandle with length */
 
#define AT   21 /* attributes */
 
#define pAT   (1+AT) /* post attributes - conditional */
 
#define WC   (7+pAT) /* WCC attributes */
 

Variables

struct svc_version nfsd_version3
 

Macro Definition Documentation

#define AT   21 /* attributes */

Definition at line 670 of file nfs3proc.c.

#define FH   17 /* filehandle with length */

Definition at line 669 of file nfs3proc.c.

#define nfs3svc_decode_fhandleargs   nfs3svc_decode_fhandle

Definition at line 643 of file nfs3proc.c.

#define nfs3svc_encode_attrstatres   nfs3svc_encode_attrstat

Definition at line 644 of file nfs3proc.c.

#define nfs3svc_encode_wccstatres   nfs3svc_encode_wccstat

Definition at line 645 of file nfs3proc.c.

#define nfsd3_attrstatres   nfsd3_attrstat

Definition at line 650 of file nfs3proc.c.

#define nfsd3_createres   nfsd3_diropres

Definition at line 652 of file nfs3proc.c.

#define nfsd3_fhandleargs   nfsd_fhandle

Definition at line 648 of file nfs3proc.c.

#define nfsd3_fhandleres   nfsd3_attrstat

Definition at line 649 of file nfs3proc.c.

#define nfsd3_mkdirargs   nfsd3_createargs

Definition at line 646 of file nfs3proc.c.

#define nfsd3_readdirplusargs   nfsd3_readdirargs

Definition at line 647 of file nfs3proc.c.

#define nfsd3_voidres   nfsd3_voidargs

Definition at line 653 of file nfs3proc.c.

#define nfsd3_wccstatres   nfsd3_attrstat

Definition at line 651 of file nfs3proc.c.

#define NFSDDBG_FACILITY   NFSDDBG_PROC

Definition at line 15 of file nfs3proc.c.

#define pAT   (1+AT) /* post attributes - conditional */

Definition at line 671 of file nfs3proc.c.

#define PROC (   name,
  argt,
  rest,
  relt,
  cache,
  respsize 
)
Value:
{ (svc_procfunc) nfsd3_proc_##name, \
(kxdrproc_t) nfs3svc_decode_##argt##args, \
(kxdrproc_t) nfs3svc_encode_##rest##res, \
(kxdrproc_t) nfs3svc_release_##relt, \
sizeof(struct nfsd3_##argt##args), \
sizeof(struct nfsd3_##rest##res), \
0, \
respsize, \
}

Definition at line 656 of file nfs3proc.c.

#define RETURN_STATUS (   st)    { resp->status = (st); return (st); }

Definition at line 17 of file nfs3proc.c.

#define ST   1 /* status*/

Definition at line 668 of file nfs3proc.c.

#define WC   (7+pAT) /* WCC attributes */

Definition at line 672 of file nfs3proc.c.

Variable Documentation

struct svc_version nfsd_version3
Initial value:
= {
.vs_vers = 3,
.vs_nproc = 22,
.vs_proc = nfsd_procedures3,
.vs_dispatch = nfsd_dispatch,
.vs_xdrsize = NFS3_SVC_XDRSIZE,
}

Definition at line 890 of file nfs3proc.c.