nfs-ganesha 1.4
|
Management of the file content cache: initialisation. More...
#include "LRU_List.h"
#include "log.h"
#include "HashData.h"
#include "HashTable.h"
#include "fsal.h"
#include "cache_inode.h"
#include "cache_content.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <time.h>
#include <pthread.h>
#include <errno.h>
#include <string.h>
Go to the source code of this file.
Functions | |
int | cache_content_init (cache_content_client_parameter_t param, cache_content_status_t *pstatus) |
int | cache_content_init_dir (cache_content_client_parameter_t param, unsigned short export_id) |
int | cache_content_client_init (cache_content_client_t *pclient, cache_content_client_parameter_t param, char *name) |
Management of the file content cache: initialisation.
cache_content.c : Management of the file content cache: initialisation.
cache_content.c : Management of the file content cache: initialisation.
Definition in file cache_content_init.c.
int cache_content_client_init | ( | cache_content_client_t * | pclient, |
cache_content_client_parameter_t | param, | ||
char * | name | ||
) |
cache_content_client_init: Init the ressource necessary for the cache content client.
Init the ressource necessary for the cache content client.
param | [IN] the parameter for this client |
pstatus | [OUT] pointer to buffer used to store the status for the operation. |
Definition at line 127 of file cache_content_init.c.
int cache_content_init | ( | cache_content_client_parameter_t | param, |
cache_content_status_t * | pstatus | ||
) |
cache_inode_init: Init the ressource necessary for the cache inode management.
Init the ressource necessary for the cache inode management.
param | [IN] the parameter for this cache. |
pstatus | [OUT] pointer to buffer used to store the status for the operation. |
Definition at line 72 of file cache_content_init.c.
int cache_content_init_dir | ( | cache_content_client_parameter_t | param, |
unsigned short | export_id | ||
) |
cache_content_init_dir: Init the directory for caching entries from a given export id.
param | [IN] the parameter for this cache. |
export_id | [IN] export id for the entries to be cached. |
Definition at line 100 of file cache_content_init.c.