nfs-ganesha 1.4
Classes | Defines | Typedefs | Enumerations

Structures used by the hash table code

Classes

struct  hash_param
struct  hash_stat
struct  hash_partition
 Represents an individual partition. More...
struct  hash_table
struct  hash_latch

Defines

#define HT_FLAG_NONE   0x0000
#define HT_FLAG_CACHE   0x0001

Typedefs

typedef struct hash_param hash_parameter_t
typedef uint32_t(* index_function_t )(struct hash_param *, struct hash_buff *)
typedef uint64_t(* rbthash_function_t )(struct hash_param *, struct hash_buff *)
typedef int(* both_function_t )(struct hash_param *, struct hash_buff *, uint32_t *, uint64_t *)
typedef int(* hash_buff_comparator_t )(struct hash_buff *, struct hash_buff *)
typedef int(* key_display_function_t )(struct hash_buff *, char *)
typedef int(* val_display_function_t )(struct hash_buff *, char *)
typedef struct hash_stat hash_stat_t
typedef struct hash_table hash_table_t
typedef enum hash_set_how hash_set_how_t

Enumerations

enum  hash_set_how { HASHTABLE_SET_HOW_TEST_ONLY = 1, HASHTABLE_SET_HOW_SET_OVERWRITE = 2, HASHTABLE_SET_HOW_SET_NO_OVERWRITE = 3 }

Define Documentation

#define HT_FLAG_CACHE   0x0001

Definition at line 85 of file HashTable.h.

#define HT_FLAG_NONE   0x0000

This structure defines parameters determining the behaviour of a given hash table.

Definition at line 84 of file HashTable.h.


Typedef Documentation

typedef int(* both_function_t)(struct hash_param *, struct hash_buff *, uint32_t *, uint64_t *)

Definition at line 67 of file HashTable.h.

typedef int(* hash_buff_comparator_t)(struct hash_buff *, struct hash_buff *)

Definition at line 71 of file HashTable.h.

typedef struct hash_param hash_parameter_t

Definition at line 61 of file HashTable.h.

typedef struct hash_stat hash_stat_t
typedef struct hash_table hash_table_t
typedef uint32_t(* index_function_t)(struct hash_param *, struct hash_buff *)

Definition at line 63 of file HashTable.h.

typedef int(* key_display_function_t)(struct hash_buff *, char *)

Definition at line 73 of file HashTable.h.

typedef uint64_t(* rbthash_function_t)(struct hash_param *, struct hash_buff *)

Definition at line 65 of file HashTable.h.

typedef int(* val_display_function_t)(struct hash_buff *, char *)

Definition at line 75 of file HashTable.h.


Enumeration Type Documentation

Enumerator:
HASHTABLE_SET_HOW_TEST_ONLY 
HASHTABLE_SET_HOW_SET_OVERWRITE 
HASHTABLE_SET_HOW_SET_NO_OVERWRITE 

Definition at line 167 of file HashTable.h.