Lines Matching defs:hash
41 * @hash: A hash entry used for the duplicate detection hash table.
50 struct vmwgfx_hash_item hash;
56 * @hash: A hash entry used for the duplicate detection hash table.
77 struct vmwgfx_hash_item hash;
183 struct vmwgfx_hash_item *hash;
186 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) {
187 if (hash->key == key) {
188 bo_node = container_of(hash, typeof(*bo_node), hash);
225 struct vmwgfx_hash_item *hash;
228 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) {
229 if (hash->key == key) {
230 res_node = container_of(hash, typeof(*res_node), hash);
277 bo_node->hash.key = (unsigned long) vbo;
278 hash_add_rcu(ctx->sw_context->res_ht, &bo_node->hash.head,
279 bo_node->hash.key);
325 node->hash.key = (unsigned long) res;
326 hash_add_rcu(ctx->sw_context->res_ht, &node->hash.head, node->hash.key);
631 * vmw_validation_drop_ht - Reset the hash table used for duplicate finding
635 * The hash table used for duplicate finding is an expensive resource and
638 * there is no longer any use for this hash table, so allow freeing it
651 hash_del_rcu(&entry->hash.head);
654 hash_del_rcu(&val->hash.head);
657 hash_del_rcu(&entry->hash.head);