nfs-ganesha 1.4
Classes | Defines | Typedefs | Functions | Variables

NFS protocols functions.

ocs RQUOTA protocol functions. | Mount protocol functions.

Classes

struct  fattr4_dent

Defines

#define FATTR4_ATTR_READ   0x00001
#define FATTR4_ATTR_WRITE   0x00010
#define FATTR4_ATTR_READ_WRITE   0x00011
#define NFS4_LEASE_LIFETIME   120
#define FSINFO_MAX_FILESIZE   0xFFFFFFFFFFFFFFFFll
#define MAX_HARD_LINK_VALUE   (0xffff)
#define NFS4_PSEUDOFS_MAX_READ_SIZE   1048576
#define NFS4_PSEUDOFS_MAX_WRITE_SIZE   1048576
#define NFS4_ROOT_UID   0
#define NFS_MAXPATHLEN   MAXPATHLEN
#define DEFAULT_DOMAIN   "localdomain"
#define DEFAULT_IDMAPCONF   "/etc/idmapd.conf"
#define NFS_REQ_OK   0
#define NFS_REQ_DROP   1

Typedefs

typedef int(* nfs4_op_function_t )(struct nfs_argop4 *, compound_data_t *, struct nfs_resop4 *)
typedef struct fattr4_dent fattr4_dent_t

Functions

