Searched refs:fobj (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/dma-buf/ |
D | reservation.c | 71 struct reservation_object_list *fobj, *old; in reservation_object_reserve_shared() local 91 fobj = krealloc(obj->staged, offsetof(typeof(*fobj), shared[max]), in reservation_object_reserve_shared() 93 if (!fobj) in reservation_object_reserve_shared() 96 obj->staged = fobj; in reservation_object_reserve_shared() 97 fobj->shared_max = max; in reservation_object_reserve_shared() 104 struct reservation_object_list *fobj, in reservation_object_add_shared_inplace() argument 115 for (i = 0; i < fobj->shared_count; ++i) { in reservation_object_add_shared_inplace() 118 old_fence = rcu_dereference_protected(fobj->shared[i], in reservation_object_add_shared_inplace() 123 RCU_INIT_POINTER(fobj->shared[i], fence); in reservation_object_add_shared_inplace() 142 RCU_INIT_POINTER(fobj->shared[signaled_idx], fence); in reservation_object_add_shared_inplace() [all …]
|
D | dma-buf.c | 164 struct reservation_object_list *fobj; in dma_buf_poll() local 185 fobj = rcu_dereference(resv->fence); in dma_buf_poll() 186 if (fobj) in dma_buf_poll() 187 shared_count = fobj->shared_count; in dma_buf_poll() 247 struct dma_fence *fence = rcu_dereference(fobj->shared[i]); in dma_buf_poll() 1017 struct reservation_object_list *fobj; in dma_buf_debug_show() local 1051 fobj = rcu_dereference(robj->fence); in dma_buf_debug_show() 1052 shared_count = fobj ? fobj->shared_count : 0; in dma_buf_debug_show() 1065 fence = rcu_dereference(fobj->shared[i]); in dma_buf_debug_show()
|
/Linux-v4.19/include/linux/ |
D | reservation.h | 109 struct reservation_object_list *fobj; in reservation_object_fini() local 120 fobj = rcu_dereference_protected(obj->fence, 1); in reservation_object_fini() 121 if (fobj) { in reservation_object_fini() 122 for (i = 0; i < fobj->shared_count; ++i) in reservation_object_fini() 123 dma_fence_put(rcu_dereference_protected(fobj->shared[i], 1)); in reservation_object_fini() 125 kfree(fobj); in reservation_object_fini()
|
/Linux-v4.19/drivers/gpu/drm/qxl/ |
D | qxl_debugfs.c | 61 struct reservation_object_list *fobj; in qxl_debugfs_buffers_info() local 65 fobj = rcu_dereference(bo->tbo.resv->fence); in qxl_debugfs_buffers_info() 66 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 339 struct reservation_object_list *fobj; in nouveau_fence_sync() local 350 fobj = reservation_object_get_list(resv); in nouveau_fence_sync() 353 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync() 372 if (!exclusive || !fobj) in nouveau_fence_sync() 375 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync() 379 fence = rcu_dereference_protected(fobj->shared[i], in nouveau_fence_sync()
|
/Linux-v4.19/drivers/gpu/drm/msm/ |
D | msm_gem.c | 622 struct reservation_object_list *fobj; in msm_gem_sync_object() local 626 fobj = reservation_object_get_list(msm_obj->resv); in msm_gem_sync_object() 627 if (!fobj || (fobj->shared_count == 0)) { in msm_gem_sync_object() 637 if (!exclusive || !fobj) in msm_gem_sync_object() 640 for (i = 0; i < fobj->shared_count; i++) { in msm_gem_sync_object() 641 fence = rcu_dereference_protected(fobj->shared[i], in msm_gem_sync_object() 721 struct reservation_object_list *fobj; in msm_gem_describe() local 754 fobj = rcu_dereference(robj->fence); in msm_gem_describe() 755 if (fobj) { in msm_gem_describe() 756 unsigned int i, shared_count = fobj->shared_count; in msm_gem_describe() [all …]
|
/Linux-v4.19/tools/perf/scripts/python/ |
D | compaction-times.py | 111 fobj = None variable in chead 115 cls.fobj = filter 124 if cls.fobj != None: 125 filtered = cls.fobj.filter(pid, comm)
|
/Linux-v4.19/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem.c | 463 struct reservation_object_list *fobj; in etnaviv_gem_describe() local 473 fobj = rcu_dereference(robj->fence); in etnaviv_gem_describe() 474 if (fobj) { in etnaviv_gem_describe() 475 unsigned int i, shared_count = fobj->shared_count; in etnaviv_gem_describe() 478 fence = rcu_dereference(fobj->shared[i]); in etnaviv_gem_describe()
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 363 struct reservation_object_list *fobj; in ttm_bo_flush_all_fences() local 367 fobj = reservation_object_get_list(&bo->ttm_resv); in ttm_bo_flush_all_fences() 372 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences() 373 fence = rcu_dereference_protected(fobj->shared[i], in ttm_bo_flush_all_fences()
|