Lines Matching refs:set_entry

102 entry_is_free(struct set_entry *entry)  in entry_is_free()
108 entry_is_deleted(struct set_entry *entry) in entry_is_deleted()
114 entry_is_present(struct set_entry *entry) in entry_is_present()
139 ht->table = rzalloc_array(ht, struct set_entry, ht->size); in _mesa_set_create()
182 clone->table = ralloc_array(clone, struct set_entry, clone->size); in _mesa_set_clone()
188 memcpy(clone->table, set->table, clone->size * sizeof(struct set_entry)); in _mesa_set_clone()
200 _mesa_set_destroy(struct set *ht, void (*delete_function)(struct set_entry *entry)) in _mesa_set_destroy()
221 _mesa_set_clear(struct set *set, void (*delete_function)(struct set_entry *entry)) in _mesa_set_clear()
226 struct set_entry *entry; in _mesa_set_clear()
244 static struct set_entry *
255 struct set_entry *entry = ht->table + hash_address; in set_search()
273 struct set_entry *
280 struct set_entry *
298 struct set_entry *entry = ht->table + hash_address; in set_add_rehash()
315 struct set_entry *table; in set_rehash()
320 table = rzalloc_array(ht, struct set_entry, in set_rehash()
367 static struct set_entry *
370 struct set_entry *available_entry = NULL; in set_search_or_add()
386 struct set_entry *entry = ht->table + hash_address; in set_search_or_add()
433 static struct set_entry *
436 struct set_entry *entry = set_search_or_add(ht, hash, key, NULL); in set_add()
454 struct set_entry *
461 struct set_entry *
469 struct set_entry *
478 struct set_entry *
484 struct set_entry *entry = set_search_or_add(set, hash, key, replaced); in _mesa_set_search_and_add_pre_hashed()
496 struct set_entry *
503 struct set_entry *
519 _mesa_set_remove(struct set *ht, struct set_entry *entry) in _mesa_set_remove()
544 struct set_entry *
545 _mesa_set_next_entry(const struct set *ht, struct set_entry *entry) in _mesa_set_next_entry()
561 struct set_entry *
563 int (*predicate)(struct set_entry *entry)) in _mesa_set_random_entry()
565 struct set_entry *entry; in _mesa_set_random_entry()