Lines Matching refs:hash
35 * @hash: A hash entry used for the duplicate detection hash table.
46 struct drm_hash_item hash;
55 * @hash: A hash entry used for the duplicate detection hash table.
74 struct drm_hash_item hash;
186 struct drm_hash_item *hash;
188 if (!drm_ht_find_item(ctx->ht, (unsigned long) vbo, &hash))
189 bo_node = container_of(hash, typeof(*bo_node), hash);
223 struct drm_hash_item *hash;
225 if (!drm_ht_find_item(ctx->ht, (unsigned long) res, &hash))
226 res_node = container_of(hash, typeof(*res_node), hash);
281 bo_node->hash.key = (unsigned long) vbo;
282 ret = drm_ht_insert_item(ctx->ht, &bo_node->hash);
336 node->hash.key = (unsigned long) res;
337 ret = drm_ht_insert_item(ctx->ht, &node->hash);
670 * vmw_validation_drop_ht - Reset the hash table used for duplicate finding
674 * The hash table used for duplicate finding is an expensive resource and
677 * there is no longer any use for this hash table, so allow freeing it
690 (void) drm_ht_remove_item(ctx->ht, &entry->hash);
693 (void) drm_ht_remove_item(ctx->ht, &val->hash);
696 (void) drm_ht_remove_item(ctx->ht, &val->hash);