nfs-ganesha 1.4
|
Glue functions between the FSAL and the Cache inode layers. More...
#include "log.h"
#include "err_fsal.h"
#include "err_cache_inode.h"
#include "nfs_core.h"
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
#include <sys/types.h>
Go to the source code of this file.
Functions | |
uint32_t | cache_inode_fsal_hash_func (hash_parameter_t *p_hparam, hash_buffer_t *buffclef) |
uint64_t | cache_inode_fsal_rbt_func (hash_parameter_t *p_hparam, hash_buffer_t *buffclef) |
unsigned long | __cache_inode_fsal_rbt_func (hash_parameter_t *p_hparam, hash_buffer_t *buffclef) |
int | cache_inode_fsal_rbt_both (hash_parameter_t *p_hparam, hash_buffer_t *buffclef, uint32_t *phashval, uint64_t *prbtval) |
int | display_key (hash_buffer_t *pbuff, char *str) |
int | display_not_implemented (hash_buffer_t *pbuff, char *str) |
int | display_value (hash_buffer_t *pbuff, char *str) |
Glue functions between the FSAL and the Cache inode layers.
cache_inode_fsal_glue.c : Glue functions between the FSAL and the Cache inode layers.
Definition in file cache_inode_fsal_hash.c.
unsigned long __cache_inode_fsal_rbt_func | ( | hash_parameter_t * | p_hparam, |
hash_buffer_t * | buffclef | ||
) |
Definition at line 122 of file cache_inode_fsal_hash.c.
uint32_t cache_inode_fsal_hash_func | ( | hash_parameter_t * | p_hparam, |
hash_buffer_t * | buffclef | ||
) |
cache_inode_fsal_hash_func: Compute the hash value for the cache_inode hash table.
Computes the hash value for the cache_inode hash table. This function is specific to use with HPSS/FSAL.
hparam | [IN] hash table parameter. |
buffclef | [IN] key to be used for computing the hash value. |
Definition at line 65 of file cache_inode_fsal_hash.c.
int cache_inode_fsal_rbt_both | ( | hash_parameter_t * | p_hparam, |
hash_buffer_t * | buffclef, | ||
uint32_t * | phashval, | ||
uint64_t * | prbtval | ||
) |
Definition at line 237 of file cache_inode_fsal_hash.c.
uint64_t cache_inode_fsal_rbt_func | ( | hash_parameter_t * | p_hparam, |
hash_buffer_t * | buffclef | ||
) |
cache_inode_fsal_rbt_func: Compute the rbt value for the cache_inode hash table.
Computes the rbt value for the cache_inode hash table. This function is specific to use with HPSS/FSAL.
hparam | [IN] hash table parameter. |
buffclef | [IN] key to be used for computing the hash value. |
Definition at line 99 of file cache_inode_fsal_hash.c.
int display_key | ( | hash_buffer_t * | pbuff, |
char * | str | ||
) |
Definition at line 249 of file cache_inode_fsal_hash.c.
int display_not_implemented | ( | hash_buffer_t * | pbuff, |
char * | str | ||
) |
Definition at line 259 of file cache_inode_fsal_hash.c.
int display_value | ( | hash_buffer_t * | pbuff, |
char * | str | ||
) |
Definition at line 266 of file cache_inode_fsal_hash.c.