nfs-ganesha 1.4
|
#include "fsal.h"
#include "fsal_internal.h"
#include "FSAL/access_check.h"
#include "fsal_convert.h"
#include <sys/types.h>
#include <unistd.h>
#include <utime.h>
#include <sys/time.h>
Go to the source code of this file.
Functions | |
fsal_status_t | posixstat64_2_fsal_attributes (struct stat64 *p_buffstat, fsal_attrib_list_t *p_fsalattr_out) |
fsal_status_t | VFSFSAL_getattrs (fsal_handle_t *p_filehandle, fsal_op_context_t *p_context, fsal_attrib_list_t *p_object_attributes) |
fsal_status_t | VFSFSAL_getattrs_descriptor (fsal_file_t *p_file_descriptor, fsal_handle_t *p_filehandle, fsal_op_context_t *p_context, fsal_attrib_list_t *p_object_attributes) |
fsal_status_t | VFSFSAL_setattrs (fsal_handle_t *p_filehandle, fsal_op_context_t *p_context, fsal_attrib_list_t *p_attrib_set, fsal_attrib_list_t *p_object_attributes) |
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.
fsal_status_t VFSFSAL_getattrs | ( | fsal_handle_t * | p_filehandle, |
fsal_op_context_t * | p_context, | ||
fsal_attrib_list_t * | p_object_attributes | ||
) |
VFSFSAL_getattrs: Get attributes for the object specified by its filehandle.
filehandle | (input): The handle of the object to get parameters. |
cred | (input): Authentication context for the operation (user,...). |
object_attributes | (mandatory input/output): The retrieved attributes for the object. As input, it defines the attributes that the caller wants to retrieve (by positioning flags into this structure) and the output is built considering this input (it fills the structure according to the flags it contains). |
Definition at line 67 of file FSAL_VFS/fsal_attrs.c.
fsal_status_t VFSFSAL_getattrs_descriptor | ( | fsal_file_t * | p_file_descriptor, |
fsal_handle_t * | p_filehandle, | ||
fsal_op_context_t * | p_context, | ||
fsal_attrib_list_t * | p_object_attributes | ||
) |
VFSFSAL_getattrs_descriptor: Get attributes for the object specified by its descriptor or by it's filehandle.
p_file_descriptor | (input): The file descriptor of the object to get parameters. |
p_filehandle | (input): The handle of the object to get parameters. |
p_context | (input): Authentication context for the operation (user,...). |
p_object_attributes | (mandatory input/output): The retrieved attributes for the object. As input, it defines the attributes that the caller wants to retrieve (by positioning flags into this structure) and the output is built considering this input (it fills the structure according to the flags it contains). |
Definition at line 127 of file FSAL_VFS/fsal_attrs.c.
fsal_status_t VFSFSAL_setattrs | ( | fsal_handle_t * | p_filehandle, |
fsal_op_context_t * | p_context, | ||
fsal_attrib_list_t * | p_attrib_set, | ||
fsal_attrib_list_t * | p_object_attributes | ||
) |
VFSFSAL_setattrs: Set attributes for the object specified by its filehandle.
filehandle | (input): The handle of the object to get parameters. |
cred | (input): Authentication context for the operation (user,...). |
attrib_set | (mandatory input): The attributes to be set for the object. It defines the attributes that the caller wants to set and their values. |
object_attributes | (optionnal input/output): The post operation attributes for the object. As input, it defines the attributes that the caller wants to retrieve (by positioning flags into this structure) and the output is built considering this input (it fills the structure according to the flags it contains). May be NULL. |
Definition at line 188 of file FSAL_VFS/fsal_attrs.c.