| nfs-ganesha 1.4 | 
#include <rpc/rpc.h>#include <rpc/clnt.h>#include <rpc/xdr.h>#include <rpc/auth.h>#include <arpa/inet.h>#include "nfs4.h"#include "nfs_proto_functions.h"#include "fsal_nfsv4_macros.h"#include "fsal_internal.h"#include "fsal_convert.h"#include "fsal_common.h"#include "SemN.h"#include <pthread.h>#include <string.h>#include "abstract_mem.h"Go to the source code of this file.
| #define FSAL_INTERNAL_C | 
Definition at line 17 of file fsal_proxy_internal.c.
| #define FSAL_PROXY_OPEN_CONFIRM_IDX_OP_OPEN_CONFIRM 1 | 
| #define FSAL_PROXY_OPEN_CONFIRM_IDX_OP_PUTFH 0 | 
| #define FSAL_PROXY_OPEN_CONFIRM_NB_OP_ALLOC 2 | 
| int fsal_internal_ClientReconnect | ( | proxyfsal_op_context_t * | p_thr_context | ) | 
fsal_internal_ClientReconnect: Redo a previously lost connection to the server.
Redo a previously lost connection to the server.
| p_thr_context | [INOUT] pointer to the FSAL thread context. | 
Definition at line 922 of file fsal_proxy_internal.c.
| void fsal_internal_proxy_create_fattr_bitmap | ( | bitmap4 * | pbitmap | ) | 
fsal_internal_proxy_create_fattr_bitmap : Create the fattr4 bitmap related to the attributes managed by this implementation of the proxy
| none | 
Definition at line 87 of file fsal_proxy_internal.c.
| void fsal_internal_proxy_create_fattr_fsinfo_bitmap | ( | bitmap4 * | pbitmap | ) | 
Definition at line 147 of file fsal_proxy_internal.c.
| void fsal_internal_proxy_create_fattr_readdir_bitmap | ( | bitmap4 * | pbitmap | ) | 
Definition at line 117 of file fsal_proxy_internal.c.
| int fsal_internal_proxy_create_fh | ( | nfs_fh4 * | pnfs4_handle, | 
| fsal_nodetype_t | type, | ||
| fsal_u64_t | fileid, | ||
| fsal_handle_t * | fsal_handle | ||
| ) | 
fsal_internal_proxy_create_fh :
| pnfs4_handle | [IN] the NFSv4 Handle | 
| type | [IN] the type of object for this entry | 
| fileid | [IN] the file id for this entry | 
| pfsal_handle | [OUT] the resulting FSAL Handle | 
Definition at line 389 of file fsal_proxy_internal.c.
| fsal_status_t fsal_internal_proxy_error_convert | ( | nfsstat4 | nfsstatus, | 
| int | indexfunc | ||
| ) | 
fsal_internal_proxy_error_convert : Build a fsal_status in a correct way based on a NFS status
| nfsstatus | [IN] the nfs status to be converted | 
| indexfunc | [IN] the index of the FSAL function was does the call | 
Definition at line 194 of file fsal_proxy_internal.c.
| int fsal_internal_proxy_extract_fh | ( | nfs_fh4 * | pnfs4_handle, | 
| fsal_handle_t * | fsal_handle | ||
| ) | 
fsal_internal_proxy_extract_fh : Do the FSAL -> NFSv4 FH conversion
| pnfs4_handle | [OUT] the NFSv4 Handle | 
| pfsal_handle | [IN] the resulting FSAL Handle | 
Definition at line 449 of file fsal_proxy_internal.c.
| int fsal_internal_proxy_fsal_name_2_utf8 | ( | fsal_name_t * | pname, | 
| utf8string * | utf8str | ||
| ) | 
fsal_internal_proxy_fsal_name_2_utf8 : Do the FSAL -> NFSv4 UTF8 str conversion
| pname | [IN] the fsal name | 
| utf8str | [OUT] the resulting UTF8 str | 
Definition at line 482 of file fsal_proxy_internal.c.
| int fsal_internal_proxy_fsal_path_2_utf8 | ( | fsal_path_t * | ppath, | 
| utf8string * | utf8str | ||
| ) | 
fsal_internal_proxy_fsal_path_2_utf8 : Do the FSAL -> NFSv4 UTF8 str conversion
| ppath | [IN] the fsal path | 
| utf8str | [OUT] the resulting UTF8 str | 
Definition at line 519 of file fsal_proxy_internal.c.
| int fsal_internal_proxy_fsal_utf8_2_name | ( | fsal_name_t * | pname, | 
| utf8string * | utf8str | ||
| ) | 
fsal_internal_proxy_fsal_utf8_2_name : Do the NFSv4 UTF8 -> FSAL str conversion
| pname | [IN] the fsal name | 
| utf8str | [OUT] the resulting UTF8 str | 
Definition at line 587 of file fsal_proxy_internal.c.
| int fsal_internal_proxy_fsal_utf8_2_path | ( | fsal_path_t * | ppath, | 
| utf8string * | utf8str | ||
| ) | 
fsal_internal_proxy_fsal_utf8_2_path : Do the NFSv4 UTF8 -> FSAL str conversion
| ppath | [IN] the fsal path | 
| utf8str | [OUT] the resulting UTF8 str | 
Definition at line 557 of file fsal_proxy_internal.c.
| void fsal_internal_proxy_setup_fattr | ( | fsal_proxy_internal_fattr_t * | pfattr | ) | 
Definition at line 176 of file fsal_proxy_internal.c.
| void fsal_internal_proxy_setup_readdir_fattr | ( | fsal_proxy_internal_fattr_readdir_t * | pfattr | ) | 
Definition at line 168 of file fsal_proxy_internal.c.
| fsal_status_t fsal_internal_set_auth_gss | ( | proxyfsal_op_context_t * | p_thr_context | ) | 
Definition at line 758 of file fsal_proxy_internal.c.
| void fsal_interval_proxy_fsalattr2bitmap4 | ( | fsal_attrib_list_t * | pfsalattr, | 
| bitmap4 * | pbitmap | ||
| ) | 
Definition at line 53 of file fsal_proxy_internal.c.
| void* FSAL_proxy_change_user | ( | proxyfsal_op_context_t * | p_thr_context | ) | 
Definition at line 1065 of file fsal_proxy_internal.c.
| fsal_status_t fsal_proxy_create_rpc_clnt | ( | proxyfsal_op_context_t * | ctx | ) | 
Definition at line 794 of file fsal_proxy_internal.c.
| fsal_status_t FSAL_proxy_open_confirm | ( | proxyfsal_file_t * | pfd | ) | 
FSAL_proxy_open_confirm: Confirms a previously made OP_OPEN if this is required by the server
| pfd | [INOUT] : Open file descriptor for the file whose open is to be confirmed | 
Definition at line 966 of file fsal_proxy_internal.c.
| int proxy_Fattr_To_FSAL_attr | ( | fsal_attrib_list_t * | pFSAL_attr, | 
| proxyfsal_handle_t * | phandle, | ||
| fattr4 * | Fattr | ||
| ) | 
proxy_Fattr_To_FSAL_attr: Converts NFSv4 attributes buffer to a FSAL attributes structure.
Converts NFSv4 attributes buffer to a FSAL attributes structure.
| pFSAL_attr | [OUT] pointer to FSAL attributes. | 
| Fattr | [IN] pointer to NFSv4 attributes. | 
Definition at line 746 of file fsal_proxy_internal.c.
| int proxy_Fattr_To_FSAL_dynamic_fsinfo | ( | fsal_dynamicfsinfo_t * | pdynamicinfo, | 
| fattr4 * | Fattr | ||
| ) | 
proxy_Fattr_To_FSAL_dynamic_fsinfo: Converts NFSv4 attributes buffer to a FSAL dynamic fsinfo structure.
Converts NFSv4 attributes buffer to a FSAL dynamic fsinfo structure.
| pdynamicinfo | [OUT] pointer to FSAL attributes. | 
| Fattr | [IN] pointer to NFSv4 attributes. | 
Definition at line 617 of file fsal_proxy_internal.c.
Definition at line 52 of file FSAL_CEPH/fsal_internal.c.
Definition at line 44 of file FSAL_PROXY/fsal_init.c.
| time_t ServerBootTime | 
Definition at line 53 of file Convert_FSAL_Handle.c.
 1.7.3
 1.7.3