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

Go to the source code of this file.

Data Structures

struct  nfsd4_fs_location
 
struct  nfsd4_fs_locations
 
struct  exp_flavor_info
 
struct  svc_export
 
struct  svc_expkey
 

Macros

#define MAX_FS_LOCATIONS   128
 
#define MAX_SECINFO_LIST   8
 
#define EX_ISSYNC(exp)   (!((exp)->ex_flags & NFSEXP_ASYNC))
 
#define EX_NOHIDE(exp)   ((exp)->ex_flags & NFSEXP_NOHIDE)
 
#define EX_WGATHER(exp)   ((exp)->ex_flags & NFSEXP_GATHERED_WRITES)
 

Functions

int nfsexp_flags (struct svc_rqst *rqstp, struct svc_export *exp)
 
__be32 check_nfsd_access (struct svc_export *exp, struct svc_rqst *rqstp)
 
int nfsd_export_init (struct net *)
 
void nfsd_export_shutdown (struct net *)
 
void nfsd_export_flush (struct net *)
 
struct svc_exportrqst_exp_get_by_name (struct svc_rqst *, struct path *)
 
struct svc_exportrqst_exp_parent (struct svc_rqst *, struct path *)
 
struct svc_exportrqst_find_fsidzero_export (struct svc_rqst *)
 
int exp_rootfh (struct net *, struct auth_domain *, char *path, struct knfsd_fh *, int maxsize)
 
__be32 exp_pseudoroot (struct svc_rqst *, struct svc_fh *)
 
__be32 nfserrno (int errno)
 
struct svc_exportrqst_exp_find (struct svc_rqst *, int, u32 *)
 

Macro Definition Documentation

#define EX_ISSYNC (   exp)    (!((exp)->ex_flags & NFSEXP_ASYNC))

Definition at line 76 of file export.h.

#define EX_NOHIDE (   exp)    ((exp)->ex_flags & NFSEXP_NOHIDE)

Definition at line 77 of file export.h.

#define EX_WGATHER (   exp)    ((exp)->ex_flags & NFSEXP_GATHERED_WRITES)

Definition at line 78 of file export.h.

#define MAX_FS_LOCATIONS   128

Definition at line 19 of file export.h.

#define MAX_SECINFO_LIST   8

Definition at line 40 of file export.h.

Function Documentation

__be32 check_nfsd_access ( struct svc_export exp,
struct svc_rqst rqstp 
)

Definition at line 897 of file export.c.

__be32 exp_pseudoroot ( struct svc_rqst ,
struct svc_fh  
)

Definition at line 1024 of file export.c.

int exp_rootfh ( struct net ,
struct auth_domain *  ,
char path,
struct knfsd_fh ,
int  maxsize 
)
void nfsd_export_flush ( struct net )

Definition at line 1275 of file export.c.

int nfsd_export_init ( struct net )

Definition at line 1238 of file export.c.

void nfsd_export_shutdown ( struct net )

Definition at line 1287 of file export.c.

__be32 nfserrno ( int  errno)

Definition at line 714 of file nfsproc.c.

int nfsexp_flags ( struct svc_rqst rqstp,
struct svc_export exp 
)

Definition at line 8 of file auth.c.

struct svc_export* rqst_exp_find ( struct svc_rqst ,
int  ,
u32  
)
read

Definition at line 960 of file export.c.

struct svc_export* rqst_exp_get_by_name ( struct svc_rqst ,
struct path  
)
read

Definition at line 929 of file export.c.

struct svc_export* rqst_exp_parent ( struct svc_rqst ,
struct path  
)
read

Definition at line 993 of file export.c.

struct svc_export* rqst_find_fsidzero_export ( struct svc_rqst )
read

Definition at line 1009 of file export.c.