Lines Matching refs:hash
47 * ref_hash hash tables.
75 * @object_lock: lock that protects the object_hash hash table.
77 * @object_hash: hash table for fast lookup of object global names.
94 * @hash: Hash entry for the per-file object reference hash.
104 * This is similar to an idr object, but it also has a hash table entry
113 struct drm_hash_item hash;
167 &base->hash,
182 (void)drm_ht_remove_item(&tdev->object_hash, &base->hash);
192 (void)drm_ht_remove_item(&tdev->object_hash, &base->hash);
230 struct drm_hash_item *hash;
234 ret = drm_ht_find_item(&tdev->object_hash, key, &hash);
237 base = drm_hash_entry(hash, struct ttm_base_object, hash);
263 struct drm_hash_item *hash;
272 ret = drm_ht_find_item(ht, base->hash.key, &hash);
275 ref = drm_hash_entry(hash, struct ttm_ref_object, hash);
292 ref->hash.key = base->hash.key;
299 ret = drm_ht_insert_item(ht, &ref->hash);
328 (void)drm_ht_remove_item(ht, &ref->hash);
346 struct drm_hash_item *hash;
350 ret = drm_ht_find_item(ht, key, &hash);
355 ref = drm_hash_entry(hash, struct ttm_ref_object, hash);