Lines Matching defs:hash
96 static void *util_data_allocate_node(struct util_hash_data *hash) in util_data_allocate_node()
107 util_hash_create_node(struct util_hash *hash, in util_hash_create_node()
125 static void util_data_rehash(struct util_hash_data *hash, int hint) in util_data_rehash()
174 static void util_data_might_grow(struct util_hash_data *hash) in util_data_might_grow()
180 static void util_data_has_shrunk(struct util_hash_data *hash) in util_data_has_shrunk()
189 static struct util_node *util_data_first_node(struct util_hash_data *hash) in util_data_first_node()
202 static struct util_node **util_hash_find_node(struct util_hash *hash, unsigned akey) in util_hash_find_node()
218 util_hash_insert(struct util_hash *hash, unsigned key, void *data) in util_hash_insert()
239 struct util_hash *hash = malloc(sizeof(struct util_hash)); in util_hash_create() local
260 drm_private void util_hash_delete(struct util_hash *hash) in util_hash_delete()
279 util_hash_find(struct util_hash *hash, unsigned key) in util_hash_find()
344 drm_private void *util_hash_take(struct util_hash *hash, unsigned akey) in util_hash_take()
359 drm_private struct util_hash_iter util_hash_first_node(struct util_hash *hash) in util_hash_first_node()
366 util_hash_erase(struct util_hash *hash, struct util_hash_iter iter) in util_hash_erase()