Home
last modified time | relevance | path

Searched refs:ref_hash (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c51 * ref_hash hash tables.
56 * @ref_hash: Hash tables of ref objects, one per ttm_ref_type,
73 struct drm_open_hash ref_hash[TTM_REF_NUM]; member
248 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_noref_lookup()
268 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup()
312 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists()
349 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add()
429 ht = &tfile->ref_hash[ref->ref_type]; in ttm_ref_object_release()
446 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref()
486 drm_ht_remove(&tfile->ref_hash[ in ttm_object_file_release()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c67 * ref_hash hash tables.
72 * @ref_hash: Hash tables of ref objects, one per ttm_ref_type,
81 DECLARE_HASHTABLE(ref_hash, VMW_TTM_OBJECT_REF_HT_ORDER);
148 hash_for_each_possible_rcu(tfile->ref_hash, hash, head, key) { in ttm_tfile_find_ref_rcu()
163 hash_for_each_possible(tfile->ref_hash, hash, head, key) { in ttm_tfile_find_ref()
335 hash_add_rcu(tfile->ref_hash, &ref->hash.head, ref->hash.key); in ttm_ref_object_add()
420 hash_init(tfile->ref_hash); in ttm_object_file_init()

Completed in 3 milliseconds