Lines Matching refs:hash_sizes
57 } hash_sizes[] = { variable
126 ht->size = hash_sizes[ht->size_index].size; in _mesa_set_init()
127 ht->rehash = hash_sizes[ht->size_index].rehash; in _mesa_set_init()
128 ht->size_magic = hash_sizes[ht->size_index].size_magic; in _mesa_set_init()
129 ht->rehash_magic = hash_sizes[ht->size_index].rehash_magic; in _mesa_set_init()
130 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_set_init()
227 memset(ht->table, 0, sizeof(struct set_entry) * hash_sizes[ht->size_index].size); in set_clear_fast()
342 if (new_size_index >= ARRAY_SIZE(hash_sizes)) in set_rehash()
346 hash_sizes[new_size_index].size); in set_rehash()
354 ht->size = hash_sizes[ht->size_index].size; in set_rehash()
355 ht->rehash = hash_sizes[ht->size_index].rehash; in set_rehash()
356 ht->size_magic = hash_sizes[ht->size_index].size_magic; in set_rehash()
357 ht->rehash_magic = hash_sizes[ht->size_index].rehash_magic; in set_rehash()
358 ht->max_entries = hash_sizes[ht->size_index].max_entries; in set_rehash()
379 while (hash_sizes[size_index].max_entries < entries) in _mesa_set_resize()