nfs-ganesha 1.4
Classes | Defines

fsal_types.h File Reference

#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
#include <stdio.h>
#include <limits.h>
#include <unistd.h>
#include <sys/param.h>
#include "config_parsing.h"
#include "err_fsal.h"
#include "fsal_glue_const.h"
#include "posixdb.h"

Go to the source code of this file.

Classes

struct  fsal_posixdb_fileinfo_t
union  posixfsal_handle_t
struct  posixfsal_export_context_t
struct  posixfsal_op_context_t
struct  posixfs_specific_initinfo_t
union  posixfsal_cookie_t
struct  posixfsal_dir_t
struct  posixfsal_file_t

Defines

#define CONF_LABEL_FS_SPECIFIC   "POSIX"
#define fsal_handle_t   posixfsal_handle_t
#define fsal_op_context_t   posixfsal_op_context_t
#define fsal_file_t   posixfsal_file_t
#define fsal_dir_t   posixfsal_dir_t
#define fsal_export_context_t   posixfsal_export_context_t
#define fsal_lockdesc_t   posixfsal_lockdesc_t
#define fsal_cookie_t   posixfsal_cookie_t
#define fs_specific_initinfo_t   posixfs_specific_initinfo_t
#define fsal_cred_t   posixfsal_cred_t
#define FSAL_EXPORT_CONTEXT_SPECIFIC(pexport_context)   (uint64_t)(*pexport_context)
#define FSAL_OP_CONTEXT_TO_UID(pcontext)   ( pcontext->credential.user )
#define FSAL_OP_CONTEXT_TO_GID(pcontext)   ( pcontext->credential.group )

Define Documentation

#define CONF_LABEL_FS_SPECIFIC   "POSIX"

Definition at line 65 of file FSAL/FSAL_POSIX/fsal_types.h.

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

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

#define fsal_cred_t   posixfsal_cred_t

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

Definition at line 70 of file FSAL/FSAL_POSIX/fsal_types.h.

#define FSAL_EXPORT_CONTEXT_SPECIFIC (   pexport_context)    (uint64_t)(*pexport_context)

Definition at line 123 of file FSAL/FSAL_POSIX/fsal_types.h.

Definition at line 71 of file FSAL/FSAL_POSIX/fsal_types.h.

Definition at line 69 of file FSAL/FSAL_POSIX/fsal_types.h.

Definition at line 67 of file FSAL/FSAL_POSIX/fsal_types.h.

#define fsal_lockdesc_t   posixfsal_lockdesc_t

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

Definition at line 68 of file FSAL/FSAL_POSIX/fsal_types.h.

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

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

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

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