Lines Matching refs:ht
251 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_noref_lookup() local
255 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_noref_lookup()
271 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() local
275 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup()
315 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() local
320 if (unlikely(drm_ht_find_item_rcu(ht, base->handle, &hash) != 0)) in ttm_ref_object_exists()
352 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local
370 ret = drm_ht_find_item_rcu(ht, base->handle, &hash); in ttm_ref_object_add()
401 ret = drm_ht_insert_item_rcu(ht, &ref->hash); in ttm_ref_object_add()
429 struct drm_open_hash *ht; in ttm_ref_object_release() local
432 ht = &tfile->ref_hash[ref->ref_type]; in ttm_ref_object_release()
433 (void)drm_ht_remove_item_rcu(ht, &ref->hash); in ttm_ref_object_release()
449 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref() local
455 ret = drm_ht_find_item(ht, key, &hash); in ttm_ref_object_base_unref()