nfs-ganesha 1.4
Classes | Defines | Typedefs

fsal_types.h File Reference

#include "config_parsing.h"
#include "err_fsal.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <ctype.h>
#include <asm/types.h>
#include <lustre/liblustreapi.h>
#include "fsal_glue_const.h"

Go to the source code of this file.

Classes

union  lustrefsal_handle_t
struct  lustrefsal_cred__
struct  lustrefsal_export_context_t
struct  lustrefsal_op_context_t
struct  lustrefs_specific_initinfo_t
union  lustrefsal_cookie_t
struct  lustrefsal_dir_t
struct  lustrefsal_file_t

Defines

#define LPX64   "%#llx"
#define LPX64i   "%llx"
#define DFID_NOBRACE   LPX64":0x%x:0x%x"
#define fsal_handle_t   lustrefsal_handle_t
#define fsal_op_context_t   lustrefsal_op_context_t
#define fsal_file_t   lustrefsal_file_t
#define fsal_dir_t   lustrefsal_dir_t
#define fsal_export_context_t   lustrefsal_export_context_t
#define fsal_lockdesc_t   lustrefsal_lockdesc_t
#define fsal_cookie_t   lustrefsal_cookie_t
#define fs_specific_initinfo_t   lustrefs_specific_initinfo_t
#define fsal_cred_t   lustrefsal_cred_t
#define CONF_LABEL_FS_SPECIFIC   "LUSTRE"
#define MAX_LUSTRE_FSNAME   128
#define FSAL_OP_CONTEXT_TO_UID(pcontext)   ( pcontext->credential.user )
#define FSAL_OP_CONTEXT_TO_GID(pcontext)   ( pcontext->credential.group )
#define FSAL_SET_PCOOKIE_BY_OFFSET(__pfsal_cookie, __cookie)
#define FSAL_SET_OFFSET_BY_PCOOKIE(__pfsal_cookie, __cookie)

Typedefs

typedef struct lustrefsal_cred__ lustrefsal_cred_t
typedef struct
lustrefsal_export_context_t 
lustrefsal_export_context_t

Define Documentation

#define CONF_LABEL_FS_SPECIFIC   "LUSTRE"

Definition at line 86 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define DFID_NOBRACE   LPX64":0x%x:0x%x"

Definition at line 66 of file FSAL/FSAL_LUSTRE/fsal_types.h.

Definition at line 79 of file FSAL/FSAL_LUSTRE/fsal_types.h.

Definition at line 78 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define fsal_cred_t   lustrefsal_cred_t

Definition at line 80 of file FSAL/FSAL_LUSTRE/fsal_types.h.

Definition at line 75 of file FSAL/FSAL_LUSTRE/fsal_types.h.

Definition at line 76 of file FSAL/FSAL_LUSTRE/fsal_types.h.

Definition at line 74 of file FSAL/FSAL_LUSTRE/fsal_types.h.

Definition at line 72 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define fsal_lockdesc_t   lustrefsal_lockdesc_t

Definition at line 77 of file FSAL/FSAL_LUSTRE/fsal_types.h.

Definition at line 73 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define FSAL_OP_CONTEXT_TO_GID (   pcontext)    ( pcontext->credential.group )

Definition at line 133 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define FSAL_OP_CONTEXT_TO_UID (   pcontext)    ( pcontext->credential.user )

Definition at line 132 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define FSAL_SET_OFFSET_BY_PCOOKIE (   __pfsal_cookie,
  __cookie 
)
Value:
do                                                                       \
{                                                                        \
   __cookie =  ((lustrefsal_cookie_t *)__pfsal_cookie)->data.cookie ;       \
} while( 0 )

Definition at line 156 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define FSAL_SET_PCOOKIE_BY_OFFSET (   __pfsal_cookie,
  __cookie 
)
Value:
do                                                                       \
{                                                                        \
   ((lustrefsal_cookie_t *)__pfsal_cookie)->data.cookie = (off_t)__cookie ; \
} while( 0 )

Definition at line 150 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define LPX64   "%#llx"

Definition at line 58 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define LPX64i   "%llx"

Definition at line 62 of file FSAL/FSAL_LUSTRE/fsal_types.h.

#define MAX_LUSTRE_FSNAME   128

Definition at line 113 of file FSAL/FSAL_LUSTRE/fsal_types.h.


Typedef Documentation

Authentification context.