/Linux-v4.19/drivers/dma-buf/ |
D | reservation.c | 77 if (old->shared_count < old->shared_max) { in reservation_object_reserve_shared() 115 for (i = 0; i < fobj->shared_count; ++i) { in reservation_object_add_shared_inplace() 144 BUG_ON(fobj->shared_count >= fobj->shared_max); in reservation_object_add_shared_inplace() 145 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_inplace() 146 fobj->shared_count++; in reservation_object_add_shared_inplace() 167 fobj->shared_count = 1; in reservation_object_add_shared_replace() 177 for (i = 0, j = 0, k = fobj->shared_max; i < old->shared_count; ++i) { in reservation_object_add_shared_replace() 189 fobj->shared_count = j; in reservation_object_add_shared_replace() 190 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_replace() 191 fobj->shared_count++; in reservation_object_add_shared_replace() [all …]
|
D | dma-buf.c | 167 unsigned shared_count, seq; in dma_buf_poll() local 187 shared_count = fobj->shared_count; in dma_buf_poll() 189 shared_count = 0; in dma_buf_poll() 196 if (fence_excl && (!(events & EPOLLOUT) || shared_count == 0)) { in dma_buf_poll() 200 if (shared_count == 0) in dma_buf_poll() 231 if ((events & EPOLLOUT) && shared_count > 0) { in dma_buf_poll() 246 for (i = 0; i < shared_count; ++i) { in dma_buf_poll() 270 if (i == shared_count) in dma_buf_poll() 1020 int count = 0, attach_count, shared_count, i; in dma_buf_debug_show() local 1052 shared_count = fobj ? fobj->shared_count : 0; in dma_buf_debug_show() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-bio-prison-v2.c | 164 (*cell)->shared_count++; in __get() 167 (*cell)->shared_count = 1; in __get() 193 BUG_ON(!cell->shared_count); in __put() 194 cell->shared_count--; in __put() 197 if (!cell->shared_count) { in __put() 244 return cell->shared_count > 0; in __lock() 248 cell->shared_count = 0; in __lock() 278 if (!cell->shared_count) in __quiesce() 304 return cell->shared_count > 0; in __promote() 331 if (cell->shared_count) { in __unlock()
|
D | dm-bio-prison-v2.h | 48 unsigned shared_count; member
|
/Linux-v4.19/include/linux/ |
D | reservation.h | 61 u32 shared_count, shared_max; member 122 for (i = 0; i < fobj->shared_count; ++i) in reservation_object_fini()
|
/Linux-v4.19/drivers/gpu/drm/qxl/ |
D | qxl_debugfs.c | 66 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
|
/Linux-v4.19/drivers/gpu/drm/msm/ |
D | msm_gem.c | 627 if (!fobj || (fobj->shared_count == 0)) { in msm_gem_sync_object() 640 for (i = 0; i < fobj->shared_count; i++) { in msm_gem_sync_object() 756 unsigned int i, shared_count = fobj->shared_count; in msm_gem_describe() local 758 for (i = 0; i < shared_count; i++) { in msm_gem_describe()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_sync.c | 112 for (i = 0; i < flist->shared_count; ++i) { in radeon_sync_resv()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 86 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_flip_work_func() 204 &work->shared_count, in amdgpu_display_crtc_page_flip_target() 254 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_crtc_page_flip_target()
|
D | amdgpu_sync.c | 214 for (i = 0; i < flist->shared_count; ++i) { in amdgpu_sync_resv()
|
D | amdgpu_amdkfd_gpuvm.c | 233 for (i = 0, j = old->shared_count, k = 0; i < old->shared_count; ++i) { in amdgpu_amdkfd_remove_eviction_fence() 246 new->shared_count = k; in amdgpu_amdkfd_remove_eviction_fence() 249 unsigned int count = old->shared_count - j; in amdgpu_amdkfd_remove_eviction_fence() 271 for (i = j, k = 0; i < old->shared_count; ++i) { in amdgpu_amdkfd_remove_eviction_fence()
|
D | amdgpu_vm.c | 1843 unsigned i, shared_count; in amdgpu_vm_prt_fini() local 1847 &shared_count, &shared); in amdgpu_vm_prt_fini() 1861 for (i = 0; i < shared_count; ++i) { in amdgpu_vm_prt_fini()
|
D | amdgpu.h | 581 unsigned shared_count; member
|
D | amdgpu_ttm.c | 1483 for (i = 0; i < flist->shared_count; ++i) { in amdgpu_ttm_bo_eviction_valuable()
|
/Linux-v4.19/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem.c | 475 unsigned int i, shared_count = fobj->shared_count; in etnaviv_gem_describe() local 477 for (i = 0; i < shared_count; i++) { in etnaviv_gem_describe()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 353 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync() 375 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_gem.c | 4590 unsigned int shared_count = list->shared_count, i; in i915_gem_busy_ioctl() local 4592 for (i = 0; i < shared_count; ++i) { in i915_gem_busy_ioctl()
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 372 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences()
|