• Home
  • Raw
  • Download

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()
225 ht->table = ralloc_array(ht, struct hash_entry, ht->size); in _mesa_hash_table_clone()
231 memcpy(ht->table, src->table, ht->size * sizeof(struct hash_entry)); in _mesa_hash_table_clone()
244 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_destroy()
260 memset(ht->table, 0, sizeof(struct hash_entry) * hash_sizes[ht->size_index].size); in hash_table_clear_fast()
272 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_clear()
277 struct hash_entry *entry; in _mesa_hash_table_clear()
308 static struct hash_entry *
320 struct hash_entry *entry = ht->table + hash_address; in hash_table_search()
344 struct hash_entry *
351 struct hash_entry *
359 static struct hash_entry *
373 struct hash_entry *entry = ht->table + hash_address; in hash_table_insert_rehash()
392 struct hash_entry *table; in _mesa_hash_table_rehash()
403 table = rzalloc_array(ralloc_parent(ht->table), struct hash_entry, in _mesa_hash_table_rehash()
429 static struct hash_entry *
433 struct hash_entry *available_entry = NULL; in hash_table_insert()
449 struct hash_entry *entry = ht->table + hash_address; in hash_table_insert()
505 struct hash_entry *
512 struct hash_entry *
528 struct hash_entry *entry) in _mesa_hash_table_remove()
552 struct hash_entry *
553 _mesa_hash_table_next_entry_unsafe(const struct hash_table *ht, struct hash_entry *entry) in _mesa_hash_table_next_entry_unsafe()
574 struct hash_entry *
576 struct hash_entry *entry) in _mesa_hash_table_next_entry()
600 struct hash_entry *
602 bool (*predicate)(struct hash_entry *entry)) in _mesa_hash_table_random_entry()
604 struct hash_entry *entry; in _mesa_hash_table_random_entry()
792 _mesa_hash_table_u64_delete_key(struct hash_entry *entry) in _mesa_hash_table_u64_delete_key()
852 static struct hash_entry *
866 struct hash_entry *entry; in _mesa_hash_table_u64_search()
884 struct hash_entry *entry; in _mesa_hash_table_u64_remove()