|
nfs-ganesha 1.4
|
#include "fsal.h"#include "fsal_internal.h"#include "FSAL/access_check.h"#include "fsal_convert.h"#include <string.h>Go to the source code of this file.
Classes | |
| struct | linux_dirent |
Defines | |
| #define | BUF_SIZE 1024 |
Functions | |
| fsal_status_t | XFSFSAL_opendir (fsal_handle_t *p_dir_handle, fsal_op_context_t *p_context, fsal_dir_t *dir_desc, fsal_attrib_list_t *p_dir_attributes) |
| fsal_status_t | xfsfsal_stat_by_name (fsal_op_context_t *context, int atfd, const char *name, fsal_handle_t *handle, fsal_attrib_list_t *attributes) |
| fsal_status_t | XFSFSAL_readdir (fsal_dir_t *dir_descriptor, fsal_cookie_t startposition, fsal_attrib_mask_t get_attr_mask, fsal_mdsize_t buffersize, fsal_dirent_t *p_pdirent, fsal_cookie_t *end_position, fsal_count_t *p_nb_entries, fsal_boolean_t *p_end_of_dir) |
| fsal_status_t | XFSFSAL_closedir (fsal_dir_t *p_dir_descriptor) |
| #define BUF_SIZE 1024 |
Definition at line 215 of file FSAL_XFS/fsal_dirs.c.
| fsal_status_t XFSFSAL_closedir | ( | fsal_dir_t * | p_dir_descriptor | ) |
FSAL_closedir : Free the resources allocated for reading directory entries.
| dir_descriptor | (input): Pointer to a directory descriptor filled by FSAL_opendir. |
Definition at line 347 of file FSAL_XFS/fsal_dirs.c.
| fsal_status_t XFSFSAL_opendir | ( | fsal_handle_t * | p_dir_handle, |
| fsal_op_context_t * | p_context, | ||
| fsal_dir_t * | dir_desc, | ||
| fsal_attrib_list_t * | p_dir_attributes | ||
| ) |
FSAL_opendir : Opens a directory for reading its content.
| dir_handle | (input) the handle of the directory to be opened. |
| cred | (input) Permission context for the operation (user,...). |
| dir_descriptor | (output) pointer to an allocated structure that will receive directory stream informations, on successfull completion. |
| dir_attributes | (optional output) On successfull completion,the structure pointed by dir_attributes receives the new directory attributes. May be NULL. |
Definition at line 44 of file FSAL_XFS/fsal_dirs.c.
| fsal_status_t XFSFSAL_readdir | ( | fsal_dir_t * | dir_descriptor, |
| fsal_cookie_t | startposition, | ||
| fsal_attrib_mask_t | get_attr_mask, | ||
| fsal_mdsize_t | buffersize, | ||
| fsal_dirent_t * | p_pdirent, | ||
| fsal_cookie_t * | end_position, | ||
| fsal_count_t * | p_nb_entries, | ||
| fsal_boolean_t * | p_end_of_dir | ||
| ) |
Definition at line 217 of file FSAL_XFS/fsal_dirs.c.
| fsal_status_t xfsfsal_stat_by_name | ( | fsal_op_context_t * | context, |
| int | atfd, | ||
| const char * | name, | ||
| fsal_handle_t * | handle, | ||
| fsal_attrib_list_t * | attributes | ||
| ) |
Definition at line 120 of file FSAL_XFS/fsal_dirs.c.
1.7.3