nfs-ganesha 1.4
|
#include "config.h"
#include "fsal_types.h"
#include "fsal.h"
#include "mfsl_types.h"
#include "mfsl.h"
#include "common_utils.h"
Go to the source code of this file.
fsal_status_t MFSL_access | ( | mfsl_object_t * | object_handle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_accessflags_t | access_type, | ||
fsal_attrib_list_t * | object_attributes, | ||
void * | pextra | ||
) |
Definition at line 216 of file mfsl_timer.c.
fsal_status_t MFSL_close | ( | mfsl_file_t * | file_descriptor, |
mfsl_context_t * | p_mfsl_context, | ||
void * | pextra | ||
) |
Definition at line 529 of file mfsl_timer.c.
fsal_status_t MFSL_close_by_fileid | ( | mfsl_file_t * | file_descriptor, |
fsal_u64_t | fileid, | ||
mfsl_context_t * | p_mfsl_context, | ||
void * | pextra | ||
) |
Definition at line 561 of file mfsl_timer.c.
fsal_status_t MFSL_closedir | ( | fsal_dir_t * | dir_descriptor, |
mfsl_context_t * | p_mfsl_context, | ||
void * | pextra | ||
) |
Definition at line 406 of file mfsl_timer.c.
fsal_status_t MFSL_commit | ( | mfsl_file_t * | file_descriptor, |
fsal_off_t | offset, | ||
fsal_size_t | length, | ||
void * | pextra | ||
) |
Definition at line 545 of file mfsl_timer.c.
fsal_status_t MFSL_create | ( | mfsl_object_t * | parent_directory_handle, |
fsal_name_t * | p_filename, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_accessmode_t | accessmode, | ||
mfsl_object_t * | object_handle, | ||
fsal_attrib_list_t * | object_attributes, | ||
fsal_attrib_list_t * | parent_attributes, | ||
void * | pextra | ||
) |
Definition at line 235 of file mfsl_timer.c.
fsal_status_t MFSL_getattrs | ( | mfsl_object_t * | filehandle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_attrib_list_t * | object_attributes, | ||
void * | pextra | ||
) |
Definition at line 304 of file mfsl_timer.c.
fsal_status_t MFSL_GetContext | ( | mfsl_context_t * | pcontext, |
fsal_op_context_t * | pfsal_context | ||
) |
MFSL_GetContext: Creates a MFSL context for a thead.
Creates a MFSL context for a thread.
pcontext | [INOUT] pointer to MFSL context to be used |
pfsal_context | [INOUT] pointer to FSAL context to be used |
Definition at line 130 of file mfsl_timer.c.
fsal_status_t MFSL_Init | ( | mfsl_parameter_t * | init_info | ) |
FSAL_Init: Initializes Filesystem abstraction layer.
Definition at line 119 of file mfsl_timer.c.
fsal_status_t MFSL_link | ( | mfsl_object_t * | target_handle, |
mfsl_object_t * | dir_handle, | ||
fsal_name_t * | p_link_name, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_attrib_list_t * | attributes, | ||
void * | pextra | ||
) |
Definition at line 341 of file mfsl_timer.c.
fsal_status_t MFSL_load_parameter_from_conf | ( | config_file_t | in_config, |
mfsl_parameter_t * | out_parameter | ||
) |
MFSL_load_FSAL_parameter_from_conf,
Those functions initialize the FSAL init parameter structure from a configuration structure.
in_config | (input): Structure that represents the parsed configuration file. |
out_parameter | (ouput) FSAL initialization structure filled according to the configuration file given as parameter. |
Definition at line 104 of file mfsl_timer.c.
fsal_status_t MFSL_lookup | ( | mfsl_object_t * | parent_directory_handle, |
fsal_name_t * | p_filename, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
mfsl_object_t * | object_handle, | ||
fsal_attrib_list_t * | object_attributes, | ||
void * | pextra | ||
) |
Definition at line 158 of file mfsl_timer.c.
fsal_status_t MFSL_lookupJunction | ( | mfsl_object_t * | p_junction_handle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
mfsl_object_t * | p_fsoot_handle, | ||
fsal_attrib_list_t * | p_fsroot_attributes | ||
) |
Definition at line 197 of file mfsl_timer.c.
fsal_status_t MFSL_lookupPath | ( | fsal_path_t * | p_path, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
mfsl_object_t * | object_handle, | ||
fsal_attrib_list_t * | object_attributes | ||
) |
Definition at line 179 of file mfsl_timer.c.
fsal_status_t MFSL_mkdir | ( | mfsl_object_t * | parent_directory_handle, |
fsal_name_t * | p_dirname, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_accessmode_t | accessmode, | ||
mfsl_object_t * | object_handle, | ||
fsal_attrib_list_t * | object_attributes, | ||
fsal_attrib_list_t * | parent_attributes, | ||
void * | pextra | ||
) |
Definition at line 259 of file mfsl_timer.c.
fsal_status_t MFSL_mknode | ( | mfsl_object_t * | parentdir_handle, |
fsal_name_t * | p_node_name, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_accessmode_t | accessmode, | ||
fsal_nodetype_t | nodetype, | ||
fsal_dev_t * | dev, | ||
mfsl_object_t * | p_object_handle, | ||
fsal_attrib_list_t * | node_attributes, | ||
void * | pextra | ||
) |
Definition at line 667 of file mfsl_timer.c.
fsal_status_t MFSL_open | ( | mfsl_object_t * | filehandle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_openflags_t | openflags, | ||
mfsl_file_t * | file_descriptor, | ||
fsal_attrib_list_t * | file_attributes, | ||
void * | pextra | ||
) |
Definition at line 422 of file mfsl_timer.c.
fsal_status_t MFSL_open_by_fileid | ( | mfsl_object_t * | filehandle, |
fsal_u64_t | fileid, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_openflags_t | openflags, | ||
mfsl_file_t * | file_descriptor, | ||
fsal_attrib_list_t * | file_attributes, | ||
void * | pextra | ||
) |
Definition at line 465 of file mfsl_timer.c.
fsal_status_t MFSL_open_by_name | ( | mfsl_object_t * | dirhandle, |
fsal_name_t * | filename, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_openflags_t | openflags, | ||
mfsl_file_t * | file_descriptor, | ||
fsal_attrib_list_t * | file_attributes, | ||
void * | pextra | ||
) |
Definition at line 443 of file mfsl_timer.c.
fsal_status_t MFSL_opendir | ( | mfsl_object_t * | dir_handle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_dir_t * | dir_descriptor, | ||
fsal_attrib_list_t * | dir_attributes, | ||
void * | pextra | ||
) |
Definition at line 361 of file mfsl_timer.c.
fsal_status_t MFSL_rcp | ( | mfsl_object_t * | filehandle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_path_t * | p_local_path, | ||
fsal_rcpflag_t | transfer_opt, | ||
void * | pextra | ||
) |
Definition at line 694 of file mfsl_timer.c.
fsal_status_t MFSL_read | ( | mfsl_file_t * | file_descriptor, |
fsal_seek_t * | seek_descriptor, | ||
fsal_size_t | buffer_size, | ||
caddr_t | buffer, | ||
fsal_size_t * | read_amount, | ||
fsal_boolean_t * | end_of_file, | ||
mfsl_context_t * | p_mfsl_context, | ||
void * | pextra | ||
) |
Definition at line 487 of file mfsl_timer.c.
fsal_status_t MFSL_readdir | ( | fsal_dir_t * | dir_descriptor, |
fsal_cookie_t | start_position, | ||
fsal_attrib_mask_t | get_attr_mask, | ||
fsal_mdsize_t | buffersize, | ||
fsal_dirent_t * | pdirent, | ||
fsal_cookie_t * | end_position, | ||
fsal_count_t * | nb_entries, | ||
fsal_boolean_t * | end_of_dir, | ||
mfsl_context_t * | p_mfsl_context, | ||
void * | pextra | ||
) |
Definition at line 380 of file mfsl_timer.c.
fsal_status_t MFSL_readlink | ( | mfsl_object_t * | linkhandle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_path_t * | p_link_content, | ||
fsal_attrib_list_t * | link_attributes, | ||
void * | pextra | ||
) |
Definition at line 577 of file mfsl_timer.c.
fsal_status_t MFSL_RefreshContext | ( | mfsl_context_t * | pcontext, |
fsal_op_context_t * | pfsal_context | ||
) |
MFSL_RefreshContext: Refreshes a MFSL context for a thead.
Refreshes a MFSL context for a thread.
pcontext | [INOUT] pointer to MFSL context to be used |
pfsal_context | [INOUT] pointer to FSAL context to be used |
Definition at line 141 of file mfsl_timer.c.
fsal_status_t MFSL_rename | ( | mfsl_object_t * | old_parentdir_handle, |
fsal_name_t * | p_old_name, | ||
mfsl_object_t * | new_parentdir_handle, | ||
fsal_name_t * | p_new_name, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_attrib_list_t * | src_dir_attributes, | ||
fsal_attrib_list_t * | tgt_dir_attributes, | ||
void * | pextra | ||
) |
Definition at line 621 of file mfsl_timer.c.
fsal_status_t MFSL_setattrs | ( | mfsl_object_t * | filehandle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_attrib_list_t * | attrib_set, | ||
fsal_attrib_list_t * | object_attributes, | ||
void * | pextra | ||
) |
Definition at line 322 of file mfsl_timer.c.
fsal_status_t MFSL_SetDefault_parameter | ( | mfsl_parameter_t * | out_parameter | ) |
Those routines set the default parameters for FSAL init structure.
Definition at line 76 of file mfsl_timer.c.
fsal_status_t MFSL_symlink | ( | mfsl_object_t * | parent_directory_handle, |
fsal_name_t * | p_linkname, | ||
fsal_path_t * | p_linkcontent, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_accessmode_t | accessmode, | ||
mfsl_object_t * | link_handle, | ||
fsal_attrib_list_t * | link_attributes, | ||
void * | pextra | ||
) |
Definition at line 596 of file mfsl_timer.c.
fsal_status_t MFSL_terminate | ( | void | ) |
Definition at line 714 of file mfsl_timer.c.
fsal_status_t MFSL_truncate | ( | mfsl_object_t * | filehandle, |
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_size_t | length, | ||
mfsl_file_t * | file_descriptor, | ||
fsal_attrib_list_t * | object_attributes, | ||
void * | pextra | ||
) |
Definition at line 283 of file mfsl_timer.c.
fsal_status_t MFSL_unlink | ( | mfsl_object_t * | parentdir_handle, |
fsal_name_t * | p_object_name, | ||
mfsl_object_t * | object_handle, | ||
fsal_op_context_t * | p_context, | ||
mfsl_context_t * | p_mfsl_context, | ||
fsal_attrib_list_t * | parentdir_attributes, | ||
void * | pextra | ||
) |
Definition at line 646 of file mfsl_timer.c.
fsal_status_t MFSL_write | ( | mfsl_file_t * | file_descriptor, |
fsal_seek_t * | seek_descriptor, | ||
fsal_size_t | buffer_size, | ||
caddr_t | buffer, | ||
fsal_size_t * | write_amount, | ||
mfsl_context_t * | p_mfsl_context, | ||
void * | pextra | ||
) |
Definition at line 509 of file mfsl_timer.c.