|
Motr
M0
|
#include <hash.h>

Data Fields | |
| const struct m0_tl_descr * | hd_tldescr |
| size_t | hd_key_offset |
| uint64_t(* | hd_hash_func )(const struct m0_htable *htable, const void *key) |
| bool(* | hd_key_eq )(const void *key1, const void *key2) |
Hash table descriptor. An instance of this type must be defined per hash table type. Multiple instances of m0_htable can share a single descriptor. It keeps track of tlist descriptor, offset to key field and hash function.
| bool(* hd_key_eq) (const void *key1, const void *key2) |
| const struct m0_tl_descr* hd_tldescr |
tlist descriptor used for m0_hbucket::hb_objects tlist.