Lines Matching refs:hash_entry
131 entry_is_free(const struct hash_entry *entry) in entry_is_free()
137 entry_is_deleted(const struct hash_table *ht, struct hash_entry *entry) in entry_is_deleted()
143 entry_is_present(const struct hash_table *ht, struct hash_entry *entry) in entry_is_present()
163 ht->table = rzalloc_array(mem_ctx, struct hash_entry, ht->size); in _mesa_hash_table_init()
205 ht->table = ralloc_array(ht, struct hash_entry, ht->size); in _mesa_hash_table_clone()
211 memcpy(ht->table, src->table, ht->size * sizeof(struct hash_entry)); in _mesa_hash_table_clone()
224 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_destroy()
245 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_clear()
247 struct hash_entry *entry; in _mesa_hash_table_clear()
279 static struct hash_entry *
291 struct hash_entry *entry = ht->table + hash_address; in hash_table_search()
315 struct hash_entry *
322 struct hash_entry *
330 static struct hash_entry *
344 struct hash_entry *entry = ht->table + hash_address; in hash_table_insert_rehash()
363 struct hash_entry *table; in _mesa_hash_table_rehash()
368 table = rzalloc_array(ralloc_parent(ht->table), struct hash_entry, in _mesa_hash_table_rehash()
394 static struct hash_entry *
398 struct hash_entry *available_entry = NULL; in hash_table_insert()
414 struct hash_entry *entry = ht->table + hash_address; in hash_table_insert()
470 struct hash_entry *
477 struct hash_entry *
493 struct hash_entry *entry) in _mesa_hash_table_remove()
518 struct hash_entry *
520 struct hash_entry *entry) in _mesa_hash_table_next_entry()
544 struct hash_entry *
546 bool (*predicate)(struct hash_entry *entry)) in _mesa_hash_table_random_entry()
548 struct hash_entry *entry; in _mesa_hash_table_random_entry()
731 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_u64_clear()
739 struct hash_entry entry; in _mesa_hash_table_u64_clear()
759 struct hash_entry entry; in _mesa_hash_table_u64_clear()
781 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_u64_destroy()
818 static struct hash_entry *
832 struct hash_entry *entry; in _mesa_hash_table_u64_search()
850 struct hash_entry *entry; in _mesa_hash_table_u64_remove()