Lines Matching defs:hash
32 * This file provides a hash implementation that is capable of dealing
34 * functions operating on the hash return an iterator. The iterator
59 struct util_hash *hash;
65 drm_private void util_hash_delete(struct util_hash *hash);
69 * Adds a data with the given key to the hash. If entry with the given
70 * key is already in the hash, this current entry is instered before it
72 * Function returns iterator pointing to the inserted item in the hash.
75 util_hash_insert(struct util_hash *hash, unsigned key, void *data);
78 * Removes the item pointed to by the current iterator from the hash.
82 * the hash.
85 util_hash_erase(struct util_hash *hash, struct util_hash_iter iter);
87 drm_private void *util_hash_take(struct util_hash *hash, unsigned key);
90 drm_private struct util_hash_iter util_hash_first_node(struct util_hash *hash);
96 util_hash_find(struct util_hash *hash, unsigned key);