Lines Matching refs:hash
111 struct drm_hash_item hash; member
165 &base->hash, in ttm_base_object_init()
180 (void)drm_ht_remove_item(&tdev->object_hash, &base->hash); in ttm_base_object_init()
190 (void)drm_ht_remove_item(&tdev->object_hash, &base->hash); in ttm_release_base()
228 struct drm_hash_item *hash; in ttm_base_object_lookup() local
232 ret = drm_ht_find_item(&tdev->object_hash, key, &hash); in ttm_base_object_lookup()
235 base = drm_hash_entry(hash, struct ttm_base_object, hash); in ttm_base_object_lookup()
261 struct drm_hash_item *hash; in ttm_ref_object_add() local
270 ret = drm_ht_find_item(ht, base->hash.key, &hash); in ttm_ref_object_add()
273 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_add()
290 ref->hash.key = base->hash.key; in ttm_ref_object_add()
297 ret = drm_ht_insert_item(ht, &ref->hash); in ttm_ref_object_add()
326 (void)drm_ht_remove_item(ht, &ref->hash); in ttm_ref_object_release()
344 struct drm_hash_item *hash; in ttm_ref_object_base_unref() local
348 ret = drm_ht_find_item(ht, key, &hash); in ttm_ref_object_base_unref()
353 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_base_unref()