| nfs-ganesha 1.4 | 
Management of the file content cache: adding a new entry. 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 <fcntl.h>#include <string.h>Go to the source code of this file.
| Functions | |
| cache_content_entry_t * | cache_content_new_entry (cache_entry_t *pentry_inode, cache_content_spec_data_t *pspecdata, cache_content_client_t *pclient, cache_content_add_behaviour_t how, fsal_op_context_t *pcontext, cache_content_status_t *pstatus) | 
Management of the file content cache: adding a new entry.
cache_content_add_entry.c : Management of the file content cache: adding a new entry.
Definition in file cache_content_add_entry.c.
| cache_content_entry_t* cache_content_new_entry | ( | cache_entry_t * | pentry_inode, | 
| cache_content_spec_data_t * | pspecdata, | ||
| cache_content_client_t * | pclient, | ||
| cache_content_add_behaviour_t | how, | ||
| fsal_op_context_t * | pcontext, | ||
| cache_content_status_t * | pstatus | ||
| ) | 
cache_content_new_entry: adds an entry to the file content cache.
Adds an entry to the file content cache. This routine should be called only from the cache_inode layer.
No lock management is done in this layer: the related pentry in the cache inode layer is locked and will prevent from concurent accesses.
| pentry_inode | [IN] entry in cache_inode layer for this file. | 
| pspecdata | [IN] pointer to the entry's specific data | 
| pclient | [IN] ressource allocated by the client for the nfs management. [OUT] returned status. | 
Definition at line 80 of file cache_content_add_entry.c.
 1.7.3
 1.7.3