Lines Matching full:table
39 * Hash table that consists of smaller hash tables.
52 * Hash table formed from several smaller ones.
53 * This results in a partitioned lruhash table, a 'slashtable'.
69 * Create new slabbed hash table.
73 * @param maxmem: maximum amount of memory this table is allowed to use.
74 * so every table gets maxmem/numtables to use for itself.
80 * @return: new hash table or NULL on malloc failure.
88 * Delete hash table. Entries are all deleted.
89 * @param table: to delete.
91 void slabhash_delete(struct slabhash* table);
94 * Clear hash table. Entries are all deleted.
95 * @param table: to make empty.
97 void slabhash_clear(struct slabhash* table);
103 * @param table: hash table.
112 void slabhash_insert(struct slabhash* table, hashvalue_type hash,
119 * @param table: hash table.
128 struct lruhash_entry* slabhash_lookup(struct slabhash* table,
134 * @param table: hash table.
138 void slabhash_remove(struct slabhash* table, hashvalue_type hash, void* key);
141 * Output debug info to the log as to state of the hash table.
142 * @param table: hash table.
143 * @param id: string printed with table to identify the hash table.
146 void slabhash_status(struct slabhash* table, const char* id, int extended);
150 * @param table: hash table.
153 size_t slabhash_get_size(struct slabhash* table);
157 * @param table: hash table
162 int slabhash_is_size(struct slabhash* table, size_t size, size_t slabs);
168 * @param table: hash table.
171 * @param diff_size: difference in size to the hash table storage.
173 void slabhash_update_space_used(struct slabhash* table, hashvalue_type hash,
178 * @param table: hash table.
181 size_t slabhash_get_mem(struct slabhash* table);
184 * Get lruhash table for a given hash value
185 * @param table: slabbed hash table.
187 * @return the lru hash table.
189 struct lruhash* slabhash_gettable(struct slabhash* table, hashvalue_type hash);
193 * @param table: slabbed hash table.
196 void slabhash_setmarkdel(struct slabhash* table, lruhash_markdelfunc_type md);
200 * @param table: slabbed hash table.
205 void slabhash_traverse(struct slabhash* table, int wr,
210 * @param table: slabbed hash table;
213 size_t count_slabhash_entries(struct slabhash* table);
217 * @param table: slabbed hash table.
221 void get_slabhash_stats(struct slabhash* table,