Lines Matching refs:ht
248 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_noref_lookup() local
252 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_noref_lookup()
268 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() local
272 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup()
312 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() local
317 if (unlikely(drm_ht_find_item_rcu(ht, base->handle, &hash) != 0)) in ttm_ref_object_exists()
349 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local
367 ret = drm_ht_find_item_rcu(ht, base->handle, &hash); in ttm_ref_object_add()
398 ret = drm_ht_insert_item_rcu(ht, &ref->hash); in ttm_ref_object_add()
426 struct drm_open_hash *ht; in ttm_ref_object_release() local
429 ht = &tfile->ref_hash[ref->ref_type]; in ttm_ref_object_release()
430 (void)drm_ht_remove_item_rcu(ht, &ref->hash); in ttm_ref_object_release()
446 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref() local
452 ret = drm_ht_find_item(ht, key, &hash); in ttm_ref_object_base_unref()