int nfs_Null (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nfs_Getattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Get attributes for a file.
int nfs_Setattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 SETATTR.
int nfs2_Root (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Implements NFSPROC2_ROOT.
int nfs_Lookup (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 LOOKUP.
int nfs_Readlink (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 READLINK.
int nfs_Read (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 READ.
int nfs2_Writecache (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Implements NFSPROC2_WRITECACHE.
int nfs_Write (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 WRITE.
int nfs_Create (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 CREATE.
int nfs_Remove (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 REMOVE.
int nfs_Rename (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 RENAME.
int nfs_Link (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 LINK.
int nfs_Symlink (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 SYMLINK.
int nfs_Mkdir (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 MKDIR.
int nfs_Rmdir (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 RMDIR.
int nfs_Readdir (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 READDIR.
int nfs_Fsstat (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC2 and PROC3 FSSTAT.
int nfs3_Access (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Readdirplus (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NFS PROC3 READDIRPLUS.
int nfs3_Fsinfo (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Implements NFSPROC3_FSINFO.
int nfs3_Pathconf (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Implements NFSPROC3_PATHCONF.
int nfs3_Commit (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Implements NFSPROC3_COMMIT.
int nfs3_Mknod (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Implements NFSPROC3_MKNOD.
int nfs4_Compound (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nfs4_op_access (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_close (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_commit (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_create (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_delegpurge (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_delegreturn (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_getattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_getfh (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_link (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lock (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lockt (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_locku (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lookup (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lookupp (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_nverify (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_open (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_open_confirm (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_open_downgrade (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_openattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_putfh (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_putpubfh (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_putrootfh (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_read (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_readdir (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
 NFS4_OP_READDIR.
int nfs4_op_remove (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_renew (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_rename (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_restorefh (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_readlink (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_savefh (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_secinfo (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_setattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_setclientid (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
 The NFS4_OP_SETCLIENTID operation.
int nfs4_op_setclientid_confirm (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
 The NFS4_OP_SETCLIENTID_CONFIRM operation.
int nfs4_op_verify (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_write (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_release_lockowner (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_illegal (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_getattr_pseudo (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_access_pseudo (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lookup_pseudo (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lookupp_pseudo (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_readdir_pseudo (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_getattr_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_access_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lookup_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_lookupp_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_readdir_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
nfsstat4 nfs4_fh_to_xattrfh (nfs_fh4 *pfhin, nfs_fh4 *pfhout)
nfsstat4 nfs4_xattrfh_to_fh (nfs_fh4 *pfhin, nfs_fh4 *pfhout)
int nfs4_op_open_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_read_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_write_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs4_op_remove_xattr (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
int nfs_XattrD_Name (char *strname, char *objectname)
int nfs4_XattrToFattr (fattr4 *Fattr, compound_data_t *data, nfs_fh4 *objFH, bitmap4 *Bitmap)
int nfs4_cb_getattr (struct nfs_cb_argop4 *op, compound_data_t *data, struct nfs_cb_resop4 *resp)
int nfs4_cb_recall (struct nfs_cb_argop4 *op, compound_data_t *data, struct nfs_cb_resop4 *resp)
int nfs4_cb_illegal (struct nfs_cb_argop4 *op, compound_data_t *data, struct nfs_cb_resop4 *resp)
int nfs4_op_stat_update (nfs_arg_t *parg, nfs_res_t *pres, nfs_request_stat_t *pstat_req)
void mnt1_Mnt_Free (nfs_res_t *pres)
void mnt3_Mnt_Free (nfs_res_t *pres)
void mnt_Dump_Free (nfs_res_t *pres)
void mnt_Export_Free (nfs_res_t *pres)
void mnt_Null_Free (nfs_res_t *pres)
void mnt_Umnt_Free (nfs_res_t *pres)
void mnt_UmntAll_Free (nfs_res_t *pres)
void nlm_Null_Free (nfs_res_t *pres)
void nlm4_Test_Free (nfs_res_t *pres)
void nlm4_Lock_Free (nfs_res_t *pres)
void nlm4_NM_Lock_Free (nfs_res_t *pres)
void nlm4_Share_Free (nfs_res_t *pres)
void nlm4_Unshare_Free (nfs_res_t *pres)
void nlm4_Cancel_Free (nfs_res_t *pres)
void nlm4_Unlock_Free (nfs_res_t *pres)
void nlm4_Sm_Notify_Free (nfs_res_t *pres)
void nlm4_Granted_Res_Free (nfs_res_t *pres)
void nlm4_Free_All_Free (nfs_res_t *pres)
void rquota_Null_Free (nfs_res_t *pres)
void rquota_getquota_Free (nfs_res_t *pres)
void rquota_getactivequota_Free (nfs_res_t *pres)
void rquota_setquota_Free (nfs_res_t *pres)
void rquota_setactivequota_Free (nfs_res_t *pres)
void nfs_Null_Free (nfs_res_t *resp)
void nfs_Getattr_Free (nfs_res_t *resp)
void nfs_Setattr_Free (nfs_res_t *resp)
void nfs2_Lookup_Free (nfs_res_t *resp)
void nfs3_Lookup_Free (nfs_res_t *resp)
void nfs3_Access_Free (nfs_res_t *pres)
void nfs3_Readlink_Free (nfs_res_t *resp)
void nfs2_Read_Free (nfs_res_t *resp)
void nfs_Write_Free (nfs_res_t *resp)
void nfs_Create_Free (nfs_res_t *resp)
void nfs_Mkdir_Free (nfs_res_t *resp)
void nfs_Symlink_Free (nfs_res_t *resp)
void nfs3_Mknod_Free (nfs_res_t *pres)
void nfs_Remove_Free (nfs_res_t *resp)
void nfs_Rmdir_Free (nfs_res_t *resp)
void nfs_Rename_Free (nfs_res_t *resp)
void nfs_Link_Free (nfs_res_t *resp)
void nfs3_Readdir_Free (nfs_res_t *resp)
void nfs3_Readdirplus_Free (nfs_res_t *resp)
 Frees the result structure allocated for nfs3_Readdirplus.
void nfs_Fsstat_Free (nfs_res_t *resp)
void nfs3_Fsinfo_Free (nfs_res_t *pres)
void nfs3_Pathconf_Free (nfs_res_t *pres)
void nfs3_Commit_Free (nfs_res_t *pres)
void nfs2_Root_Free (nfs_res_t *pres)
void nfs2_Writecache_Free (nfs_res_t *pres)
void nfs2_Readdir_Free (nfs_res_t *resp)
void nfs3_Read_Free (nfs_res_t *resp)
void nfs2_Readlink_Free (nfs_res_t *resp)
void nfs4_Compound_FreeOne (nfs_resop4 *pres)
 Free the result for one NFS4_OP.
void nfs4_Compound_Free (nfs_res_t *pres)
void nfs4_Compound_CopyResOne (nfs_resop4 *pres_dst, nfs_resop4 *pres_src)
void nfs4_Compound_CopyRes (nfs_res_t *pres_dst, nfs_res_t *pres_src)
void nfs4_op_access_Free (ACCESS4res *resp)
void nfs4_op_close_Free (CLOSE4res *resp)
void nfs4_op_commit_Free (COMMIT4res *resp)
void nfs4_op_create_Free (CREATE4res *resp)
void nfs4_op_delegreturn_Free (DELEGRETURN4res *resp)
void nfs4_op_delegpurge_Free (DELEGPURGE4res *resp)
void nfs4_op_getattr_Free (GETATTR4res *resp)
void nfs4_op_getfh_Free (GETFH4res *resp)
void nfs4_op_illegal_Free (ILLEGAL4res *resp)
void nfs4_op_link_Free (LINK4res *resp)
void nfs4_op_lock_Free (LOCK4res *resp)
void nfs4_op_lockt_Free (LOCKT4res *resp)
void nfs4_op_locku_Free (LOCKU4res *resp)
void nfs4_op_lookup_Free (LOOKUP4res *resp)
void nfs4_op_lookupp_Free (LOOKUPP4res *resp)
void nfs4_op_nverify_Free (NVERIFY4res *resp)
void nfs4_op_open_Free (OPEN4res *resp)
void nfs4_op_open_confirm_Free (OPEN_CONFIRM4res *resp)
void nfs4_op_open_downgrade_Free (OPEN_DOWNGRADE4res *resp)
void nfs4_op_openattr_Free (OPENATTR4res *resp)
void nfs4_op_putfh_Free (PUTFH4res *resp)
void nfs4_op_putpubfh_Free (PUTPUBFH4res *resp)
void nfs4_op_putrootfh_Free (PUTROOTFH4res *resp)
void nfs4_op_read_Free (READ4res *resp)
void nfs4_op_readdir_Free (READDIR4res *resp)
void nfs4_op_readlink_Free (READLINK4res *resp)
void nfs4_op_release_lockowner_Free (RELEASE_LOCKOWNER4res *resp)
void nfs4_op_rename_Free (RENAME4res *resp)
void nfs4_op_remove_Free (REMOVE4res *resp)
void nfs4_op_renew_Free (RENEW4res *resp)
void nfs4_op_restorefh_Free (RESTOREFH4res *resp)
 frees what was allocared to handle nfs4_op_restorefh.
void nfs4_op_savefh_Free (SAVEFH4res *resp)
void nfs4_op_secinfo_Free (SECINFO4res *resp)
void nfs4_op_setattr_Free (SETATTR4res *resp)
void nfs4_op_setclientid_Free (SETCLIENTID4res *resp)
void nfs4_op_setclientid_confirm_Free (SETCLIENTID_CONFIRM4res *resp)
void nfs4_op_verify_Free (VERIFY4res *resp)
void nfs4_op_write_Free (WRITE4res *resp)
void nfs4_op_close_CopyRes (CLOSE4res *resp_dst, CLOSE4res *resp_src)
void nfs4_op_lock_CopyRes (LOCK4res *resp_dst, LOCK4res *resp_src)
void nfs4_op_locku_CopyRes (LOCKU4res *resp_dst, LOCKU4res *resp_src)
void nfs4_op_open_CopyRes (OPEN4res *resp_dst, OPEN4res *resp_src)
void nfs4_op_open_confirm_CopyRes (OPEN_CONFIRM4res *resp_dst, OPEN_CONFIRM4res *resp_src)
void nfs4_op_open_downgrade_CopyRes (OPEN_DOWNGRADE4res *resp_dst, OPEN_DOWNGRADE4res *resp_src)
void compound_data_Free (compound_data_t *data)
int nfs4_ExportToPseudoFS (exportlist_t *pexportlist)
pseudofs_tnfs4_GetPseudoFs (void)
int nfs4_SetCompoundExport (compound_data_t *data)
int nfs4_MakeCred (compound_data_t *data)
int nfs4_fsal_attr_To_Fattr (fsal_attrib_list_t *pattr, fattr4 *Fattr, compound_data_t *data, bitmap4 *Bitmap)
int nfs4_Fattr_To_fsal_attr (fsal_attrib_list_t *pattr, fattr4 *Fattr, compound_data_t *data, bitmap4 *Bitmap)
int nfs4_Fattr_Check_Access (fattr4 *Fattr, int access)
int nfs4_Fattr_Check_Access_Bitmap (bitmap4 *pbitmap, int access)
int nfs4_Fattr_Supported (fattr4 *Fattr)
int nfs4_Fattr_Supported_Bitmap (bitmap4 *pbitmap)
int nfs4_Fattr_cmp (fattr4 *Fattr1, fattr4 *Fattr2)
int nfs4_referral_str_To_Fattr_fs_location (char *input_str, char *buff, u_int *plen)
int uid2name (char *name, uid_t *puid)
int name2uid (char *name, uid_t *puid)
int gid2name (char *name, gid_t *pgid)
int name2gid (char *name, gid_t *pgid)
void free_utf8 (utf8string *utf8str)
int utf8dup (utf8string *newstr, utf8string *oldstr)
int utf82str (char *str, int size, utf8string *utf8str)
int str2utf8 (char *str, utf8string *utf8str)
int uid2utf8 (uid_t uid, utf8string *utf8str)
int utf82uid (utf8string *utf8str, uid_t *Uid)
int uid2str (uid_t uid, char *str)
int str2uid (char *str, uid_t *Uid)
int gid2str (gid_t gid, char *str)
int str2gid (char *str, gid_t *Gid)
int gid2utf8 (gid_t gid, utf8string *utf8str)
int utf82gid (utf8string *utf8str, gid_t *Gid)
void nfs4_stringid_split (char *buff, char *uidname, char *domainname)
seqid4 nfs4_NextSeqId (seqid4 seqid)
int nfs2_Sattr_To_FSALattr (fsal_attrib_list_t *pFSAL_attr, sattr2 *pFattr)
int nfs2_FSALattr_To_Fattr (exportlist_t *pexport, fsal_attrib_list_t *pFSAL_attr, fattr2 *pFattr)
int nfs3_FSALattr_To_Fattr (exportlist_t *pexport, const fsal_attrib_list_t *pFSAL_attr, fattr3 *pFattr)
int nfs3_FSALattr_To_PartialFattr (const fsal_attrib_list_t *, fsal_attrib_mask_t, fattr3 *)
int nfs3_Sattr_To_FSALattr (fsal_attrib_list_t *pFSAL_attr, sattr3 *pFattr)
nfsstat3 nfs3_fh_to_xattrfh (nfs_fh3 *pfhin, nfs_fh3 *pfhout)
int nfs3_Access_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Getattr_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Lookup_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Read_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Create_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Write_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Readdir_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Readdirplus_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs3_Remove_Xattr (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, struct svc_req *preq, nfs_res_t *pres)
int nfs4_PseudoToFattr (pseudofs_entry_t *psfsp, fattr4 *Fattr, compound_data_t *data, nfs_fh4 *objFH, bitmap4 *Bitmap)
int nfs4_PseudoToFhandle (nfs_fh4 *fh4p, pseudofs_entry_t *psfsentry)
int Fattr4_To_FSAL_attr (fsal_attrib_list_t *pFSAL_attr, fattr4 *pFattr, nfs_fh4 *fh)
int nfs4_Fattr_To_FSAL_attr (fsal_attrib_list_t *pFSAL_attr, fattr4 *pFattr)
int nfs4_attrmap_to_FSAL_attrmask (bitmap4 attrmap, fsal_attrib_mask_t *attrmask)
int nfs4_Fattr_Fill (fattr4 *Fattr, int attrcnt, uint32_t *attrlist, int valsiz, char *attrvals)
int nfs4_supported_attrs_to_fattr (char *outbuf)
int nfs4_FSALattr_To_Fattr (exportlist_t *pexport, fsal_attrib_list_t *pattr, fattr4 *Fattr, compound_data_t *data, nfs_fh4 *objFH, bitmap4 *Bitmap)
void nfs4_list_to_bitmap4 (bitmap4 *b, uint_t plen, uint32_t *pval)
void nfs4_bitmap4_to_list (bitmap4 *b, uint_t *plen, uint32_t *pval)
int nfs4_bitmap4_Remove_Unsupported (bitmap4 *pbitmap)
nfsstat4 nfs4_Errno (cache_inode_status_t error)
nfsstat3 nfs3_Errno (cache_inode_status_t error)
nfsstat2 nfs2_Errno (cache_inode_status_t error)
int nfs3_AllocateFH (nfs_fh3 *fh)
int nfs4_AllocateFH (nfs_fh4 *fh)
uint64_t nfs_htonl64 (uint64_t arg64)
uint64_t nfs_ntohl64 (uint64_t arg64)
int idmap_compute_hash_value (char *name, uint32_t *phashval)
int nfs4_Is_Fh_Referral (nfs_fh4 *pfh)
int nfs4_Set_Fh_Referral (nfs_fh4 *pfh)
int nfs2_remote_Null (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Getattr (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Setattr (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Root (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Lookup (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Readlink (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Read (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Writecache (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Write (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Create (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Remove (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Rename (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Link (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Symlink (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Mkdir (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Rmdir (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Readdir (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs2_remote_Fsstat (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Null (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Getattr (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Setattr (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Lookup (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Readlink (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Read (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Write (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Create (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Remove (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Rename (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Link (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Symlink (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Mkdir (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Rmdir (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Readdir (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Fsstat (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Access (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Readdirplus (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Fsinfo (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Pathconf (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Commit (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs3_remote_Mknod (CLIENT *clnt, nfs_arg_t *parg, nfs_res_t *pres)
int nfs4_remote_COMPOUND (CLIENT *clnt, COMPOUND4args *parg, COMPOUND4res *pres)
int nfs4_remote_Null (CLIENT *clnt)
void mnt1_remote_Mnt_Free (nfs_res_t *pres)
void mnt1_remote_Dump_Free (nfs_res_t *pres)
void mnt1_remote_Export_Free (nfs_res_t *pres)
void mnt1_remote_Null_Free (nfs_res_t *pres)
void mnt1_remote_Umnt_Free (nfs_res_t *pres)
void mnt1_remote_UmntAll_Free (nfs_res_t *pres)
void mnt3_remote_Mnt_Free (nfs_res_t *pres)
void mnt3_remote_Dump_Free (nfs_res_t *pres)
void mnt3_remote_Export_Free (nfs_res_t *pres)
void mnt3_remote_Null_Free (nfs_res_t *pres)
void mnt3_remote_Umnt_Free (nfs_res_t *pres)
void mnt3_remote_UmntAll_Free (nfs_res_t *pres)
void nfs2_remote_Null_Free (nfs_res_t *resp)
void nfs2_remote_Getattr_Free (nfs_res_t *resp)
void nfs2_remote_Setattr_Free (nfs_res_t *resp)
void nfs2_remote_Lookup_Free (nfs_res_t *resp)
void nfs2_remote_Read_Free (nfs_res_t *resp)
void nfs2_remote_Write_Free (nfs_res_t *resp)
void nfs2_remote_Create_Free (nfs_res_t *resp)
void nfs2_remote_Mkdir_Free (nfs_res_t *resp)
void nfs2_remote_Symlink_Free (nfs_res_t *resp)
void nfs2_remote_Remove_Free (nfs_res_t *resp)
void nfs2_remote_Rmdir_Free (nfs_res_t *resp)
void nfs2_remote_Rename_Free (nfs_res_t *resp)
void nfs2_remote_Link_Free (nfs_res_t *resp)
void nfs2_remote_Fsstat_Free (nfs_res_t *resp)
void nfs2_remote_Root_Free (nfs_res_t *pres)
void nfs2_remote_Writecache_Free (nfs_res_t *pres)
void nfs2_remote_Readdir_Free (nfs_res_t *resp)
void nfs2_remote_Readlink_Free (nfs_res_t *resp)
void nfs3_remote_Null_Free (nfs_res_t *resp)
void nfs3_remote_Getattr_Free (nfs_res_t *resp)
void nfs3_remote_Setattr_Free (nfs_res_t *resp)
void nfs3_remote_Lookup_Free (nfs_res_t *resp)
void nfs3_remote_Access_Free (nfs_res_t *pres)
void nfs3_remote_Readlink_Free (nfs_res_t *resp)
void nfs3_remote_Write_Free (nfs_res_t *resp)
void nfs3_remote_Create_Free (nfs_res_t *resp)
void nfs3_remote_Mkdir_Free (nfs_res_t *resp)
void nfs3_remote_Symlink_Free (nfs_res_t *resp)
void nfs3_remote_Mknod_Free (nfs_res_t *pres)
void nfs3_remote_Remove_Free (nfs_res_t *resp)
void nfs3_remote_Rmdir_Free (nfs_res_t *resp)
void nfs3_remote_Rename_Free (nfs_res_t *resp)
void nfs3_remote_Link_Free (nfs_res_t *resp)
void nfs3_remote_Readdir_Free (nfs_res_t *resp)
void nfs3_remote_Readdirplus_Free (nfs_res_t *resp)
void nfs3_remote_Fsstat_Free (nfs_res_t *resp)
void nfs3_remote_Fsinfo_Free (nfs_res_t *pres)
void nfs3_remote_Pathconf_Free (nfs_res_t *pres)
void nfs3_remote_Commit_Free (nfs_res_t *pres)
void nfs3_remote_Read_Free (nfs_res_t *resp)

Variables

SETATTR2args nfs_arg__::arg_setattr2
diropargs2 nfs_arg__::arg_lookup2
fhandle2 nfs_arg__::arg_readlink2
READ2args nfs_arg__::arg_read2
WRITE2args nfs_arg__::arg_write2
CREATE2args nfs_arg__::arg_create2
diropargs2 nfs_arg__::arg_remove2
RENAME2args nfs_arg__::arg_rename2
LINK2args nfs_arg__::arg_link2
SYMLINK2args nfs_arg__::arg_symlink2
CREATE2args nfs_arg__::arg_mkdir2
diropargs2 nfs_arg__::arg_rmdir2
READDIR2args nfs_arg__::arg_readdir2
fhandle2 nfs_arg__::arg_statfs2
GETATTR3args nfs_arg__::arg_getattr3
SETATTR3args nfs_arg__::arg_setattr3
LOOKUP3args nfs_arg__::arg_lookup3
ACCESS3args nfs_arg__::arg_access3
READLINK3args nfs_arg__::arg_readlink3
READ3args nfs_arg__::arg_read3
WRITE3args nfs_arg__::arg_write3
CREATE3args nfs_arg__::arg_create3
MKDIR3args nfs_arg__::arg_mkdir3
SYMLINK3args nfs_arg__::arg_symlink3
MKNOD3args nfs_arg__::arg_mknod3
REMOVE3args nfs_arg__::arg_remove3
RMDIR3args nfs_arg__::arg_rmdir3
RENAME3args nfs_arg__::arg_rename3
LINK3args nfs_arg__::arg_link3
READDIR3args nfs_arg__::arg_readdir3
READDIRPLUS3args nfs_arg__::arg_readdirplus3
FSSTAT3args nfs_arg__::arg_fsstat3
FSINFO3args nfs_arg__::arg_fsinfo3
PATHCONF3args nfs_arg__::arg_pathconf3
COMMIT3args nfs_arg__::arg_commit3
COMPOUND4args nfs_arg__::arg_compound4
dirpath nfs_arg__::arg_mnt
nlm4_testargs nfs_arg__::arg_nlm4_test
nlm4_lockargs nfs_arg__::arg_nlm4_lock
nlm4_cancargs nfs_arg__::arg_nlm4_cancel
nlm4_shareargs nfs_arg__::arg_nlm4_share
nlm4_unlockargs nfs_arg__::arg_nlm4_unlock
nlm4_sm_notifyargs nfs_arg__::arg_nlm4_sm_notify
nlm4_free_allargs nfs_arg__::arg_nlm4_free_allargs
nlm4_res nfs_arg__::arg_nlm4_res
getquota_args nfs_arg__::arg_rquota_getquota
getquota_args nfs_arg__::arg_rquota_getactivequota
setquota_args nfs_arg__::arg_rquota_setquota
setquota_args nfs_arg__::arg_rquota_setactivequota
ext_getquota_args nfs_arg__::arg_ext_rquota_getquota
ext_getquota_args nfs_arg__::arg_ext_rquota_getactivequota
ext_setquota_args nfs_arg__::arg_ext_rquota_setquota
ext_setquota_args nfs_arg__::arg_ext_rquota_setactivequota
bool_t COMPOUND4res_extended::res_cached
DIROP2res nfs_res__::res_dirop2
READLINK2res nfs_res__::res_readlink2
READ2res nfs_res__::res_read2
nfsstat2 nfs_res__::res_stat2
READDIR2res nfs_res__::res_readdir2
STATFS2res nfs_res__::res_statfs2
GETATTR3res nfs_res__::res_getattr3
SETATTR3res nfs_res__::res_setattr3
LOOKUP3res nfs_res__::res_lookup3
ACCESS3res nfs_res__::res_access3
READLINK3res nfs_res__::res_readlink3
READ3res nfs_res__::res_read3
WRITE3res nfs_res__::res_write3
CREATE3res nfs_res__::res_create3
MKDIR3res nfs_res__::res_mkdir3
SYMLINK3res nfs_res__::res_symlink3
MKNOD3res nfs_res__::res_mknod3
REMOVE3res nfs_res__::res_remove3
RMDIR3res nfs_res__::res_rmdir3
RENAME3res nfs_res__::res_rename3
LINK3res nfs_res__::res_link3
READDIR3res nfs_res__::res_readdir3
READDIRPLUS3res nfs_res__::res_readdirplus3
FSSTAT3res nfs_res__::res_fsstat3
FSINFO3res nfs_res__::res_fsinfo3
PATHCONF3res nfs_res__::res_pathconf3
COMMIT3res nfs_res__::res_commit3
COMPOUND4res nfs_res__::res_compound4
COMPOUND4res_extended nfs_res__::res_compound4_extended
fhstatus2 nfs_res__::res_mnt1
exports nfs_res__::res_mntexport
mountres3 nfs_res__::res_mnt3
mountlist nfs_res__::res_dump
nlm4_testres nfs_res__::res_nlm4test
nlm4_res nfs_res__::res_nlm4
nlm4_shareres nfs_res__::res_nlm4share
getquota_rslt nfs_res__::res_rquota_getquota
getquota_rslt nfs_res__::res_rquota_getactivequota
setquota_rslt nfs_res__::res_rquota_setquota
setquota_rslt nfs_res__::res_rquota_setactivequota
getquota_rslt nfs_res__::res_ext_rquota_getquota
getquota_rslt nfs_res__::res_ext_rquota_getactivequota
setquota_rslt nfs_res__::res_ext_rquota_setquota
setquota_rslt nfs_res__::res_ext_rquota_setactivequota
char nfs_res__::padding [1024]
nfs_protocol_free_t nfs_function_desc__::free_function
xdrproc_t nfs_function_desc__::xdr_decode_func
xdrproc_t nfs_function_desc__::xdr_encode_func
char * nfs_function_desc__::funcname
unsigned int nfs_function_desc__::dispatch_behaviour
unsigned int fattr4_dent::val
unsigned int fattr4_dent::supported
unsigned int fattr4_dent::size_fattr4
unsigned int fattr4_dent::access

Define Documentation

#define DEFAULT_DOMAIN   "localdomain"

Definition at line 1218 of file nfs_proto_functions.h.

#define DEFAULT_IDMAPCONF   "/etc/idmapd.conf"

Definition at line 1219 of file nfs_proto_functions.h.

#define FATTR4_ATTR_READ   0x00001

Definition at line 935 of file nfs_proto_functions.h.

#define FATTR4_ATTR_READ_WRITE   0x00011

Definition at line 937 of file nfs_proto_functions.h.

#define FATTR4_ATTR_WRITE   0x00010

Definition at line 936 of file nfs_proto_functions.h.

#define FSINFO_MAX_FILESIZE   0xFFFFFFFFFFFFFFFFll

Definition at line 1212 of file nfs_proto_functions.h.

#define MAX_HARD_LINK_VALUE   (0xffff)

Definition at line 1213 of file nfs_proto_functions.h.

#define NFS4_LEASE_LIFETIME   120

Definition at line 1211 of file nfs_proto_functions.h.

#define NFS4_PSEUDOFS_MAX_READ_SIZE   1048576

Definition at line 1214 of file nfs_proto_functions.h.

#define NFS4_PSEUDOFS_MAX_WRITE_SIZE   1048576

Definition at line 1215 of file nfs_proto_functions.h.

#define NFS4_ROOT_UID   0

Definition at line 1216 of file nfs_proto_functions.h.

#define NFS_MAXPATHLEN   MAXPATHLEN

Definition at line 1217 of file nfs_proto_functions.h.

#define NFS_REQ_DROP   1

Definition at line 1223 of file nfs_proto_functions.h.

#define NFS_REQ_OK   0

Definition at line 1222 of file nfs_proto_functions.h.


Typedef Documentation

typedef struct fattr4_dent fattr4_dent_t
typedef int(* nfs4_op_function_t)(struct nfs_argop4 *, compound_data_t *, struct nfs_resop4 *)

Definition at line 611 of file nfs_proto_functions.h.


Function Documentation

void compound_data_Free ( compound_data_t data)

compound_data_Free: Frees the compound data structure.

Frees the compound data structure..

Parameters:
datapointer to be freed
Returns:
nothing (void function).
See also:
nfs4_op_getfh

Definition at line 779 of file nfs4_Compound.c.

int Fattr4_To_FSAL_attr ( fsal_attrib_list_t pFSAL_attr,
fattr4 Fattr,
nfs_fh4 hdl4 
)

Fattr4_To_FSAL_attr: Converts NFSv4 attributes buffer to a FSAL attributes structure.

Converts NFSv4 attributes buffer to a FSAL attributes structure.

NB! If the pointer for the handle is provided the memory is not allocated, the handle's nfs_fh4_val points inside fattr4. The pointer is valid as long as fattr4 is valid.

Parameters:
pFSAL_attr[OUT] pointer to FSAL attributes.
Fattr[IN] pointer to NFSv4 attributes.
hdl4[OUT] optional pointer to return NFSv4 file handle
Returns:
NFS4_OK if successful, NFS4ERR codes if not.

Definition at line 3389 of file nfs_proto_tools.c.

void free_utf8 ( utf8string utf8str)

free_utf8: Free's a utf8str that was created by utf8dup

Parameters:
utf8str[IN] UTF8 string to be freed

Definition at line 2088 of file nfs_proto_tools.c.

int gid2name ( char *  name,
gid_t *  pgid 
)

principal2uid: convert a principal (as returned by gss_display_name()) to a uid/gid

convert a principal (as returned by gss_display_name()) to a uid/gid

Parameters:
name[IN] the principal of the user as returned by gss_display_name()
puid[OUT] the resulting uid

return 1 if successful, 0 otherwise

gid2name: convert a gid to a name.

convert a uid to a name.

Parameters:
name[OUT] the name of the user
gid[IN] the input gid

return 1 if successful, 0 otherwise

Definition at line 433 of file idmapper.c.

int gid2str ( gid_t  gid,
char *  str 
)

gid2ustr: convert a gid to a string.

Convert a gidonvert a gid to a string. to a string.

Parameters:
gid[IN] the input gid
str[OUT] computed string
Returns:
the length of the utf8 buffer if succesfull, -1 if failed

Definition at line 671 of file idmapper.c.

int gid2utf8 ( gid_t  gid,
utf8string utf8str 
)

gid2utf8: converts a gid to a utf8 string descriptor.

Converts a gid to a utf8 string descriptor.

Parameters:
gid[IN] the input gid
utf8str[OUT] computed UTF8 string descriptor
Returns:
the length of the utf8 buffer if succesfull, -1 if failed

Definition at line 737 of file idmapper.c.

int idmap_compute_hash_value ( char *  name,
uint32_t phashval 
)

idmap_compute_hash_value: computes the hash value, based on the string.

Computes the computes the hash value, based on the string.

Definition at line 289 of file idmapper_cache.c.

void mnt1_Mnt_Free ( nfs_res_t pres)

mnt_Mnt_Free: Frees the result structure allocated for mnt_Mnt.

Frees the result structure allocated for mnt_Mnt.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 344 of file mnt_Mnt.c.

void mnt1_remote_Dump_Free ( nfs_res_t pres)

mnt1_remote_Dump_Free: Frees the result structure allocated for mnt1_remote_Dump.

Frees the result structure allocated for mnt1_remote_Dump.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1482 of file nfs_remote_functions.c.

void mnt1_remote_Export_Free ( nfs_res_t pres)

mnt1_remote_Export_Free: Frees the result structure allocated for mnt1_remote_Export.

Frees the result structure allocated for mnt1_remote_Export.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1495 of file nfs_remote_functions.c.

void mnt1_remote_Mnt_Free ( nfs_res_t pres)

mnt1_remote_Mnt_Free: Frees the result structure allocated for mnt1_remote_Mnt.

Frees the result structure allocated for mnt1_remote_Mnt.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1469 of file nfs_remote_functions.c.

void mnt1_remote_Null_Free ( nfs_res_t pres)

mnt1_remote_Null_Free: Frees the result structure allocated for mnt1_remote_Null

Frees the result structure allocated for mnt1_remote_Null. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1456 of file nfs_remote_functions.c.

void mnt1_remote_Umnt_Free ( nfs_res_t pres)

mnt1_remote_Umnt_Free: Frees the result structure allocated for mnt1_remote_Umnt.

Frees the result structure allocated for mnt1_remote_Umnt.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1508 of file nfs_remote_functions.c.

void mnt1_remote_UmntAll_Free ( nfs_res_t pres)

mnt1_remote_UmntAll_Free: Frees the result structure allocated for mnt1_remote_UmntAll.

Frees the result structure allocated for mnt1_remote_UmntAll.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1521 of file nfs_remote_functions.c.

void mnt3_Mnt_Free ( nfs_res_t pres)

Definition at line 349 of file mnt_Mnt.c.

void mnt3_remote_Dump_Free ( nfs_res_t pres)

mnt3_remote_Dump_Free: Frees the result structure allocated for mnt3_remote_Dump.

Frees the result structure allocated for mnt3_remote_Dump.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1560 of file nfs_remote_functions.c.

void mnt3_remote_Export_Free ( nfs_res_t pres)

mnt3_remote_Export_Free: Frees the result structure allocated for mnt3_remote_Export.

Frees the result structure allocated for mnt3_remote_Export.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1573 of file nfs_remote_functions.c.

void mnt3_remote_Mnt_Free ( nfs_res_t pres)

mnt3_remote_Mnt_Free: Frees the result structure allocated for mnt3_remote_Mnt.

Frees the result structure allocated for mnt3_remote_Mnt.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1547 of file nfs_remote_functions.c.

void mnt3_remote_Null_Free ( nfs_res_t pres)

mnt3_remote_Null_Free: Frees the result structure allocated for mnt3_remote_Null

Frees the result structure allocated for mnt3_remote_Null. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1534 of file nfs_remote_functions.c.

void mnt3_remote_Umnt_Free ( nfs_res_t pres)

mnt3_remote_Umnt_Free: Frees the result structure allocated for mnt3_remote_Umnt.

Frees the result structure allocated for mnt3_remote_Umnt.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1586 of file nfs_remote_functions.c.

void mnt3_remote_UmntAll_Free ( nfs_res_t pres)

mnt3_remote_UmntAll_Free: Frees the result structure allocated for mnt3_remote_UmntAll.

Frees the result structure allocated for mnt3_remote_UmntAll.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1599 of file nfs_remote_functions.c.

void mnt_Dump_Free ( nfs_res_t pres)

mnt_Dump_Free: Frees the result structure allocated for mnt_Dump.

Frees the result structure allocated for mnt_Dump.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 95 of file mnt_Dump.c.

void mnt_Export_Free ( nfs_res_t pres)

mnt_Export_Free: Frees the result structure allocated for mnt_Export.

Frees the result structure allocated for mnt_Dump.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 284 of file mnt_Export.c.

void mnt_Null_Free ( nfs_res_t pres)

mnt_Null_Free: Frees the result structure allocated for mnt_Null

Frees the result structure allocated for mnt_Null. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 95 of file mnt_Null.c.

void mnt_Umnt_Free ( nfs_res_t pres)

mnt_Umnt_Free: Frees the result structure allocated for mnt_Umnt.

Frees the result structure allocated for mnt_UmntAll.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 116 of file mnt_Umnt.c.

void mnt_UmntAll_Free ( nfs_res_t pres)

mnt_UmntAll_Free: Frees the result structure allocated for mnt_UmntAll.

Frees the result structure allocated for mnt_UmntAll.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 104 of file mnt_UmntAll.c.

int name2gid ( char *  name,
gid_t *  pgid 
)

name2gid: convert a name to a gid

convert a name to a gid

Parameters:
name[IN] the name of the user
pgid[OUT] the resulting gid

return 1 if successful, 0 otherwise

Definition at line 540 of file idmapper.c.

int name2uid ( char *  name,
uid_t *  puid 
)

name2uid: convert a name to a uid

convert a name to a uid

Parameters:
name[IN] the name of the user
puid[OUT] the resulting uid

return 1 if successful, 0 otherwise

Definition at line 216 of file idmapper.c.

nfsstat2 nfs2_Errno ( cache_inode_status_t  error)

nfs2_Errno: Converts a cache_inode status to a nfsv2 status.

Converts a cache_inode status to a nfsv2 status.

Parameters:
error[IN] Input cache inode ewrror.
Returns:
the converted NFSv2 status.

Definition at line 4044 of file nfs_proto_tools.c.

int nfs2_FSALattr_To_Fattr ( exportlist_t pexport,
fsal_attrib_list_t pFSAL_attr,
fattr2 pFattr 
)

nfs2_FSALattr_To_Fattr: Converts FSAL Attributes to NFSv2 attributes.

Converts FSAL Attributes to NFSv2 attributes.

Parameters:
pexport[IN] the related export entry.
FSAL_attr[IN] pointer to FSAL attributes.
Fattr[OUT] pointer to NFSv2 attributes.
Returns:
1 if successful, 0 otherwise.

Todo:
mode mask ?
Todo:
mode mask ?

Definition at line 1889 of file nfs_proto_tools.c.

void nfs2_Lookup_Free ( nfs_res_t resp)

nfs_Lookup_Free: Frees the result structure allocated for nfs_Lookup.

Frees the result structure allocated for nfs_Lookup.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 319 of file nfs_Lookup.c.

void nfs2_Read_Free ( nfs_res_t resp)

nfs2_Read_Free: Frees the result structure allocated for nfs2_Read.

Frees the result structure allocated for nfs2_Read.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 425 of file nfs_Read.c.

void nfs2_Readdir_Free ( nfs_res_t resp)

nfs2_Readdir_Free: Frees the result structure allocated for nfs2_Readdir.

Frees the result structure allocated for nfs2_Readdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 478 of file nfs_Readdir.c.

void nfs2_Readlink_Free ( nfs_res_t resp)

nfs2_Readlink_Free: Frees the result structure allocated for nfs2_Readlink.

Frees the result structure allocated for nfs2_Readlink.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 229 of file nfs_Readlink.c.

int nfs2_remote_Create ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Create: The NFS proc create function, v2.

The NFS proc create function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 602 of file nfs_remote_functions.c.

void nfs2_remote_Create_Free ( nfs_res_t resp)

nfs2_remote_Create_Free: Frees the result structure allocated for nfs2_remote_Create.

Frees the result structure allocated for nfs2_remote_Create.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1690 of file nfs_remote_functions.c.

int nfs2_remote_Fsstat ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Fsstat: The NFS proc statfs function, v2.

The NFS proc statfs function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 810 of file nfs_remote_functions.c.

void nfs2_remote_Fsstat_Free ( nfs_res_t resp)

nfs2_remote_Fsstat_Free: Frees the result structure allocated for nfs2_remote_Fsstat.

Frees the result structure allocated for nfs2_remote_Fsstat.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1781 of file nfs_remote_functions.c.

int nfs2_remote_Getattr ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Getattr: The NFS proc getattr function, v2.

The NFS proc getattr function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 396 of file nfs_remote_functions.c.

void nfs2_remote_Getattr_Free ( nfs_res_t resp)

nfs2_remote_Getattr_Free: Frees the result structure allocated for nfs2_remote_Getattr.

Frees the result structure allocated for nfs2_remote_Getattr.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1625 of file nfs_remote_functions.c.

int nfs2_remote_Link ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Link: The NFS proc link function, v2.

The NFS proc link function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 680 of file nfs_remote_functions.c.

void nfs2_remote_Link_Free ( nfs_res_t resp)

nfs2_remote_Link_Free: Frees the result structure allocated for nfs2_remote_Link.

Frees the result structure allocated for nfs2_remote_Link.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1768 of file nfs_remote_functions.c.

int nfs2_remote_Lookup ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Lookup: The NFS proc lookup function, v2.

The NFS proc lookup function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 473 of file nfs_remote_functions.c.

void nfs2_remote_Lookup_Free ( nfs_res_t resp)

nfs2_remote_Lookup_Free: Frees the result structure allocated for nfs2_remote_Lookup.

Frees the result structure allocated for nfs2_remote_Lookup.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1651 of file nfs_remote_functions.c.

int nfs2_remote_Mkdir ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Mkdir: The NFS proc mkdir function, v2.

The NFS proc mkdir function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 732 of file nfs_remote_functions.c.

void nfs2_remote_Mkdir_Free ( nfs_res_t resp)

nfs2_remote_Mkdir_Free: Frees the result structure allocated for nfs2_remote_Mkdir.

Frees the result structure allocated for nfs2_remote_Mkdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1703 of file nfs_remote_functions.c.

int nfs2_remote_Null ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Null: The NFS proc null function, v2.

The NFS proc null function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 371 of file nfs_remote_functions.c.

void nfs2_remote_Null_Free ( nfs_res_t resp)

nfs2_remote_Null_Free: Frees the result structure allocated for nfs2_remote_Null.

Frees the result structure allocated for nfs2_remote_Null.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1612 of file nfs_remote_functions.c.

int nfs2_remote_Read ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Read: The NFS proc read function, v2.

The NFS proc read function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 525 of file nfs_remote_functions.c.

void nfs2_remote_Read_Free ( nfs_res_t resp)

nfs2_remote_Read_Free: Frees the result structure allocated for nfs2_remote_Read.

Frees the result structure allocated for nfs2_remote_Read.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1664 of file nfs_remote_functions.c.

int nfs2_remote_Readdir ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Readdir: The NFS proc readdir function, v2.

The NFS proc readdir function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 784 of file nfs_remote_functions.c.

void nfs2_remote_Readdir_Free ( nfs_res_t resp)

nfs2_remote_Readdir_Free: Frees the result structure allocated for nfs2_remote_Readdir.

Frees the result structure allocated for nfs2_remote_Readdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1820 of file nfs_remote_functions.c.

int nfs2_remote_Readlink ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Readlink: The NFS proc readlink function, v2.

The NFS proc readlink function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 499 of file nfs_remote_functions.c.

void nfs2_remote_Readlink_Free ( nfs_res_t resp)

nfs2_remote_Readlink_Free: Frees the result structure allocated for nfs2_remote_Readlink.

Frees the result structure allocated for nfs2_remote_Readlink.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1833 of file nfs_remote_functions.c.

int nfs2_remote_Remove ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Remove: The NFS proc remove function, v2.

The NFS proc remove function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 628 of file nfs_remote_functions.c.

void nfs2_remote_Remove_Free ( nfs_res_t resp)

nfs2_remote_Remove_Free: Frees the result structure allocated for nfs2_remote_Remove.

Frees the result structure allocated for nfs2_remote_Remove.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1729 of file nfs_remote_functions.c.

int nfs2_remote_Rename ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Rename: The NFS proc rename function, v2.

The NFS proc rename function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 654 of file nfs_remote_functions.c.

void nfs2_remote_Rename_Free ( nfs_res_t resp)

nfs2_remote_Rename_Free: Frees the result structure allocated for nfs2_remote_Rename.

Frees the result structure allocated for nfs2_remote_Rename.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1755 of file nfs_remote_functions.c.

int nfs2_remote_Rmdir ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Rmdir: The NFS proc rmdir function, v2.

The NFS proc rmdir function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 758 of file nfs_remote_functions.c.

void nfs2_remote_Rmdir_Free ( nfs_res_t resp)

nfs2_remote_Rmdir_Free: Frees the result structure allocated for nfs2_remote_Rmdir.

Frees the result structure allocated for nfs2_remote_Rmdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1742 of file nfs_remote_functions.c.

int nfs2_remote_Root ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Root: The NFS proc root function, v2.

The NFS proc root function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 448 of file nfs_remote_functions.c.

void nfs2_remote_Root_Free ( nfs_res_t pres)

nfs2_remote_Root_Free: Frees the result structure allocated for nfs2_remote_Root.

Frees the result structure allocated for nfs2_remote_Root.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1794 of file nfs_remote_functions.c.

int nfs2_remote_Setattr ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Setattr: The NFS proc setattr function, v2.

The NFS proc setattr function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 422 of file nfs_remote_functions.c.

void nfs2_remote_Setattr_Free ( nfs_res_t resp)

nfs2_remote_Setattr_Free: Frees the result structure allocated for nfs2_remote_Setattr.

Frees the result structure allocated for nfs2_remote_Setattr.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1638 of file nfs_remote_functions.c.

int nfs2_remote_Symlink ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Symlink: The NFS proc symlink function, v2.

The NFS proc symlink function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 706 of file nfs_remote_functions.c.

void nfs2_remote_Symlink_Free ( nfs_res_t resp)

nfs2_remote_Symlink_Free: Frees the result structure allocated for nfs2_remote_Symlink.

Frees the result structure allocated for nfs2_remote_Symlink.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1716 of file nfs_remote_functions.c.

int nfs2_remote_Write ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Write: The NFS proc write function, v2.

The NFS proc write function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 576 of file nfs_remote_functions.c.

void nfs2_remote_Write_Free ( nfs_res_t resp)

nfs2_remote_Write_Free: Frees the result structure allocated for nfs2_remote_Write.

Frees the result structure allocated for nfs2_remote_Write.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1677 of file nfs_remote_functions.c.

int nfs2_remote_Writecache ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs2_remote_Writecache: The NFS proc writecache function, v2.

The NFS proc writecache function, v2.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 551 of file nfs_remote_functions.c.

void nfs2_remote_Writecache_Free ( nfs_res_t pres)

nfs2_remote_Writecache_Free: Frees the result structure allocated for nfs2_remote_Writecache.

Frees the result structure allocated for nfs2_remote_Writecache.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1807 of file nfs_remote_functions.c.

int nfs2_Root ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Implements NFSPROC2_ROOT.

Implements NFSPROC2_ROOT.

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OK(this routine does nothing)

Definition at line 78 of file nfs2_Root.c.

void nfs2_Root_Free ( nfs_res_t pres)

nfs2_Root_Free: Frees the result structure allocated for nfs2_Root.

Frees the result structure allocated for nfs2_Root.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 99 of file nfs2_Root.c.

int nfs2_Sattr_To_FSALattr ( fsal_attrib_list_t pFSAL_attr,
sattr2 Fattr 
)

nfs2_Sattr_To_FSALattr: Converts NFSv2 Set Attributes to FSAL attributes.

Converts NFSv2 Set Attributes to FSAL attributes.

Parameters:
FSAL_attr[IN] pointer to FSAL attributes.
Fattr[OUT] pointer to NFSv2 set attributes.
Returns:
1 if successful, 0 otherwise.

Definition at line 2574 of file nfs_proto_tools.c.

int nfs2_Writecache ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Implements NFSPROC2_WRITECACHE.

Implements NFSPROC2_WRITECACHE

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerClient resource to be used
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OK(this routine does nothing)

Definition at line 77 of file nfs2_Writecache.c.

void nfs2_Writecache_Free ( nfs_res_t pres)

nfs2_Writecache_Free: Frees the result structure allocated for nfs2_Writecache.

Frees the result structure allocated for nfs2_Root.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 99 of file nfs2_Writecache.c.

int nfs3_Access ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs2_Access: Implements NFSPROC3_ACCESS.

Implements NFSPROC3_ACCESS.

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 82 of file nfs3_Access.c.

void nfs3_Access_Free ( nfs_res_t pres)

nfs3_Access_Free: Frees the result structure allocated for nfs3_Access.

Frees the result structure allocated for nfs3_Access.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 292 of file nfs3_Access.c.

int nfs3_Access_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs3_Access_Xattr: Implements NFSPROC3_ACCESS for xattr objects

Implements NFSPROC3_ACCESS.

Parameters:
parg[IN] pointer to nfs arguments union
pexport[IN] pointer to nfs export list
pcontext[IN] credentials to be used for this request
pclient[INOUT] client resource to be used
preq[IN] pointer to SVC request related to this call
pres[OUT] pointer to the structure to contain the result of the call
Returns:
always NFS_REQ_OK

Definition at line 282 of file nfs_xattr.c.

int nfs3_AllocateFH ( nfs_fh3 fh)

nfs3_AllocateFH: Allocates a buffer to be used for storing a NFSv4 filehandle.

Allocates a buffer to be used for storing a NFSv3 filehandle.

Parameters:
fh[INOUT] the filehandle to manage.
Returns:
NFS3_OK if successful, NFS3ERR_SERVERFAULT, NFS3ERR_RESOURCE or NFS3ERR_STALE otherwise.

Definition at line 4167 of file nfs_proto_tools.c.

int nfs3_Commit ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Implements NFSPROC3_COMMIT.

Implements NFSPROC3_COMMIT.

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 81 of file nfs3_Commit.c.

void nfs3_Commit_Free ( nfs_res_t pres)

nfs3_Commit_Free: Frees the result structure allocated for nfs3_Commit.

Frees the result structure allocated for nfs3_Commit.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 189 of file nfs3_Commit.c.

int nfs3_Create_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs3_Write_Xattr: Implements NFSPROC3_WRITE for xattr ghost files

Implements NFSPROC3_WRITE.

Parameters:
parg[IN] pointer to nfs arguments union
pexport[IN] pointer to nfs export list
pcontext[IN] credentials to be used for this request
pclient[INOUT] client resource to be used
preq[IN] pointer to SVC request related to this call
pres[OUT] pointer to the structure to contain the result of the call
Returns:
always NFS_REQ_OK

Definition at line 890 of file nfs_xattr.c.

nfsstat3 nfs3_Errno ( cache_inode_status_t  error)

nfs3_Errno: Converts a cache_inode status to a nfsv3 status.

Converts a cache_inode status to a nfsv3 status.

Parameters:
error[IN] Input cache inode ewrror.
Returns:
the converted NFSv3 status.

Todo:
: Check if this works by making stress tests

Definition at line 3901 of file nfs_proto_tools.c.

nfsstat3 nfs3_fh_to_xattrfh ( nfs_fh3 pfhin,
nfs_fh3 pfhout 
)

nfs3_fh_to_xattrfh: builds the fh to the xattrs ghost directory

Parameters:
pfhin[IN] input file handle (the object whose xattr fh is queryied)
pfhout[OUT] output file handle
Returns:
NFS4_OK

< 1 = xattr ghost directory

Definition at line 127 of file nfs_xattr.c.

int nfs3_FSALattr_To_Fattr ( exportlist_t pexport,
const fsal_attrib_list_t FSAL_attr,
fattr3 Fattr 
)

nfs3_FSALattr_To_Fattr: Converts FSAL Attributes to NFSv3 attributes.

Converts FSAL Attributes to NFSv3 attributes. The callee is expecting the full compliment of FSAL attributes to fill in all the fields in the fattr3 structure.

Parameters:
pexport[IN] the related export entry
FSAL_attr[IN] pointer to FSAL attributes.
Fattr[OUT] pointer to NFSv3 attributes.
Returns:
1 if successful, 0 otherwise.

Definition at line 2531 of file nfs_proto_tools.c.

int nfs3_FSALattr_To_PartialFattr ( const fsal_attrib_list_t FSAL_attr,
fsal_attrib_mask_t  want,
fattr3 Fattr 
)

nfs3_FSALattr_To_PartialFattr: Converts FSAL Attributes to NFSv3 attributes.

Fill in the fields in the fattr3 structure which have matching attribute bits set. Caller must explictly specify which bits it expects to avoid misunderstandings.

Parameters:
FSAL_attr[IN] pointer to FSAL attributes.
want[IN] attributes which MUST be copied into output
Fattr[OUT] pointer to NFSv3 attributes.
Returns:
1 if successful, 0 otherwise.

Definition at line 2408 of file nfs_proto_tools.c.

int nfs3_Fsinfo ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Implements NFSPROC3_FSINFO.

Implements NFSPROC3_FSINFO.

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 80 of file nfs3_Fsinfo.c.

void nfs3_Fsinfo_Free ( nfs_res_t pres)

nfs3_Fsinfo_Free: Frees the result structure allocated for nfs3_Fsinfo.

Frees the result structure allocated for nfs3_Fsinfo.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 193 of file nfs3_Fsinfo.c.

int nfs3_Getattr_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs3_Getattr_Xattr: Implements NFSPROC3_GETATTR for xattr ghost objects

Implements NFSPROC3_GETATTR

Parameters:
parg[IN] pointer to nfs arguments union
pexport[IN] pointer to nfs export list
pcontext[IN] credentials to be used for this request
pclient[INOUT] client resource to be used
preq[IN] pointer to SVC request related to this call
pres[OUT] pointer to the structure to contain the result of the call
Returns:
always NFS_REQ_OK

Definition at line 1684 of file nfs_xattr.c.

void nfs3_Lookup_Free ( nfs_res_t resp)

nfs_Lookup_Free: Frees the result structure allocated for nfs_Lookup.

Frees the result structure allocated for nfs_Lookup.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 305 of file nfs_Lookup.c.

int nfs3_Lookup_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs3_Lookup_Xattr: Implements NFSPROC3_LOOKUP for xattr ghost directory

Implements NFSPROC3_LOOKUP.

Parameters:
parg[IN] pointer to nfs arguments union
pexport[IN] pointer to nfs export list
pcontext[IN] credentials to be used for this request
pclient[INOUT] client resource to be used
preq[IN] pointer to SVC request related to this call
pres[OUT] pointer to the structure to contain the result of the call
Returns:
always NFS_REQ_OK

Definition at line 434 of file nfs_xattr.c.

int nfs3_Mknod ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Implements NFSPROC3_MKNOD.

Implements NFSPROC3_MKNOD.

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 81 of file nfs3_Mknod.c.

void nfs3_Mknod_Free ( nfs_res_t pres)

nfs3_Mknod_Free: Frees the result structure allocated for nfs3_Mknod.

Frees the result structure allocated for nfs3_Mknod.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 385 of file nfs3_Mknod.c.

int nfs3_Pathconf ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Implements NFSPROC3_PATHCONF.

Implements NFSPROC3_PATHCONF.

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 81 of file nfs3_Pathconf.c.

void nfs3_Pathconf_Free ( nfs_res_t pres)

nfs3_Pathconf_Free: Frees the result structure allocated for nfs3_Pathconf.

Frees the result structure allocated for nfs3_Pathconf.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 157 of file nfs3_Pathconf.c.

void nfs3_Read_Free ( nfs_res_t resp)

nfs3_Read_Free: Frees the result structure allocated for nfs3_Read.

Frees the result structure allocated for nfs3_Read.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 440 of file nfs_Read.c.

int nfs3_Read_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs3_Read_Xattr: Implements NFSPROC3_READ for xattr ghost directory

Implements NFSPROC3_READ.

Parameters:
parg[IN] pointer to nfs arguments union
pexport[IN] pointer to nfs export list
pcontext[IN] credentials to be used for this request
pclient[INOUT] client resource to be used
preq[IN] pointer to SVC request related to this call
pres[OUT] pointer to the structure to contain the result of the call
Returns:
always NFS_REQ_OK

Definition at line 1133 of file nfs_xattr.c.

void nfs3_Readdir_Free ( nfs_res_t resp)

nfs3_Readdir_Free: Frees the result structure allocated for nfs3_Readdir.

Frees the result structure allocated for nfs3_Readdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 494 of file nfs_Readdir.c.

int nfs3_Readdir_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs3_Readdir_Xattr: Implements NFSPROC3_READDIR for xattr ghost directory

Implements NFSPROC3_READDIR.

Parameters:
parg[IN] pointer to nfs arguments union
pexport[IN] pointer to nfs export list
pcontext[IN] credentials to be used for this request
pclient[INOUT] client resource to be used
preq[IN] pointer to SVC request related to this call
pres[OUT] pointer to the structure to contain the result of the call
Returns:
always NFS_REQ_OK

Definition at line 559 of file nfs_xattr.c.

int nfs3_Readdirplus ( nfs_arg_t arg,
exportlist_t export,
fsal_op_context_t context,
nfs_worker_data_t pworker,
struct svc_req *  req,
nfs_res_t res 
)

The NFS PROC3 READDIRPLUS.

Implements the NFSv3 PROC READDIRPLUS function

Parameters:
[in]argNFS argument union
[in]exportNFS export list
[in]contextCredentials to be used for this request
[in]reqSVC request related to this call
[out]resStructure to contain the result of the call
Return values:
NFS_REQ_OKif successfull
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 116 of file nfs3_Readdirplus.c.

void nfs3_Readdirplus_Free ( nfs_res_t resp)

Frees the result structure allocated for nfs3_Readdirplus.

Frees the result structure allocated for nfs3_Readdirplus.

Parameters:
resp[in,out] Pointer to the result structure

Definition at line 398 of file nfs3_Readdirplus.c.

int nfs3_Readdirplus_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs3_Readdirplus_Xattr: The NFS PROC3 READDIRPLUS for xattr ghost objects

Implements NFSPROC3_READDIRPLUS for ghost xattr objects

Parameters:
parg[IN] pointer to nfs arguments union
pexport[IN] pointer to nfs export list
pcontext[IN] credentials to be used for this request
pclient[INOUT] client resource to be used
preq[IN] pointer to SVC request related to this call
pres[OUT] pointer to the structure to contain the result of the call
Returns:
NFS_REQ_OK if successfull
NFS_REQ_DROP if failed but retryable
NFS_REQ_FAILED if failed and not retryable.

Definition at line 1270 of file nfs_xattr.c.

void nfs3_Readlink_Free ( nfs_res_t resp)

nfs3_Readlink_Free: Frees the result structure allocated for nfs3_Readlink.

Frees the result structure allocated for nfs3_Readlink.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 243 of file nfs_Readlink.c.

int nfs3_remote_Access ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Access: The NFS proc access function, v3.

The NFS proc access function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1251 of file nfs_remote_functions.c.

void nfs3_remote_Access_Free ( nfs_res_t pres)

nfs3_remote_Access_Free: Frees the result structure allocated for nfs3_remote_Access.

Frees the result structure allocated for nfs3_remote_Access.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1898 of file nfs_remote_functions.c.

int nfs3_remote_Commit ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Commit: The NFS proc commit function, v3.

The NFS proc commit function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1355 of file nfs_remote_functions.c.

void nfs3_remote_Commit_Free ( nfs_res_t pres)

nfs3_remote_Commit_Free: Frees the result structure allocated for nfs3_remote_Commit.

Frees the result structure allocated for nfs3_remote_Commit.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2106 of file nfs_remote_functions.c.

int nfs3_remote_Create ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Create: The NFS proc create function, v3.

The NFS proc create function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1017 of file nfs_remote_functions.c.

void nfs3_remote_Create_Free ( nfs_res_t resp)

nfs3_remote_Create_Free: Frees the result structure allocated for nfs3_remote_Create.

Frees the result structure allocated for nfs3_remote_Create.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1937 of file nfs_remote_functions.c.

int nfs3_remote_Fsinfo ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Fsinfo: The NFS proc fsinfo function, v3.

The NFS proc fsinfo function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1303 of file nfs_remote_functions.c.

void nfs3_remote_Fsinfo_Free ( nfs_res_t pres)

nfs3_remote_Fsinfo_Free: Frees the result structure allocated for nfs3_remote_Fsinfo.

Frees the result structure allocated for nfs3_remote_Fsinfo.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2080 of file nfs_remote_functions.c.

int nfs3_remote_Fsstat ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Fsstat: The NFS proc statfs function, v3.

The NFS proc statfs function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1225 of file nfs_remote_functions.c.

void nfs3_remote_Fsstat_Free ( nfs_res_t resp)

nfs3_remote_Fsstat_Free: Frees the result structure allocated for nfs3_remote_Fsstat.

Frees the result structure allocated for nfs3_remote_Fsstat.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2067 of file nfs_remote_functions.c.

int nfs3_remote_Getattr ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Getattr: The NFS proc getattr function, v3.

The NFS proc getattr function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 861 of file nfs_remote_functions.c.

void nfs3_remote_Getattr_Free ( nfs_res_t resp)

nfs3_remote_Getattr_Free: Frees the result structure allocated for nfs3_remote_Getattr.

Frees the result structure allocated for nfs3_remote_Getattr.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1859 of file nfs_remote_functions.c.

int nfs3_remote_Link ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Link: The NFS proc link function, v3.

The NFS proc link function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1095 of file nfs_remote_functions.c.

void nfs3_remote_Link_Free ( nfs_res_t resp)

nfs3_remote_Link_Free: Frees the result structure allocated for nfs3_remote_Link.

Frees the result structure allocated for nfs3_remote_Link.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2028 of file nfs_remote_functions.c.

int nfs3_remote_Lookup ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Lookup: The NFS proc lookup function, v3.

The NFS proc lookup function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 913 of file nfs_remote_functions.c.

void nfs3_remote_Lookup_Free ( nfs_res_t resp)

nfs3_remote_Lookup_Free: Frees the result structure allocated for nfs3_remote_Lookup.

Frees the result structure allocated for nfs3_remote_Lookup.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1885 of file nfs_remote_functions.c.

int nfs3_remote_Mkdir ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Mkdir: The NFS proc mkdir function, v3.

The NFS proc mkdir function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1147 of file nfs_remote_functions.c.

void nfs3_remote_Mkdir_Free ( nfs_res_t resp)

nfs3_remote_Mkdir_Free: Frees the result structure allocated for nfs3_remote_Mkdir.

Frees the result structure allocated for nfs3_remote_Mkdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1950 of file nfs_remote_functions.c.

int nfs3_remote_Mknod ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Mknod: The NFS proc mknod function, v3.

The NFS proc mknod function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1381 of file nfs_remote_functions.c.

void nfs3_remote_Mknod_Free ( nfs_res_t pres)

nfs3_remote_Mknod_Free: Frees the result structure allocated for nfs3_remote_Mknod.

Frees the result structure allocated for nfs3_remote_Mknod.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1976 of file nfs_remote_functions.c.

int nfs3_remote_Null ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Null: The NFS proc null function, v3.

The NFS proc null function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 836 of file nfs_remote_functions.c.

void nfs3_remote_Null_Free ( nfs_res_t resp)

nfs3_remote_Null_Free: Frees the result structure allocated for nfs3_remote_Null.

Frees the result structure allocated for nfs3_remote_Null.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1846 of file nfs_remote_functions.c.

int nfs3_remote_Pathconf ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Pathconf: The NFS proc pathconf function, v3.

The NFS proc pathconf function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1329 of file nfs_remote_functions.c.

void nfs3_remote_Pathconf_Free ( nfs_res_t pres)

nfs3_remote_Pathconf_Free: Frees the result structure allocated for nfs3_remote_Pathconf.

Frees the result structure allocated for nfs3_remote_Pathconf.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2093 of file nfs_remote_functions.c.

int nfs3_remote_Read ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Read: The NFS proc read function, v3.

The NFS proc read function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 965 of file nfs_remote_functions.c.

void nfs3_remote_Read_Free ( nfs_res_t resp)

nfs3_remote_Read_Free: Frees the result structure allocated for nfs3_remote_Read.

Frees the result structure allocated for nfs3_remote_Read.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2119 of file nfs_remote_functions.c.

int nfs3_remote_Readdir ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Readdir: The NFS proc readdir function, v3.

The NFS proc readdir function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1199 of file nfs_remote_functions.c.

void nfs3_remote_Readdir_Free ( nfs_res_t resp)

nfs3_remote_Readdir_Free: Frees the result structure allocated for nfs3_remote_Readdir.

Frees the result structure allocated for nfs3_remote_Readdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2041 of file nfs_remote_functions.c.

int nfs3_remote_Readdirplus ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Readdirplus: The NFS proc readdirplus function, v3.

The NFS proc readdirplus function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1277 of file nfs_remote_functions.c.

void nfs3_remote_Readdirplus_Free ( nfs_res_t resp)

nfs3_remote_Readdirplus_Free: Frees the result structure allocated for nfs3_remote_Readdirplus.

Frees the result structure allocated for nfs3_remote_Readdirplus.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2054 of file nfs_remote_functions.c.

int nfs3_remote_Readlink ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Readlink: The NFS proc readlink function, v3.

The NFS proc readlink function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 939 of file nfs_remote_functions.c.

void nfs3_remote_Readlink_Free ( nfs_res_t resp)

nfs3_remote_Readlink_Free: Frees the result structure allocated for nfs3_remote_Readlink.

Frees the result structure allocated for nfs3_remote_Readlink.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1911 of file nfs_remote_functions.c.

int nfs3_remote_Remove ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Remove: The NFS proc remove function, v3.

The NFS proc remove function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1043 of file nfs_remote_functions.c.

void nfs3_remote_Remove_Free ( nfs_res_t resp)

nfs3_remote_Remove_Free: Frees the result structure allocated for nfs3_remote_Remove.

Frees the result structure allocated for nfs3_remote_Remove.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1989 of file nfs_remote_functions.c.

int nfs3_remote_Rename ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Rename: The NFS proc rename function, v3.

The NFS proc rename function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1069 of file nfs_remote_functions.c.

void nfs3_remote_Rename_Free ( nfs_res_t resp)

nfs3_remote_Rename_Free: Frees the result structure allocated for nfs3_remote_Rename.

Frees the result structure allocated for nfs3_remote_Rename.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2015 of file nfs_remote_functions.c.

int nfs3_remote_Rmdir ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Rmdir: The NFS proc rmdir function, v3.

The NFS proc rmdir function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1173 of file nfs_remote_functions.c.

void nfs3_remote_Rmdir_Free ( nfs_res_t resp)

nfs3_remote_Rmdir_Free: Frees the result structure allocated for nfs3_remote_Rmdir.

Frees the result structure allocated for nfs3_remote_Rmdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 2002 of file nfs_remote_functions.c.

int nfs3_remote_Setattr ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Setattr: The NFS proc setattr function, v3.

The NFS proc setattr function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 887 of file nfs_remote_functions.c.

void nfs3_remote_Setattr_Free ( nfs_res_t resp)

nfs3_remote_Setattr_Free: Frees the result structure allocated for nfs3_remote_Setattr.

Frees the result structure allocated for nfs3_remote_Setattr.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1872 of file nfs_remote_functions.c.

int nfs3_remote_Symlink ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Symlink: The NFS proc symlink function, v3.

The NFS proc symlink function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1121 of file nfs_remote_functions.c.

void nfs3_remote_Symlink_Free ( nfs_res_t resp)

nfs3_remote_Symlink_Free: Frees the result structure allocated for nfs3_remote_Symlink.

Frees the result structure allocated for nfs3_remote_Symlink.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1963 of file nfs_remote_functions.c.

int nfs3_remote_Write ( CLIENT *  clnt,
nfs_arg_t parg,
nfs_res_t pres 
)

nfs3_remote_Write: The NFS proc write function, v3.

The NFS proc write function, v3.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 991 of file nfs_remote_functions.c.

void nfs3_remote_Write_Free ( nfs_res_t resp)

nfs3_remote_Write_Free: Frees the result structure allocated for nfs3_remote_Write.

Frees the result structure allocated for nfs3_remote_Write.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 1924 of file nfs_remote_functions.c.

int nfs3_Remove_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

Definition at line 1762 of file nfs_xattr.c.

int nfs3_Sattr_To_FSALattr ( fsal_attrib_list_t pFSAL_attr,
sattr3 psattr 
)

nfs3_Sattr_To_FSALattr: Converts NFSv3 Sattr to FSAL Attributes.

Converts NFSv3 Sattr to FSAL Attributes.

Parameters:
pFSAL_attr[OUT] computed FSAL attributes.
psattr[IN] NFSv3 sattr to be set.
Returns:
0 if failed, 1 if successful.

Definition at line 1782 of file nfs_proto_tools.c.

int nfs3_Write_Xattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
struct svc_req *  preq,
nfs_res_t pres 
)

Definition at line 1014 of file nfs_xattr.c.

int nfs4_AllocateFH ( nfs_fh4 fh)

nfs4_AllocateFH: Allocates a buffer to be used for storing a NFSv4 filehandle.

Allocates a buffer to be used for storing a NFSv4 filehandle.

Parameters:
fh[INOUT] the filehandle to manage.
Returns:
NFS4_OK if successful, NFS3ERR_SERVERFAULT, NFS4ERR_RESOURCE or NFS4ERR_STALE otherwise.

Definition at line 4198 of file nfs_proto_tools.c.

int nfs4_attrmap_to_FSAL_attrmask ( bitmap4  attrmap,
fsal_attrib_mask_t attrmask 
)

nfs4_attrmap_To_FSAL_attrmask: Converts NFSv4 attribute bitmap to FSAL attribute mask.

Converts NFSv4 attributes buffer to a FSAL attributes structure.

Parameters:
attrmap[IN] pointer to NFSv4 attribute bitmap.
attrmask[OUT] pointer to FSAL attribute mask.
Returns:
NFS4_OK if successful, NFS4ERR codes if not.

Definition at line 3254 of file nfs_proto_tools.c.

int nfs4_bitmap4_Remove_Unsupported ( bitmap4 pbitmap)

nfs4_bitmap4_Remove_Unsupported: removes unsupported attributes from bitmap4

Removes unsupported attributes from bitmap4

Parameters:
pbitmap[IN] pointer to NFSv4 attributes's bitmap.
Returns:
1 if successful, 0 otherwise.

Definition at line 2764 of file nfs_proto_tools.c.

void nfs4_bitmap4_to_list ( bitmap4 b,
uint_t plen,
uint32_t pval 
)

nfs_bitmap4_to_list: convert an attribute's bitmap to a list of attributes.

Convert an attribute's bitmap to a list of attributes.

Parameters:
b[IN] bitmap to convert.
plen[OUT] list's length.
plval[OUT] list's values.
Returns:
nothing (void function)

Definition at line 2267 of file nfs_proto_tools.c.

int nfs4_cb_getattr ( struct nfs_cb_argop4 op,
compound_data_t data,
struct nfs_cb_resop4 resp 
)

nfs4_cb_getattr: NFS4_OP_CB_getattr, nfsv4 call back to get files attributes

nfsv4 call back to get files attributes.

Parameters:
op[IN] pointer to nfs4_cb arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_cb results
Returns:
NFS4_OK if successfull, other values show an error.

Definition at line 79 of file nfs4_cb_getattr.c.

int nfs4_cb_illegal ( struct nfs_cb_argop4 op,
compound_data_t data,
struct nfs_cb_resop4 resp 
)

nfs4_cb_getattr: NFS4_OP_CB_getattr, nfsv4 call back to get files attributes

nfsv4 call back to get files attributes.

Parameters:
op[IN] pointer to nfs4_cb arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_cb results
Returns:
NFS4_OK if successfull, other values show an error.

Definition at line 79 of file nfs4_cb_illegal.c.

int nfs4_cb_recall ( struct nfs_cb_argop4 op,
compound_data_t data,
struct nfs_cb_resop4 resp 
)

nfs4_cb_recall: NFS4_OP_CB_recall, nfsv4 call back to recall from a delegation

nfsv4 call back to recall from a delagation

Parameters:
op[IN] pointer to nfs4_cb arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_cb results
Returns:
NFS4_OK if successfull, other values show an error.

Definition at line 79 of file nfs4_cb_recall.c.

int nfs4_Compound ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs4_COMPOUND: The NFS PROC4 COMPOUND

Implements the NFS PROC4 COMPOUND. This routine processes the content of the nfsv4 operation list and composes the result. On this aspect it is a little similar to a dispatch routine. Operation and functions necessary to process them are defined in array optab4 .

Parameters:
[in]pargGeneric nfs arguments
[in]pexportlistThe full export list
[in]pcontexContext for the FSAL
[in]pworkerWorker thread data
[in]preqNFSv4 request structure
[out]presNFSv4 reply structure
See also:
nfs4_op_<*> functions
nfs4_GetPseudoFs

Todo:
BUGAZOMEU: Reminder: Stats on NFSv4 operations are to be set here

Definition at line 207 of file nfs4_Compound.c.

void nfs4_Compound_CopyRes ( nfs_res_t pres_dst,
nfs_res_t pres_src 
)

nfs4_Compound_CopyRes: Copy the result for NFS4PROC_COMPOUND

Copy the result for NFS4PROC_COMPOUND.

Parameters:
resppointer to be freed
Returns:
nothing (void function).
See also:
nfs4_op_getfh

Definition at line 936 of file nfs4_Compound.c.

void nfs4_Compound_CopyResOne ( nfs_resop4 pres_dst,
nfs_resop4 pres_src 
)

nfs4_Compound_CopyResOne: Copy the result for one NFS4_OP

Definition at line 810 of file nfs4_Compound.c.

void nfs4_Compound_Free ( nfs_res_t pres)

nfs4_Compound_Free: Free the result for NFS4PROC_COMPOUND

Free the result for NFS4PROC_COMPOUND.

Parameters:
resppointer to be freed
Returns:
nothing (void function).
See also:
nfs4_op_getfh

Definition at line 730 of file nfs4_Compound.c.

void nfs4_Compound_FreeOne ( nfs_resop4 pres)

Free the result for one NFS4_OP.

Parameters:
resppointer to be freed
Returns:
nothing (void function).
See also:
nfs4_op_getfh

Definition at line 514 of file nfs4_Compound.c.

nfsstat4 nfs4_Errno ( cache_inode_status_t  error)

nfs4_Errno: Converts a cache_inode status to a nfsv4 status.

Converts a cache_inode status to a nfsv4 status.

Parameters:
error[IN] Input cache inode ewrror.
Returns:
the converted NFSv4 status.

Definition at line 3760 of file nfs_proto_tools.c.

int nfs4_ExportToPseudoFS ( exportlist_t pexportlist)

nfs4_ExportToPseudoFS: Build a pseudo fs from an exportlist

Build a pseudo fs from an exportlist. This export list itself is obtained by reading the configuration file.

Returns:
the pseudo fs root

Definition at line 115 of file nfs4_pseudo.c.

int nfs4_Fattr_Check_Access ( fattr4 Fattr,
int  access 
)

nfs4_Fattr_Check_Access: checks if attributes have READ or WRITE access.

Checks if attributes have READ or WRITE access.

Parameters:
Fattr[IN] pointer to NFSv4 attributes.
access[IN] access to be checked, either FATTR4_ATTR_READ or FATTR4_ATTR_WRITE
Returns:
1 if successful, 0 otherwise.

Definition at line 2668 of file nfs_proto_tools.c.

int nfs4_Fattr_Check_Access_Bitmap ( bitmap4 pbitmap,
int  access 
)

nfs4_Fattr_Check_Access_Bitmap: checks if attributes bitmaps have READ or WRITE access.

Checks if attributes have READ or WRITE access.

Parameters:
pbitmap[IN] pointer to NFSv4 attributes.
access[IN] access to be checked, either FATTR4_ATTR_READ or FATTR4_ATTR_WRITE
Returns:
1 if successful, 0 otherwise.

Definition at line 2717 of file nfs_proto_tools.c.

int nfs4_Fattr_cmp ( fattr4 Fattr1,
fattr4 Fattr2 
)

nfs4_Fattr_cmp: compares 2 fattr4 buffers.

Compares 2 fattr4 buffers.

Parameters:
Fattr1[IN] pointer to NFSv4 attributes.
Fattr2[IN] pointer to NFSv4 attributes.
Returns:
TRUE if attributes are the same, FALSE otherwise, but -1 if RDATTR_ERROR is set

Definition at line 2925 of file nfs_proto_tools.c.

int nfs4_Fattr_Fill ( fattr4 Fattr,
int  attrcnt,
uint32_t attrlist,
int  valsiz,
char *  attrvals 
)

Definition at line 876 of file nfs_proto_tools.c.

int nfs4_Fattr_Supported ( fattr4 Fattr)

nfs4_Fattr_Supported: Checks if an attribute is supported.

Checks if an attribute is supported.

Parameters:
Fattr[IN] pointer to NFSv4 attributes.
Returns:
1 if successful, 0 otherwise.

Definition at line 2829 of file nfs_proto_tools.c.

int nfs4_Fattr_Supported_Bitmap ( bitmap4 pbitmap)

nfs4_Fattr_Supported: Checks if an attribute is supported.

Checks if an attribute is supported.

Parameters:
Fattr[IN] pointer to NFSv4 attributes.
Returns:
1 if successful, 0 otherwise.

Definition at line 2877 of file nfs_proto_tools.c.

int nfs4_Fattr_To_fsal_attr ( fsal_attrib_list_t pattr,
fattr4 Fattr,
compound_data_t data,
bitmap4 Bitmap 
)
int nfs4_Fattr_To_FSAL_attr ( fsal_attrib_list_t pFSAL_attr,
fattr4 Fattr 
)

nfs4_Fattr_To_FSAL_attr: Converts NFSv4 attributes buffer to a FSAL attributes structure.

Converts NFSv4 attributes buffer to a FSAL attributes structure.

Parameters:
pFSAL_attr[OUT] pointer to FSAL attributes.
Fattr[IN] pointer to NFSv4 attributes.
Returns:
NFS4_OK if successful, NFS4ERR codes if not.

Definition at line 3743 of file nfs_proto_tools.c.

nfsstat4 nfs4_fh_to_xattrfh ( nfs_fh4 pfhin,
nfs_fh4 pfhout 
)

nfs4_fh_to_xattrfh: builds the fh to the xattrs ghost directory

Parameters:
pfhin[IN] input file handle (the object whose xattr fh is queryied)
pfhout[OUT] output file handle
Returns:
NFS4_OK

< 1 = xattr ghost directory

Definition at line 960 of file nfs4_xattr.c.

int nfs4_fsal_attr_To_Fattr ( fsal_attrib_list_t pattr,
fattr4 Fattr,
compound_data_t data,
bitmap4 Bitmap 
)
int nfs4_FSALattr_To_Fattr ( exportlist_t pexport,
fsal_attrib_list_t pattr,
fattr4 Fattr,
compound_data_t data,
nfs_fh4 objFH,
bitmap4 Bitmap 
)

nfs4_FSALattr_To_Fattr: Converts FSAL Attributes to NFSv4 Fattr buffer.

Converts FSAL Attributes to NFSv4 Fattr buffer.

Parameters:
pexport[IN] the related export entry.
pattr[IN] pointer to FSAL attributes.
Fattr[OUT] NFSv4 Fattr buffer Memory for bitmap_val and attr_val is dynamically allocated, caller is responsible for freeing it.
data[IN] NFSv4 compoud request's data.
objFH[IN] The NFSv4 filehandle of the object whose attributes are requested
Bitmap[IN] Bitmap of attributes being requested
Returns:
-1 if failed, 0 if successful.

Todo:
: not the right answer, actual quotas should be implemented
Todo:
: not the right answer, actual quotas should be implemented

Definition at line 922 of file nfs_proto_tools.c.

pseudofs_t* nfs4_GetPseudoFs ( void  )

nfs4_GetPseudoFs: Gets the root of the pseudo file system.

Gets the root of the pseudo file system. This is only a wrapper to static variable gPseudoFs.

Returns:
the pseudo fs root

Definition at line 101 of file nfs4_pseudo.c.

int nfs4_Is_Fh_Referral ( nfs_fh4 pfh)

nfs4_Is_Fh_Referral

This routine is used to identify fh related to a pure referral

Parameters:
pfh[IN] file handle to test.
Returns:
TRUE is fh is a referral, FALSE otherwise

Definition at line 724 of file nfs_filehandle_mgmt.c.

void nfs4_list_to_bitmap4 ( bitmap4 b,
uint_t  plen,
uint32_t pval 
)

nfs4_list_to_bitmap4: convert a list of attributes to an attributes's bitmap.

Convert a list of attributes to an attributes's bitmap.

Parameters:
b[OUT] computed bitmap
plen[IN] list's length
pval[IN] list's array
Returns:
nothing (void function).

Definition at line 2355 of file nfs_proto_tools.c.

int nfs4_MakeCred ( compound_data_t data)

nfs4_MakeCred

This routine fills in the pcontext field in the compound data.

Parameters:
pfh[INOUT] pointer to compound data to be used. NOT YET IMPLEMENTED
Returns:
NFS4_OK if successful, NFS4ERR_WRONGSEC otherwise.

Definition at line 4229 of file nfs_proto_tools.c.

seqid4 nfs4_NextSeqId ( seqid4  seqid)

nfs4_NextSeqId: compute the next nfsv4 sequence id.

Compute the next nfsv4 sequence id.

Parameters:
seqid[IN] previous sequence number.
Returns:
the requested sequence number.

Definition at line 2210 of file nfs_proto_tools.c.

int nfs4_op_access ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 81 of file nfs4_op_access.c.

void nfs4_op_access_Free ( ACCESS4res resp)

nfs4_op_access_Free: frees what was allocared to handle nfs4_op_access.

Frees what was allocared to handle nfs4_op_access.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 240 of file nfs4_op_access.c.

int nfs4_op_access_pseudo ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1379 of file nfs4_pseudo.c.

int nfs4_op_access_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Todo:
think about making this RW, it is RO for now

Definition at line 1053 of file nfs4_xattr.c.

int nfs4_op_close ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 68 of file nfs4_op_close.c.

void nfs4_op_close_CopyRes ( CLOSE4res resp_dst,
CLOSE4res resp_src 
)

Definition at line 247 of file nfs4_op_close.c.

void nfs4_op_close_Free ( CLOSE4res resp)

nfs4_op_close_Free: frees what was allocared to handle nfs4_op_close.

Frees what was allocared to handle nfs4_op_close.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 241 of file nfs4_op_close.c.

int nfs4_op_commit ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 93 of file nfs4_op_commit.c.

void nfs4_op_commit_Free ( COMMIT4res resp)

nfs4_op_commit_Free: frees what was allocared to handle nfs4_op_commit.

Frees what was allocared to handle nfs4_op_commit.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 155 of file nfs4_op_commit.c.

int nfs4_op_create ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 81 of file nfs4_op_create.c.

void nfs4_op_create_Free ( CREATE4res resp)

nfs4_op_create_Free: frees what was allocared to handle nfs4_op_create.

Frees what was allocared to handle nfs4_op_create.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 532 of file nfs4_op_create.c.

int nfs4_op_delegpurge ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 79 of file nfs4_op_delegpurge.c.

void nfs4_op_delegpurge_Free ( DELEGPURGE4res resp)

nfs4_op_delegpurge_Free: frees what was allocared to handle nfs4_op_delegpurge.

Frees what was allocared to handle nfs4_op_delegpurge.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 101 of file nfs4_op_delegpurge.c.

int nfs4_op_delegreturn ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 79 of file nfs4_op_delegreturn.c.

void nfs4_op_delegreturn_Free ( DELEGRETURN4res resp)

nfs4_op_delegreturn_Free: frees what was allocared to handle nfs4_op_delegreturn.

Frees what was allocared to handle nfs4_op_delegreturn.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 101 of file nfs4_op_delegreturn.c.

int nfs4_op_getattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

nfs4_op_getattr: Gets attributes for an entry in the FSAL.

Gets attributes for an entry in the FSAL.

Parameters:
op[IN] pointer to nfs4_op arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_op results
Returns:
NFS4_OK

Definition at line 80 of file nfs4_op_getattr.c.

void nfs4_op_getattr_Free ( GETATTR4res resp)

nfs4_op_getattr_Free: frees what was allocared to handle nfs4_op_getattr.

Frees what was allocared to handle nfs4_op_getattr.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 173 of file nfs4_op_getattr.c.

int nfs4_op_getattr_pseudo ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1330 of file nfs4_pseudo.c.

int nfs4_op_getattr_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1018 of file nfs4_xattr.c.

int nfs4_op_getfh ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 72 of file nfs4_op_getfh.c.

void nfs4_op_getfh_Free ( GETFH4res resp)

nfs4_op_getfh_Free: frees what was allocared to handle nfs4_op_getfh.

Frees what was allocared to handle nfs4_op_getfh.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 119 of file nfs4_op_getfh.c.

int nfs4_op_illegal ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

nfs4_op_illegal: A function to managed illegal calls to NFSv4 operation.

A function to managed illegal calls to NFSv4 operation. This is usefull in case of different minor versioning.

Parameters:
op[IN] pointer to nfs4_op arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_op results
Returns:
NFS4ERR_OP_ILLEGAL as defined by the RFC3530

Definition at line 76 of file nfs4_op_illegal.c.

void nfs4_op_illegal_Free ( ILLEGAL4res resp)

nfs4_op_illegal_Free: frees what was allocared to handle nfs4_op_illegal.

Frees what was allocared to handle nfs4_op_illegal.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 97 of file nfs4_op_illegal.c.

int nfs4_op_link ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 82 of file nfs4_op_link.c.

void nfs4_op_link_Free ( LINK4res resp)

nfs4_op_link_Free: frees what was allocared to handle nfs4_op_link.

Frees what was allocared to handle nfs4_op_link.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 242 of file nfs4_op_link.c.

int nfs4_op_lock ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 79 of file nfs4_op_lock.c.

void nfs4_op_lock_CopyRes ( LOCK4res resp_dst,
LOCK4res resp_src 
)

Definition at line 630 of file nfs4_op_lock.c.

void nfs4_op_lock_Free ( LOCK4res resp)

nfs4_op_lock_Free: frees what was allocared to handle nfs4_op_lock.

Frees what was allocared to handle nfs4_op_lock.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 624 of file nfs4_op_lock.c.

int nfs4_op_lockt ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 78 of file nfs4_op_lockt.c.

void nfs4_op_lockt_Free ( LOCKT4res resp)

nfs4_op_lockt_Free: frees what was allocared to handle nfs4_op_lockt.

Frees what was allocared to handle nfs4_op_lockt.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 271 of file nfs4_op_lockt.c.

int nfs4_op_locku ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 78 of file nfs4_op_locku.c.

void nfs4_op_locku_CopyRes ( LOCKU4res resp_dst,
LOCKU4res resp_src 
)

Definition at line 229 of file nfs4_op_locku.c.

void nfs4_op_locku_Free ( LOCKU4res resp)

nfs4_op_locku_Free: frees what was allocared to handle nfs4_op_locku.

Frees what was allocared to handle nfs4_op_locku.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 224 of file nfs4_op_locku.c.

int nfs4_op_lookup ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 80 of file nfs4_op_lookup.c.

void nfs4_op_lookup_Free ( LOOKUP4res resp)

nfs4_op_lookup_Free: frees what was allocared to handle nfs4_op_lookup.

Frees what was allocared to handle nfs4_op_lookup.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 278 of file nfs4_op_lookup.c.

int nfs4_op_lookup_pseudo ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1413 of file nfs4_pseudo.c.

int nfs4_op_lookup_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1088 of file nfs4_xattr.c.

int nfs4_op_lookupp ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 81 of file nfs4_op_lookupp.c.

void nfs4_op_lookupp_Free ( LOOKUPP4res resp)

nfs4_op_lookupp_Free: frees what was allocared to handle nfs4_op_lookupp.

Frees what was allocared to handle nfs4_op_lookupp.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 195 of file nfs4_op_lookupp.c.

int nfs4_op_lookupp_pseudo ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1630 of file nfs4_pseudo.c.

int nfs4_op_lookupp_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1156 of file nfs4_xattr.c.

int nfs4_op_nverify ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 83 of file nfs4_op_nverify.c.

void nfs4_op_nverify_Free ( NVERIFY4res resp)

nfs4_op_nverify_Free: frees what was allocared to handle nfs4_op_nverify.

Frees what was allocared to handle nfs4_op_nverify.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 167 of file nfs4_op_nverify.c.

int nfs4_op_open ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 93 of file nfs4_op_open.c.

int nfs4_op_open_confirm ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 73 of file nfs4_op_open_confirm.c.

void nfs4_op_open_confirm_CopyRes ( OPEN_CONFIRM4res resp_dst,
OPEN_CONFIRM4res resp_src 
)

Definition at line 171 of file nfs4_op_open_confirm.c.

void nfs4_op_open_confirm_Free ( OPEN_CONFIRM4res resp)

nfs4_op_open_confirm_Free: frees what was allocared to handle nfs4_op_open_confirm.

Frees what was allocared to handle nfs4_op_open_confirm.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 165 of file nfs4_op_open_confirm.c.

void nfs4_op_open_CopyRes ( OPEN4res resp_dst,
OPEN4res resp_src 
)

Definition at line 1091 of file nfs4_op_open.c.

int nfs4_op_open_downgrade ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 80 of file nfs4_op_open_downgrade.c.

void nfs4_op_open_downgrade_CopyRes ( OPEN_DOWNGRADE4res resp_dst,
OPEN_DOWNGRADE4res resp_src 
)

Definition at line 207 of file nfs4_op_open_downgrade.c.

void nfs4_op_open_downgrade_Free ( OPEN_DOWNGRADE4res resp)

nfs4_op_open_downgrade_Free: frees what was allocared to handle nfs4_op_open_downgrade.

Frees what was allocared to handle nfs4_op_open_downgrade.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 201 of file nfs4_op_open_downgrade.c.

void nfs4_op_open_Free ( OPEN4res resp)

nfs4_op_open_Free: frees what was allocared to handle nfs4_op_open.

Frees what was allocared to handle nfs4_op_open.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 1084 of file nfs4_op_open.c.

int nfs4_op_open_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1418 of file nfs4_xattr.c.

int nfs4_op_openattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 81 of file nfs4_op_openattr.c.

void nfs4_op_openattr_Free ( OPENATTR4res resp)

nfs4_op_openattr_Free: frees what was allocared to handle nfs4_op_openattr.

Frees what was allocared to handle nfs4_op_openattr.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 104 of file nfs4_op_openattr.c.

int nfs4_op_putfh ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

nfs4_op_putfh: The NFS4_OP_PUTFH operation

Sets the current FH with the value given in argument.

Parameters:
op[IN] pointer to nfs4_op arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_op results
Returns:
NFS4_OK if successfull, other values show an error.
See also:
all the nfs4_op_<*> function
nfs4_Compound

Definition at line 85 of file nfs4_op_putfh.c.

void nfs4_op_putfh_Free ( PUTFH4res resp)

nfs4_op_create_Free: frees what was allocared to handle nfs4_op_create.

Frees what was allocared to handle nfs4_op_create.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 204 of file nfs4_op_putfh.c.

int nfs4_op_putpubfh ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 117 of file nfs4_op_putpubfh.c.

void nfs4_op_putpubfh_Free ( PUTPUBFH4res resp)

nfs4_op_putpubfh_Free: frees what was allocared to handle nfs4_op_putpubfh.

Frees what was allocared to handle nfs4_op_putpubfh.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 181 of file nfs4_op_putpubfh.c.

int nfs4_op_putrootfh ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 117 of file nfs4_op_putrootfh.c.

void nfs4_op_putrootfh_Free ( PUTROOTFH4res resp)

nfs4_op_putrootfh_Free: frees what was allocared to handle nfs4_op_putrootfh.

Frees what was allocared to handle nfs4_op_putrootfh.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 192 of file nfs4_op_putrootfh.c.

int nfs4_op_read ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Todo:
: this piece of code looks a bit suspicious (see Rong's mail)
Todo:
: ACE: This works for now. How do we want to handle owner confirmation across NFSv4.0/NFSv4.1? Do we want to mark every NFSv4.1 owner pre-confirmed, or make the check conditional on minorversion like we do here?

Definition at line 86 of file nfs4_op_read.c.

void nfs4_op_read_Free ( READ4res resp)

nfs4_op_read_Free: frees what was allocared to handle nfs4_op_read.

Frees what was allocared to handle nfs4_op_read.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 391 of file nfs4_op_read.c.

int nfs4_op_read_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1530 of file nfs4_xattr.c.

int nfs4_op_readdir ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

NFS4_OP_READDIR.

Implements the NFS4_OP_READDIR opeartion. If fh is a pseudo FH, then call is routed to routine nfs4_op_readdir_pseudo

Parameters:
op[IN] pointer to nfs4_op arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_op results
Returns:
NFS4_OK if ok, any other value show an error.

Definition at line 100 of file nfs4_op_readdir.c.

void nfs4_op_readdir_Free ( READDIR4res resp)

nfs4_op_readdir_Free: frees what was allocared to handle nfs4_op_readdir.

Frees what was allocared to handle nfs4_op_readdir.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 270 of file nfs4_op_readdir.c.

int nfs4_op_readdir_pseudo ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1694 of file nfs4_pseudo.c.

int nfs4_op_readdir_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1186 of file nfs4_xattr.c.

int nfs4_op_readlink ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 86 of file nfs4_op_readlink.c.

void nfs4_op_readlink_Free ( READLINK4res resp)

nfs4_op_readlink_Free: frees what was allocared to handle nfs4_op_readlink.

Frees what was allocared to handle nfs4_op_readlink.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 146 of file nfs4_op_readlink.c.

int nfs4_op_release_lockowner ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 80 of file nfs4_op_release_lockowner.c.

void nfs4_op_release_lockowner_Free ( RELEASE_LOCKOWNER4res resp)

nfs4_op_release_lockowner_Free: frees what was allocared to handle nfs4_op_release_lockowner.

Frees what was allocared to handle nfs4_op_release_lockowner.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 175 of file nfs4_op_release_lockowner.c.

int nfs4_op_remove ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 79 of file nfs4_op_remove.c.

void nfs4_op_remove_Free ( REMOVE4res resp)

nfs4_op_remove_Free: frees what was allocared to handle nfs4_op_remove.

Frees what was allocared to handle nfs4_op_remove.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 191 of file nfs4_op_remove.c.

int nfs4_op_remove_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1637 of file nfs4_xattr.c.

int nfs4_op_rename ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 79 of file nfs4_op_rename.c.

void nfs4_op_rename_Free ( RENAME4res resp)

nfs4_op_rename_Free: frees what was allocared to handle nfs4_op_rename.

Frees what was allocared to handle nfs4_op_rename.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 436 of file nfs4_op_rename.c.

int nfs4_op_renew ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 78 of file nfs4_op_renew.c.

void nfs4_op_renew_Free ( RENEW4res resp)

nfs4_op_renew_Free: frees what was allocared to handle nfs4_op_renew.

Frees what was allocared to handle nfs4_op_renew.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 127 of file nfs4_op_renew.c.

int nfs4_op_restorefh ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 89 of file nfs4_op_restorefh.c.

void nfs4_op_restorefh_Free ( RESTOREFH4res resp)

frees what was allocared to handle nfs4_op_restorefh.

Frees what was allocared to handle nfs4_op_restorefh.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 196 of file nfs4_op_restorefh.c.

int nfs4_op_savefh ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 90 of file nfs4_op_savefh.c.

void nfs4_op_savefh_Free ( SAVEFH4res resp)

nfs4_op_savefh_Free: frees what was allocared to handle nfs4_op_savefh.

Frees what was allocared to handle nfs4_op_savefh.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 171 of file nfs4_op_savefh.c.

int nfs4_op_secinfo ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 83 of file nfs4_op_secinfo.c.

void nfs4_op_secinfo_Free ( SECINFO4res resp)

nfs4_op_secinfo_Free: frees what was allocared to handle nfs4_op_secinfo.

Frees what was allocared to handle nfs4_op_secinfo.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 203 of file nfs4_op_secinfo.c.

int nfs4_op_setattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Todo:
: check correctness of this block... looks suspicious
Todo:
: check correctness of this block... looks suspicious

Definition at line 83 of file nfs4_op_setattr.c.

void nfs4_op_setattr_Free ( SETATTR4res resp)

nfs4_op_setattr_Free: frees what was allocated to handle nfs4_op_setattr.

Frees what was allocared to handle nfs4_op_setattr.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 330 of file nfs4_op_setattr.c.

int nfs4_op_setclientid ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

The NFS4_OP_SETCLIENTID operation.

Gets the currentFH for the current compound requests.

Parameters:
[in]opnfs4_op arguments
[in,out]dataCompound request's data
[out]respnfs4_op results
Returns:
NFS4_OK if successfull, other values show an error.
See also:
nfs4_Compound

Definition at line 66 of file nfs4_op_setclientid.c.

int nfs4_op_setclientid_confirm ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

The NFS4_OP_SETCLIENTID_CONFIRM operation.

The NFS4_OP_SETCLIENTID_CONFIRM operation.

Parameters:
[in]opnfs4_op arguments
[in,out]dataThe compound request's data
[out]respnfs4_op results
Returns:
NFS4_OK if successfull, other values show an error.
See also:
nfs4_Compound

Definition at line 66 of file nfs4_op_setclientid_confirm.c.

void nfs4_op_setclientid_confirm_Free ( SETCLIENTID_CONFIRM4res resp)

nfs4_op_setclientid_confirm_Free: frees what was allocared to handle nfs4_op_setclientid_confirm.

Frees what was allocared to handle nfs4_op_setclientid_confirm.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 483 of file nfs4_op_setclientid_confirm.c.

void nfs4_op_setclientid_Free ( SETCLIENTID4res resp)

nfs4_op_setclientid_Free: frees what was allocared to handle nfs4_op_setclientid.

Frees what was allocared to handle nfs4_op_setclientid.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 370 of file nfs4_op_setclientid.c.

int nfs4_op_stat_update ( nfs_arg_t parg,
nfs_res_t pres,
nfs_request_stat_t pstat_req 
)

nfs4_op_stat_update: updates the NFSv4 operations specific statistics for a COMPOUND4 requests (either v4.0 or v4.1).

Updates the NFSv4 operations specific statistics for a COMPOUND4 requests (either v4.0 or v4.1).

Parameters:
pargargument for the COMPOUND4 request
presresult for the COMPOUND4 request
pstat_reqpointer to the worker's structure for NFSv4 stats
Returns:
-1 if failed 0 otherwise

Definition at line 964 of file nfs4_Compound.c.

int nfs4_op_verify ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 82 of file nfs4_op_verify.c.

void nfs4_op_verify_Free ( VERIFY4res resp)

nfs4_op_verify_Free: frees what was allocared to handle nfs4_op_verify.

Frees what was allocared to handle nfs4_op_verify.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 165 of file nfs4_op_verify.c.

int nfs4_op_write ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 82 of file nfs4_op_write.c.

void nfs4_op_write_Free ( WRITE4res resp)

nfs4_op_write_Free: frees what was allocared to handle nfs4_op_write.

Frees what was allocared to handle nfs4_op_write.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 372 of file nfs4_op_write.c.

int nfs4_op_write_xattr ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 1593 of file nfs4_xattr.c.

int nfs4_PseudoToFattr ( pseudofs_entry_t psfsp,
fattr4 Fattr,
compound_data_t data,
nfs_fh4 objFH,
bitmap4 Bitmap 
)

nfs4_PseudoToFattr: Gets the attributes for an entry in the pseudofs

Gets the attributes for an entry in the pseudofs. Because pseudo fs structure is very simple (it is read-only and contains only directory that belongs to root), a set of standardized values is returned

Parameters:
psfp[IN] pointer to the pseudo fs entry on which attributes are queried
Fattr[OUT] Pointer to the buffer that will contain the queried attributes
data[INOUT] Pointer to the compound request's data
Bitmap[IN] Pointer to a bitmap that describes the attributes to be returned
Returns:
0 if successfull, -1 if something wrong occured. In this case, the reason is that too many attributes were asked.

Todo:
: not the right answer, actual quotas should be implemented
Todo:
: not the right answer, actual quotas should be implemented

Definition at line 304 of file nfs4_pseudo.c.

int nfs4_PseudoToFhandle ( nfs_fh4 fh4p,
pseudofs_entry_t psfsentry 
)

nfs4_PseudoToFhandle: converts an id in the pseudo fs to a NFSv4 file handle

Converts an id in the pseudo fs to a NFSv4 file handle.

Parameters:
fh4p[OUT] pointer to nfsv4 filehandle
psfsentry[IN] pointer to pseudofs entry
Returns:
NFS4_OK if successfull, other values show an error.

Definition at line 1252 of file nfs4_pseudo.c.

int nfs4_referral_str_To_Fattr_fs_location ( char *  input_str,
char *  buff,
u_int *  plen 
)

Definition at line 75 of file nfs4_referral.c.

int nfs4_remote_COMPOUND ( CLIENT *  clnt,
COMPOUND4args parg,
COMPOUND4res pres 
)

nfs4_remote_COMPOUND: The NFS proc compound function, v4.

The NFS proc compound function, v4.

Parameters:
clnt[IN]
parg[IN]
pres[OUT]

Definition at line 1430 of file nfs_remote_functions.c.

int nfs4_remote_Null ( CLIENT *  clnt)

nfs4_remote_Null: The NFS proc null function, v4.

The NFS proc null function, v4.

Parameters:
clnt[IN]

Definition at line 1405 of file nfs_remote_functions.c.

int nfs4_Set_Fh_Referral ( nfs_fh4 pfh)

Definition at line 61 of file nfs4_referral.c.

int nfs4_SetCompoundExport ( compound_data_t data)

nfs4_SetCompoundExport

This routine fills in the pexport field in the compound data.

Parameters:
pfh[OUT] pointer to compound data to be used.
Returns:
NFS4_OK if successfull. Possible errors are NFS4ERR_BADHANDLE and NFS4ERR_WRONGSEC.

Definition at line 1997 of file nfs_proto_tools.c.

void nfs4_stringid_split ( char *  buff,
char *  uidname,
char *  domainname 
)

nfs4_stringid_split: Splits a domain stamped name in two different parts.

Splits a domain stamped name in two different parts.

Parameters:
buff[IN] the input string
uidname[OUT] the extracted uid name
domainname[OUT] the extracted fomain name
Returns:
nothing (void function)

Definition at line 2063 of file nfs_proto_tools.c.

int nfs4_supported_attrs_to_fattr ( char *  outbuf)

Definition at line 818 of file nfs_proto_tools.c.

nfsstat4 nfs4_xattrfh_to_fh ( nfs_fh4 pfhin,
nfs_fh4 pfhout 
)

nfs4_xattrfh_to_fh: builds the fh from the xattrs ghost directory

Parameters:
pfhin[IN] input file handle
pfhout[OUT] output file handle
Returns:
NFS4_OK

< 0 = real filehandle

Definition at line 988 of file nfs4_xattr.c.

int nfs4_XattrToFattr ( fattr4 Fattr,
compound_data_t data,
nfs_fh4 objFH,
bitmap4 Bitmap 
)

Todo:
: not the right answer, actual quotas should be implemented
Todo:
: not the right answer, actual quotas should be implemented

Definition at line 61 of file nfs4_xattr.c.

int nfs_Create ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 CREATE.

Implements the NFS PROC CREATE function (for V2 and V3).

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successfull
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 85 of file nfs_Create.c.

void nfs_Create_Free ( nfs_res_t resp)

nfs_Create_Free: Frees the result structure allocated for nfs_Create.

Frees the result structure allocated for nfs_Create.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 574 of file nfs_Create.c.

int nfs_Fsstat ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 FSSTAT.

Implements the NFS PROC2 and PROC3 FSSTAT.

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 84 of file nfs_Fsstat.c.

void nfs_Fsstat_Free ( nfs_res_t resp)

nfs_Fsstat_Free: Frees the result structure allocated for nfs_Fsstat.

Frees the result structure allocated for nfs_Fsstat.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 234 of file nfs_Fsstat.c.

int nfs_Getattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Get attributes for a file.

Get attributes for a file. Implements NFS PROC2 GETATTR and NFS PROC3 GETATTR.

Parameters:
[in]pargPointer to nfs arguments union
[in]pexportPointer to nfs export list
[in]pcontextCredentials to be used for this request
[in]pworkerData belonging to the worker thread
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successfull
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 85 of file nfs_Getattr.c.

void nfs_Getattr_Free ( nfs_res_t resp)

nfs_Getattr_Free: Frees the result structure allocated for nfs_Getattr.

Frees the result structure allocated for nfs_Getattr.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 227 of file nfs_Getattr.c.

uint64_t nfs_htonl64 ( uint64_t  arg64)

nfs_htonl64: Same as htonl, but on 64 bits.

Parameters:
arg64[IN] input value
Returns:
converted value.

Definition at line 289 of file nfs_convert.c.

int nfs_Link ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 LINK.

The NFS PROC2 and PROC3 LINK.

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 85 of file nfs_Link.c.

void nfs_Link_Free ( nfs_res_t resp)

nfs_Link_Free: Frees the result structure allocated for nfs_Link.

Frees the result structure allocated for nfs_Link.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 335 of file nfs_Link.c.

int nfs_Lookup ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 LOOKUP.

Implements the NFS PROC LOOKUP function (for V2 and V3).

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successfull
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 84 of file nfs_Lookup.c.

int nfs_Mkdir ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 MKDIR.

Implements the NFS PROC MKDIR function (for V2 and V3).

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 84 of file nfs_Mkdir.c.

void nfs_Mkdir_Free ( nfs_res_t resp)

nfs_Mkdir_Free: Frees the result structure allocated for nfs_Mkdir.

Frees the result structure allocated for nfs_Mkdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 436 of file nfs_Mkdir.c.

uint64_t nfs_ntohl64 ( uint64_t  arg64)

nfs_ntohl64: Same as ntohl, but on 64 bits.

Parameters:
arg64[IN] input value
Returns:
converted value.

Definition at line 317 of file nfs_convert.c.

int nfs_Null ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nfs_Null: The NFS proc null function, for all versions.

The NFS proc null function, for all versions.

Parameters:
[in]pargignored
[in]pexportlistignored
[in]pcontextignored
[in]pworkerignored
[in]preqignored
[out]presignored

Definition at line 77 of file nfs_Null.c.

void nfs_Null_Free ( nfs_res_t resp)

nfs_Null_Free: Frees the result structure allocated for nfs_Null.

Frees the result structure allocated for nfs_Null.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 96 of file nfs_Null.c.

int nfs_Read ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 READ.

Implements the NFS PROC READ function (for V2 and V3).

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 122 of file nfs_Read.c.

int nfs_Readdir ( nfs_arg_t arg,
exportlist_t export,
fsal_op_context_t context,
nfs_worker_data_t worker,
struct svc_req *  req,
nfs_res_t res 
)

The NFS PROC2 and PROC3 READDIR.

Implements the NFS PROC READDIR function (for V2 and V3).

Parameters:
[in]argNFS argument union
[in]exportNFS export list
[in]contextCredentials to be used for this request
[in]workerWorker thread data
[in]reqSVC request related to this call
[out]resStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 146 of file nfs_Readdir.c.

int nfs_Readlink ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 READLINK.

This function implements the NFS PROC2-3 READLINK function.

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerClient resource to be used
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
See also:
cache_inode_readlink
Return values:
NFS_REQ_OKif successfull
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 85 of file nfs_Readlink.c.

int nfs_Remove ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 REMOVE.

Implements the NFS PROC REMOVE function (for V2 and V3).

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 84 of file nfs_Remove.c.

void nfs_Remove_Free ( nfs_res_t resp)

nfs_Remove_Free: Frees the result structure allocated for nfs_Remove.

Frees the result structure allocated for nfs_Remove.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 312 of file nfs_Remove.c.

int nfs_Rename ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 RENAME.

Implements the NFS PROC RENAME function (for V2 and V3).

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pclientWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 84 of file nfs_Rename.c.

void nfs_Rename_Free ( nfs_res_t resp)

nfs_Rename_Free: Frees the result structure allocated for nfs_Rename.

Frees the result structure allocated for nfs_Rename.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 498 of file nfs_Rename.c.

int nfs_Rmdir ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 RMDIR.

Implements the NFS PROC RMDIR function (for V2 and V3).

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 83 of file nfs_Rmdir.c.

void nfs_Rmdir_Free ( nfs_res_t resp)

nfs_Rmdir_Free: Frees the result structure allocated for nfs_Rmdir.

Frees the result structure allocated for nfs_Rmdir.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 303 of file nfs_Rmdir.c.

int nfs_Setattr ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 SETATTR.

Implements the NFS PROC SETATTR function (for V2 and V3).

Parameters:
[in]pargNFS arguments union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerData for worker thread
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successfull
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 82 of file nfs_Setattr.c.

void nfs_Setattr_Free ( nfs_res_t resp)

nfs_Setattr_Free: Frees the result structure allocated for nfs_Setattr.

Frees the result structure allocated for nfs_Setattr.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 347 of file nfs_Setattr.c.

int nfs_Symlink ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 SYMLINK.

Implements the NFS PROC SYMLINK function (for V2 and V3).

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 85 of file nfs_Symlink.c.

void nfs_Symlink_Free ( nfs_res_t resp)

nfs_Symlink_Free: Frees the result structure allocated for nfs_Symlink.

Frees the result structure allocated for nfs_Symlink.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 413 of file nfs_Symlink.c.

int nfs_Write ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NFS PROC2 and PROC3 WRITE.

Implements the NFS PROC WRITE function (for V2 and V3).

Parameters:
[in]pargNFS argument union
[in]pexportNFS export list
[in]pcontextCredentials to be used for this request
[in]pworkerWorker thread data
[in]preqSVC request related to this call
[out]presStructure to contain the result of the call
Return values:
NFS_REQ_OKif successful
NFS_REQ_DROPif failed but retryable
NFS_REQ_FAILEDif failed and not retryable

Definition at line 85 of file nfs_Write.c.

void nfs_Write_Free ( nfs_res_t resp)

nfs_Write_Free: Frees the result structure allocated for nfs_Write.

Frees the result structure allocated for nfs_Write.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 536 of file nfs_Write.c.

int nfs_XattrD_Name ( char *  strname,
char *  objectname 
)

nfs_Is_XattrD_Name: returns true is the string given as input is the name of an xattr object.

Returns true is the string given as input is the name of an xattr object and returns the name of the object

Parameters:
strname[IN] the name that is to be tested
objectname[OUT] if strname is related to a xattr, contains the name of the related object
Returns:
TRUE if strname is a xattr, FALSE otherwise

Definition at line 103 of file nfs_xattr.c.

void nlm4_Cancel_Free ( nfs_res_t pres)

nlm4_Lock_Free: Frees the result structure allocated for nlm4_Lock

Frees the result structure allocated for nlm4_Lock. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 229 of file nlm_Cancel.c.

void nlm4_Free_All_Free ( nfs_res_t pres)

nlm4_Free_All_Free: Frees the result structure allocated for nlm4_Free_All

Frees the result structure allocated for nlm4_Free_All. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 105 of file nlm_Free_All.c.

void nlm4_Granted_Res_Free ( nfs_res_t pres)

nlm4_Granted_Res_Free: Frees the result structure allocated for nlm4_Granted_Res

Frees the result structure allocated for nlm4_Granted_Res. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 131 of file nlm_Granted_Res.c.

void nlm4_Lock_Free ( nfs_res_t pres)

nlm4_Lock_Free: Frees the result structure allocated for nlm4_Lock

Frees the result structure allocated for nlm4_Lock. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 259 of file nlm_Lock.c.

void nlm4_NM_Lock_Free ( nfs_res_t pres)
void nlm4_Share_Free ( nfs_res_t pres)

nlm4_Share_Free: Frees the result structure allocated for nlm4_Lock

Frees the result structure allocated for nlm4_Lock. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 152 of file nlm_Share.c.

void nlm4_Sm_Notify_Free ( nfs_res_t pres)

nlm4_Sm_Notify_Free: Frees the result structure allocated for nlm4_Sm_Notify

Frees the result structure allocated for nlm4_Sm_Notify. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 99 of file nlm_Sm_Notify.c.

void nlm4_Test_Free ( nfs_res_t pres)

nlm_Test_Free: Frees the result structure allocated for nlm4_Test

Frees the result structure allocated for nlm_Null. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 245 of file nlm_Test.c.

void nlm4_Unlock_Free ( nfs_res_t pres)

nlm4_Unlock_Free: Frees the result structure allocated for nlm4_Unlock

Frees the result structure allocated for nlm4_Lock. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 227 of file nlm_Unlock.c.

void nlm4_Unshare_Free ( nfs_res_t pres)

nlm4_Unshare_Free: Frees the result structure allocated for nlm4_Lock

Frees the result structure allocated for nlm4_Lock. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 153 of file nlm_Unshare.c.

void nlm_Null_Free ( nfs_res_t pres)

nlm_Null_Free: Frees the result structure allocated for nlm_Null

Frees the result structure allocated for nlm_Null. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 76 of file nlm_Null.c.

void rquota_getactivequota_Free ( nfs_res_t pres)

rquota_getactivequota_Free: Frees the result structure allocated for rquota_getactivequota

Frees the result structure allocated for rquota_getactivequota. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 87 of file rquota_getactivequota.c.

void rquota_getquota_Free ( nfs_res_t pres)

rquota_getquota_Free: Frees the result structure allocated for rquota_getquota

Frees the result structure allocated for rquota_getquota. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 157 of file rquota_getquota.c.

void rquota_Null_Free ( nfs_res_t pres)

rquota_Null_Free: Frees the result structure allocated for rquota_Null

Frees the result structure allocated for rquota_Null. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 85 of file rquota_Null.c.

void rquota_setactivequota_Free ( nfs_res_t pres)

rquota_setactivequota_Free: Frees the result structure allocated for rquota_setactivequota

Frees the result structure allocated for rquota_setactivequota. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 87 of file rquota_setactivequota.c.

void rquota_setquota_Free ( nfs_res_t pres)

rquota_setquota_Free: Frees the result structure allocated for rquota_setquota

Frees the result structure allocated for rquota_setquota. Does Nothing in fact.

Parameters:
pres[INOUT] Pointer to the result structure.

Definition at line 170 of file rquota_setquota.c.

int str2gid ( char *  str,
gid_t *  Gid 
)
int str2uid ( char *  str,
uid_t *  Uid 
)
int str2utf8 ( char *  str,
utf8string utf8str 
)

str2utf8: converts a string buffer into a UTF8 string descriptor.

Converts a string buffer into a UTF8 string descriptor.

Parameters:
str[IN] input string
utf8str[OUT] computed UTF8 string
Returns:
-1 if failed, 0 if successful.

Definition at line 2180 of file nfs_proto_tools.c.

int uid2name ( char *  name,
uid_t *  puid 
)

uid2name: convert a uid to a name.

convert a uid to a name.

Parameters:
name[OUT] the name of the user
uid[IN] the input uid

return 1 if successful, 0 otherwise

Definition at line 102 of file idmapper.c.

int uid2str ( uid_t  uid,
char *  str 
)

uid2ustr: convert a uid to a string.

Convert a gidonvert a uid to a string. to a string.

Parameters:
uid[IN] the input gid
str[OUT] computed string
Returns:
the length of the utf8 buffer if succesfull, -1 if failed

Definition at line 637 of file idmapper.c.

int uid2utf8 ( uid_t  uid,
utf8string utf8str 
)

uid2utf8: converts a uid to a utf8 string descriptor.

Converts a uid to a utf8 string descriptor.

Parameters:
uid[IN] the input uid
utf8str[OUT] computed UTF8 string descriptor
Returns:
the length of the utf8 buffer if succesfull, -1 if failed

Definition at line 705 of file idmapper.c.

int utf82gid ( utf8string utf8str,
gid_t *  Gid 
)

utf82gid: converts a utf8 string descriptorto a gid .

Converts a utf8 string descriptor to a gid .

Parameters:
utf8str[IN] group's name as UTF8 string.
Gid[OUT] pointer to the computed gid.
Returns:
0 in all cases

Definition at line 820 of file idmapper.c.

int utf82str ( char *  str,
int  size,
utf8string utf8str 
)

utf82str: converts a UTF8 string buffer into a string descriptor.

Converts a UTF8 string buffer into a string descriptor.

Parameters:
str[OUT] computed output string
utf8str[IN] input UTF8 string
Returns:
-1 if failed, 0 if successful.

Definition at line 2141 of file nfs_proto_tools.c.

int utf82uid ( utf8string utf8str,
uid_t *  Uid 
)

utf82uid: converts a utf8 string descriptor to a uid .

Converts a utf8 string descriptor to a uid.

Parameters:
utf8str[IN] group's name as UTF8 string.
Uid[OUT] pointer to the computed uid.
Returns:
0 if successful, -1 otherwise.

Definition at line 768 of file idmapper.c.

int utf8dup ( utf8string newstr,
utf8string oldstr 
)

utf8dup: Makes a copy of a utf8str.

Parameters:
newstr[OUT] copied UTF8 string
oldstr[IN] input UTF8 string
Returns:
-1 if failed, 0 if successful.

Definition at line 2109 of file nfs_proto_tools.c.


Variable Documentation

unsigned int fattr4_dent::access [inherited]

Definition at line 945 of file nfs_proto_functions.h.

Definition at line 86 of file nfs_proto_functions.h.

Definition at line 103 of file nfs_proto_functions.h.

Definition at line 104 of file nfs_proto_functions.h.

Definition at line 74 of file nfs_proto_functions.h.

Definition at line 90 of file nfs_proto_functions.h.

Definition at line 127 of file nfs_proto_functions.h.

Definition at line 126 of file nfs_proto_functions.h.

Definition at line 129 of file nfs_proto_functions.h.

Definition at line 128 of file nfs_proto_functions.h.

Definition at line 101 of file nfs_proto_functions.h.

Definition at line 100 of file nfs_proto_functions.h.

Definition at line 83 of file nfs_proto_functions.h.

Definition at line 77 of file nfs_proto_functions.h.

Definition at line 97 of file nfs_proto_functions.h.

Definition at line 70 of file nfs_proto_functions.h.

Definition at line 85 of file nfs_proto_functions.h.

Definition at line 79 of file nfs_proto_functions.h.

Definition at line 91 of file nfs_proto_functions.h.

Definition at line 93 of file nfs_proto_functions.h.

Definition at line 107 of file nfs_proto_functions.h.

Definition at line 112 of file nfs_proto_functions.h.

Definition at line 116 of file nfs_proto_functions.h.

Definition at line 111 of file nfs_proto_functions.h.

Definition at line 117 of file nfs_proto_functions.h.

Definition at line 113 of file nfs_proto_functions.h.

Definition at line 115 of file nfs_proto_functions.h.

Definition at line 110 of file nfs_proto_functions.h.

Definition at line 114 of file nfs_proto_functions.h.

Definition at line 102 of file nfs_proto_functions.h.

Definition at line 72 of file nfs_proto_functions.h.

Definition at line 88 of file nfs_proto_functions.h.

Definition at line 81 of file nfs_proto_functions.h.

Definition at line 98 of file nfs_proto_functions.h.

Definition at line 99 of file nfs_proto_functions.h.

Definition at line 71 of file nfs_proto_functions.h.

Definition at line 87 of file nfs_proto_functions.h.

Definition at line 75 of file nfs_proto_functions.h.

Definition at line 94 of file nfs_proto_functions.h.

Definition at line 76 of file nfs_proto_functions.h.

Definition at line 96 of file nfs_proto_functions.h.

Definition at line 80 of file nfs_proto_functions.h.

Definition at line 95 of file nfs_proto_functions.h.

Definition at line 121 of file nfs_proto_functions.h.

Definition at line 120 of file nfs_proto_functions.h.

Definition at line 123 of file nfs_proto_functions.h.

Definition at line 122 of file nfs_proto_functions.h.

Definition at line 69 of file nfs_proto_functions.h.

Definition at line 84 of file nfs_proto_functions.h.

Definition at line 82 of file nfs_proto_functions.h.

Definition at line 78 of file nfs_proto_functions.h.

Definition at line 92 of file nfs_proto_functions.h.

Definition at line 73 of file nfs_proto_functions.h.

Definition at line 89 of file nfs_proto_functions.h.

unsigned int nfs_function_desc__::dispatch_behaviour [inherited]

Definition at line 220 of file nfs_proto_functions.h.

Definition at line 216 of file nfs_proto_functions.h.

char* nfs_function_desc__::funcname [inherited]

Definition at line 219 of file nfs_proto_functions.h.

char nfs_res__::padding[1024] [inherited]

Definition at line 193 of file nfs_proto_functions.h.

Definition at line 150 of file nfs_proto_functions.h.

Definition at line 135 of file nfs_proto_functions.h.

Definition at line 167 of file nfs_proto_functions.h.

Definition at line 168 of file nfs_proto_functions.h.

Definition at line 169 of file nfs_proto_functions.h.

Definition at line 154 of file nfs_proto_functions.h.

Definition at line 141 of file nfs_proto_functions.h.

Definition at line 175 of file nfs_proto_functions.h.

Definition at line 189 of file nfs_proto_functions.h.

Definition at line 188 of file nfs_proto_functions.h.

Definition at line 191 of file nfs_proto_functions.h.

Definition at line 190 of file nfs_proto_functions.h.

Definition at line 165 of file nfs_proto_functions.h.

Definition at line 164 of file nfs_proto_functions.h.

Definition at line 147 of file nfs_proto_functions.h.

Definition at line 161 of file nfs_proto_functions.h.

Definition at line 149 of file nfs_proto_functions.h.

Definition at line 155 of file nfs_proto_functions.h.

Definition at line 157 of file nfs_proto_functions.h.

Definition at line 172 of file nfs_proto_functions.h.

Definition at line 174 of file nfs_proto_functions.h.

Definition at line 173 of file nfs_proto_functions.h.

Definition at line 179 of file nfs_proto_functions.h.

Definition at line 180 of file nfs_proto_functions.h.

Definition at line 178 of file nfs_proto_functions.h.

Definition at line 166 of file nfs_proto_functions.h.

Definition at line 143 of file nfs_proto_functions.h.

Definition at line 152 of file nfs_proto_functions.h.

Definition at line 145 of file nfs_proto_functions.h.

Definition at line 162 of file nfs_proto_functions.h.

Definition at line 163 of file nfs_proto_functions.h.

Definition at line 142 of file nfs_proto_functions.h.

Definition at line 151 of file nfs_proto_functions.h.

Definition at line 158 of file nfs_proto_functions.h.

Definition at line 160 of file nfs_proto_functions.h.

Definition at line 159 of file nfs_proto_functions.h.

Definition at line 184 of file nfs_proto_functions.h.

Definition at line 183 of file nfs_proto_functions.h.

Definition at line 186 of file nfs_proto_functions.h.

Definition at line 185 of file nfs_proto_functions.h.

Definition at line 148 of file nfs_proto_functions.h.

Definition at line 144 of file nfs_proto_functions.h.

Definition at line 146 of file nfs_proto_functions.h.

Definition at line 156 of file nfs_proto_functions.h.

Definition at line 153 of file nfs_proto_functions.h.

unsigned int fattr4_dent::size_fattr4 [inherited]

Definition at line 944 of file nfs_proto_functions.h.

unsigned int fattr4_dent::supported [inherited]

Definition at line 943 of file nfs_proto_functions.h.

unsigned int fattr4_dent::val [inherited]

Definition at line 942 of file nfs_proto_functions.h.

xdrproc_t nfs_function_desc__::xdr_decode_func [inherited]

Definition at line 217 of file nfs_proto_functions.h.

xdrproc_t nfs_function_desc__::xdr_encode_func [inherited]

Definition at line 218 of file nfs_proto_functions.h.