Lines Matching refs:hash
39 * @hash: Hash entry for the manager hash table.
47 struct vmwgfx_hash_item hash;
86 struct vmwgfx_hash_item *hash;
89 hash_for_each_possible_rcu(man->resources, hash, head, key) {
90 if (hash->key == key)
91 return hlist_entry(hash, struct vmw_cmdbuf_res, hash)->res;
109 hash_del_rcu(&entry->hash.head);
170 hash_add_rcu(entry->man->resources, &entry->hash.head,
171 entry->hash.key);
192 * resource to the hash table of the manager identified by @man. The
207 cres->hash.key = user_key | (res_type << 24);
208 hash_add_rcu(man->resources, &cres->hash.head, cres->hash.key);
230 * hash table and, if it exists, removes it. Depending on its current staging
241 struct vmwgfx_hash_item *hash;
244 hash_for_each_possible_rcu(man->resources, hash, head, key) {
245 if (hash->key == key) {
246 entry = hlist_entry(hash, struct vmw_cmdbuf_res, hash);
259 hash_del_rcu(&entry->hash.head);