Lines Matching refs:ht
235 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() local
239 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup()
257 struct drm_open_hash *ht = &tdev->object_hash; in ttm_base_object_lookup_for_ref() local
261 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup_for_ref()
287 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() local
292 if (unlikely(drm_ht_find_item_rcu(ht, base->hash.key, &hash) != 0)) in ttm_ref_object_exists()
325 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local
343 ret = drm_ht_find_item_rcu(ht, base->hash.key, &hash); in ttm_ref_object_add()
374 ret = drm_ht_insert_item_rcu(ht, &ref->hash); in ttm_ref_object_add()
402 struct drm_open_hash *ht; in ttm_ref_object_release() local
405 ht = &tfile->ref_hash[ref->ref_type]; in ttm_ref_object_release()
406 (void)drm_ht_remove_item_rcu(ht, &ref->hash); in ttm_ref_object_release()
422 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref() local
428 ret = drm_ht_find_item(ht, key, &hash); in ttm_ref_object_base_unref()