|
nfs-ganesha 1.4
|
#include "fsal_convert.h"#include "fsal_internal.h"#include <sys/types.h>#include <sys/stat.h>#include <errno.h>#include <string.h>#include <fcntl.h>Go to the source code of this file.
Defines | |
| #define | MAX_2(x, y) ( (x) > (y) ? (x) : (y) ) |
| #define | MAX_3(x, y, z) ( (x) > (y) ? MAX_2((x),(z)) : MAX_2((y),(z)) ) |
Functions | |
| int | posix2fsal_error (int posix_errorcode) |
| fsal_status_t | posix2fsal_attributes (struct stat *p_buffstat, fsal_attrib_list_t *p_fsalattr_out) |
| fsal_status_t | posixstat64_2_fsal_attributes (struct stat64 *p_buffstat, fsal_attrib_list_t *p_fsalattr_out) |
| int | fsal2posix_openflags (fsal_openflags_t fsal_flags, int *p_posix_flags) |
Definition at line 26 of file FSAL_VFS/fsal_convert.c.
Definition at line 27 of file FSAL_VFS/fsal_convert.c.
| int fsal2posix_openflags | ( | fsal_openflags_t | fsal_flags, |
| int * | p_posix_flags | ||
| ) |
converts an fsal open flag to an vfs open flag.
fsal2posix_openflags: Convert FSAL open flags to Posix open flags.
| fsal_flags | (input): The FSAL open flags to be translated. |
| posix_flags | (output): Pointer to the POSIX open flags. |
fsal2posix_openflags: Convert FSAL open flags to Posix open flags.
| fsal_flags | (input): The FSAL open flags to be translated. |
| p_hpss_flags | (output): Pointer to the POSIX open flags. |
Definition at line 406 of file FSAL_VFS/fsal_convert.c.
| fsal_status_t posix2fsal_attributes | ( | struct stat * | p_buffstat, |
| fsal_attrib_list_t * | p_fsalattr_out | ||
| ) |
Converts POSIX attributes (struct stat) to FSAL attributes (fsal_attrib_list_t)
Definition at line 177 of file FSAL_VFS/fsal_convert.c.
| int posix2fsal_error | ( | int | posix_errorcode | ) |
posix2fsal_error : Convert POSIX error codes to FSAL error codes.
| posix_errorcode | (input): The error code returned from POSIX. |
Definition at line 40 of file FSAL_VFS/fsal_convert.c.
| fsal_status_t posixstat64_2_fsal_attributes | ( | struct stat64 * | p_buffstat, |
| fsal_attrib_list_t * | p_fsalattr_out | ||
| ) |
Definition at line 290 of file FSAL_VFS/fsal_convert.c.
1.7.3