Home
last modified time | relevance | path

Searched refs:list_kref (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo.c147 static void ttm_bo_release_list(struct kref *list_kref) in ttm_bo_release_list() argument
150 container_of(list_kref, struct ttm_buffer_object, list_kref); in ttm_bo_release_list()
154 BUG_ON(kref_read(&bo->list_kref)); in ttm_bo_release_list()
186 kref_get(&bo->list_kref); in ttm_bo_add_mem_to_lru()
192 kref_get(&bo->list_kref); in ttm_bo_add_mem_to_lru()
202 static void ttm_bo_ref_bug(struct kref *list_kref) in ttm_bo_ref_bug() argument
214 kref_put(&bo->list_kref, ttm_bo_ref_bug); in ttm_bo_del_from_lru()
219 kref_put(&bo->list_kref, ttm_bo_ref_bug); in ttm_bo_del_from_lru()
524 kref_get(&bo->list_kref); in ttm_bo_cleanup_refs_or_queue()
604 kref_put(&bo->list_kref, ttm_bo_ref_bug); in ttm_bo_cleanup_refs()
[all …]
Dttm_bo_util.c516 kref_init(&fbo->base.list_kref); in ttm_buffer_object_transfer()
/Linux-v5.4/drivers/opp/
Dopp.h170 struct kref list_kref; member
Dof.c662 kref_get(&opp_table->list_kref); in _of_add_opp_table_v2()
671 kref_init(&opp_table->list_kref); in _of_add_opp_table_v2()
Dcore.c991 kref_init(&opp_table->list_kref); in _allocate_opp_table()
1090 list_kref); in _opp_table_list_kref_release()
1098 kref_put_mutex(&opp_table->list_kref, _opp_table_list_kref_release, in _put_opp_list_kref()
/Linux-v5.4/include/drm/ttm/
Dttm_bo_api.h190 struct kref list_kref; member