Lines Matching refs:ht
234 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() local
238 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup()
256 struct drm_open_hash *ht = &tdev->object_hash; in ttm_base_object_lookup_for_ref() local
260 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup_for_ref()
286 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() local
291 if (unlikely(drm_ht_find_item_rcu(ht, base->hash.key, &hash) != 0)) in ttm_ref_object_exists()
323 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local
337 ret = drm_ht_find_item_rcu(ht, base->hash.key, &hash); in ttm_ref_object_add()
365 ret = drm_ht_insert_item_rcu(ht, &ref->hash); in ttm_ref_object_add()
393 struct drm_open_hash *ht; in ttm_ref_object_release() local
396 ht = &tfile->ref_hash[ref->ref_type]; in ttm_ref_object_release()
397 (void)drm_ht_remove_item_rcu(ht, &ref->hash); in ttm_ref_object_release()
413 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref() local
419 ret = drm_ht_find_item(ht, key, &hash); in ttm_ref_object_base_unref()