nfs-ganesha 1.4
Public Attributes

linux_dirent Struct Reference

List of all members.

Public Attributes

long d_ino
long d_off
unsigned short d_reclen
char d_name []

Detailed Description

FSAL_readdir : Read the entries of an opened directory.

Parameters:
dir_descriptor(input): Pointer to the directory descriptor filled by FSAL_opendir.
start_position(input): Cookie that indicates the first object to be read during this readdir operation. This should be :

  • FSAL_READDIR_FROM_BEGINNING for reading the content of the directory from the beginning.
  • The end_position parameter returned by the previous call to FSAL_readdir.
get_attr_mask(input) Specify the set of attributes to be retrieved for directory entries.
buffersize(input) The size (in bytes) of the buffer where the direntries are to be stored.
pdirent(output) Adresse of the buffer where the direntries are to be stored.
end_position(output) Cookie that indicates the current position in the directory.
nb_entries(output) Pointer to the number of entries read during the call.
end_of_dir(output) Pointer to a boolean that indicates if the end of dir has been reached during the call.
Returns:
Major error codes :
  • ERR_FSAL_NO_ERROR (no error)
  • Another error code if an error occured.

Definition at line 143 of file FSAL_GPFS/fsal_dirs.c.


Member Data Documentation

Definition at line 145 of file FSAL_GPFS/fsal_dirs.c.

Definition at line 148 of file FSAL_GPFS/fsal_dirs.c.

Definition at line 146 of file FSAL_GPFS/fsal_dirs.c.

unsigned short linux_dirent::d_reclen

Definition at line 147 of file FSAL_GPFS/fsal_dirs.c.


The documentation for this struct was generated from the following files: