Searched refs:fobj (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/dma-buf/ |
D | dma-resv.c | 119 struct dma_resv_list *fobj; in dma_resv_fini() local 130 fobj = rcu_dereference_protected(obj->fence, 1); in dma_resv_fini() 131 dma_resv_list_free(fobj); in dma_resv_fini() 226 struct dma_resv_list *fobj; in dma_resv_add_shared_fence() local 234 fobj = dma_resv_get_list(obj); in dma_resv_add_shared_fence() 235 count = fobj->shared_count; in dma_resv_add_shared_fence() 242 old = rcu_dereference_protected(fobj->shared[i], in dma_resv_add_shared_fence() 249 BUG_ON(fobj->shared_count >= fobj->shared_max); in dma_resv_add_shared_fence() 254 RCU_INIT_POINTER(fobj->shared[i], fence); in dma_resv_add_shared_fence() 256 smp_store_mb(fobj->shared_count, count); in dma_resv_add_shared_fence() [all …]
|
D | dma-buf.c | 199 struct dma_resv_list *fobj; in dma_buf_poll() local 220 fobj = rcu_dereference(resv->fence); in dma_buf_poll() 221 if (fobj) in dma_buf_poll() 222 shared_count = fobj->shared_count; in dma_buf_poll() 282 struct dma_fence *fence = rcu_dereference(fobj->shared[i]); in dma_buf_poll() 1158 struct dma_resv_list *fobj; in dma_buf_debug_show() local 1194 fobj = rcu_dereference(robj->fence); in dma_buf_debug_show() 1195 shared_count = fobj ? fobj->shared_count : 0; in dma_buf_debug_show() 1208 fence = rcu_dereference(fobj->shared[i]); in dma_buf_debug_show()
|
/Linux-v5.4/drivers/gpu/drm/qxl/ |
D | qxl_debugfs.c | 60 struct dma_resv_list *fobj; in qxl_debugfs_buffers_info() local 64 fobj = rcu_dereference(bo->tbo.base.resv->fence); in qxl_debugfs_buffers_info() 65 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 338 struct dma_resv_list *fobj; in nouveau_fence_sync() local 349 fobj = dma_resv_get_list(resv); in nouveau_fence_sync() 352 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync() 371 if (!exclusive || !fobj) in nouveau_fence_sync() 374 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync() 378 fence = rcu_dereference_protected(fobj->shared[i], in nouveau_fence_sync()
|
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_gem.c | 705 struct dma_resv_list *fobj; in msm_gem_sync_object() local 709 fobj = dma_resv_get_list(obj->resv); in msm_gem_sync_object() 710 if (!fobj || (fobj->shared_count == 0)) { in msm_gem_sync_object() 720 if (!exclusive || !fobj) in msm_gem_sync_object() 723 for (i = 0; i < fobj->shared_count; i++) { in msm_gem_sync_object() 724 fence = rcu_dereference_protected(fobj->shared[i], in msm_gem_sync_object() 803 struct dma_resv_list *fobj; in msm_gem_describe() local 845 fobj = rcu_dereference(robj->fence); in msm_gem_describe() 846 if (fobj) { in msm_gem_describe() 847 unsigned int i, shared_count = fobj->shared_count; in msm_gem_describe() [all …]
|
/Linux-v5.4/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-v5.4/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem.c | 457 struct dma_resv_list *fobj; in etnaviv_gem_describe() local 467 fobj = rcu_dereference(robj->fence); in etnaviv_gem_describe() 468 if (fobj) { in etnaviv_gem_describe() 469 unsigned int i, shared_count = fobj->shared_count; in etnaviv_gem_describe() 472 fence = rcu_dereference(fobj->shared[i]); in etnaviv_gem_describe()
|
/Linux-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 457 struct dma_resv_list *fobj; in ttm_bo_flush_all_fences() local 461 fobj = dma_resv_get_list(&bo->base._resv); in ttm_bo_flush_all_fences() 466 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences() 467 fence = rcu_dereference_protected(fobj->shared[i], in ttm_bo_flush_all_fences()
|