Lines Matching refs:entry
222 struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, hash, ivci);
224 if (!entry) {
227 entry = _mesa_hash_table_insert_pre_hashed(&res->surface_cache, hash, &surface->ivci, surface);
228 if (!entry) {
233 surface = entry->data;
235 surface = entry->data;
371 struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, surface->hash, &surface->ivci);
372 assert(entry);
373 _mesa_hash_table_remove(&res->surface_cache, entry);
383 entry = _mesa_hash_table_insert_pre_hashed(&res->surface_cache, surface->hash, &surface->ivci, surface);
384 assert(entry);