Lines Matching refs:hashtab
2 * A hash table (hashtab) maintains associations between
21 struct hashtab {
25 u32 (*hash_value)(struct hashtab *h, const void *key);
27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2);
42 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
43 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
54 int hashtab_insert(struct hashtab *h, void *k, void *d);
62 void *hashtab_search(struct hashtab *h, const void *k);
67 void hashtab_destroy(struct hashtab *h);
80 int hashtab_map(struct hashtab *h,
85 void hashtab_stat(struct hashtab *h, struct hashtab_info *info);