Lines Matching refs:hash_entry

131 entry_is_free(const struct hash_entry *entry)
137 entry_is_deleted(const struct hash_table *ht, struct hash_entry *entry)
143 entry_is_present(const struct hash_table *ht, struct hash_entry *entry)
163 ht->table = rzalloc_array(mem_ctx, struct hash_entry, ht->size);
225 ht->table = ralloc_array(ht, struct hash_entry, ht->size);
231 memcpy(ht->table, src->table, ht->size * sizeof(struct hash_entry));
244 void (*delete_function)(struct hash_entry *entry))
260 memset(ht->table, 0, sizeof(struct hash_entry) * hash_sizes[ht->size_index].size);
272 void (*delete_function)(struct hash_entry *entry))
277 struct hash_entry *entry;
308 static struct hash_entry *
320 struct hash_entry *entry = ht->table + hash_address;
344 struct hash_entry *
351 struct hash_entry *
359 static struct hash_entry *
373 struct hash_entry *entry = ht->table + hash_address;
392 struct hash_entry *table;
403 table = rzalloc_array(ralloc_parent(ht->table), struct hash_entry,
429 static struct hash_entry *
433 struct hash_entry *available_entry = NULL;
449 struct hash_entry *entry = ht->table + hash_address;
505 struct hash_entry *
512 struct hash_entry *
528 struct hash_entry *entry)
552 struct hash_entry *
553 _mesa_hash_table_next_entry_unsafe(const struct hash_table *ht, struct hash_entry *entry)
574 struct hash_entry *
576 struct hash_entry *entry)
600 struct hash_entry *
602 bool (*predicate)(struct hash_entry *entry))
604 struct hash_entry *entry;
797 _mesa_hash_table_u64_delete_key(struct hash_entry *entry)
857 static struct hash_entry *
871 struct hash_entry *entry;
889 struct hash_entry *entry;