Searched refs:util_hash (Results 1 – 4 of 4) sorted by relevance
/external/libdrm/amdgpu/ |
D | util_hash.h | 55 struct util_hash; 59 struct util_hash *hash; 64 drm_private struct util_hash *util_hash_create(void); 65 drm_private void util_hash_delete(struct util_hash *hash); 75 util_hash_insert(struct util_hash *hash, unsigned key, void *data); 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);
|
D | util_hash.c | 93 struct util_hash { struct 111 util_hash_create_node(struct util_hash *hash, in util_hash_create_node() argument 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() 241 drm_private struct util_hash *util_hash_create(void) in util_hash_create() 243 struct util_hash *hash = malloc(sizeof(struct util_hash)); in util_hash_create() 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() [all …]
|
D | Makefile.sources | 8 util_hash.c \ 9 util_hash.h \
|
D | util_hash_table.c | 53 struct util_hash *head;
|