Lines Matching refs:hash
67 * ref_hash hash tables.
106 * @hash: Hash entry for the per-file object reference hash.
116 * This is similar to an idr object, but it also has a hash table entry
126 struct vmwgfx_hash_item hash;
146 struct vmwgfx_hash_item *hash;
148 hash_for_each_possible_rcu(tfile->ref_hash, hash, head, key) {
149 if (hash->key == key) {
150 *p_hash = hash;
161 struct vmwgfx_hash_item *hash;
163 hash_for_each_possible(tfile->ref_hash, hash, head, key) {
164 if (hash->key == key) {
165 *p_hash = hash;
261 struct vmwgfx_hash_item *hash;
265 ret = ttm_tfile_find_ref(tfile, key, &hash);
268 base = hlist_entry(hash, struct ttm_ref_object, hash)->obj;
299 struct vmwgfx_hash_item *hash;
310 ret = ttm_tfile_find_ref_rcu(tfile, base->handle, &hash);
313 ref = hlist_entry(hash, struct ttm_ref_object, hash);
329 ref->hash.key = base->handle;
335 hash_add_rcu(tfile->ref_hash, &ref->hash.head, ref->hash.key);
355 hash_del_rcu(&ref->hash.head);
368 struct vmwgfx_hash_item *hash;
372 ret = ttm_tfile_find_ref(tfile, key, &hash);
377 ref = hlist_entry(hash, struct ttm_ref_object, hash);