Lines Matching refs:hash
113 struct drm_hash_item hash; member
167 &base->hash, in ttm_base_object_init()
182 (void)drm_ht_remove_item(&tdev->object_hash, &base->hash); in ttm_base_object_init()
192 (void)drm_ht_remove_item(&tdev->object_hash, &base->hash); in ttm_release_base()
230 struct drm_hash_item *hash; in ttm_base_object_lookup() local
234 ret = drm_ht_find_item(&tdev->object_hash, key, &hash); in ttm_base_object_lookup()
237 base = drm_hash_entry(hash, struct ttm_base_object, hash); in ttm_base_object_lookup()
263 struct drm_hash_item *hash; in ttm_ref_object_add() local
272 ret = drm_ht_find_item(ht, base->hash.key, &hash); in ttm_ref_object_add()
275 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_add()
292 ref->hash.key = base->hash.key; in ttm_ref_object_add()
299 ret = drm_ht_insert_item(ht, &ref->hash); in ttm_ref_object_add()
328 (void)drm_ht_remove_item(ht, &ref->hash); in ttm_ref_object_release()
346 struct drm_hash_item *hash; in ttm_ref_object_base_unref() local
350 ret = drm_ht_find_item(ht, key, &hash); in ttm_ref_object_base_unref()
355 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_base_unref()