Lines Matching defs:hash
100 static void *util_data_allocate_node(struct util_hash_data *hash) in util_data_allocate_node()
111 util_hash_create_node(struct util_hash *hash, in util_hash_create_node()
129 static void util_data_rehash(struct util_hash_data *hash, int hint) in util_data_rehash()
178 static void util_data_might_grow(struct util_hash_data *hash) in util_data_might_grow()
184 static void util_data_has_shrunk(struct util_hash_data *hash) in util_data_has_shrunk()
193 static struct util_node *util_data_first_node(struct util_hash_data *hash) in util_data_first_node()
206 static struct util_node **util_hash_find_node(struct util_hash *hash, unsigned akey) in util_hash_find_node()
222 util_hash_insert(struct util_hash *hash, unsigned key, void *data) in util_hash_insert()
243 struct util_hash *hash = malloc(sizeof(struct util_hash)); in util_hash_create() local
264 drm_private void util_hash_delete(struct util_hash *hash) in util_hash_delete()
283 util_hash_find(struct util_hash *hash, unsigned key) in util_hash_find()
348 drm_private void *util_hash_take(struct util_hash *hash, unsigned akey) in util_hash_take()
363 drm_private struct util_hash_iter util_hash_first_node(struct util_hash *hash) in util_hash_first_node()
370 util_hash_erase(struct util_hash *hash, struct util_hash_iter iter) in util_hash_erase()