Searched refs:shared_count (Results 1 – 11 of 11) sorted by relevance
58 if (old->shared_count < old->shared_max) { in reservation_object_reserve_shared()95 for (i = 0; i < fobj->shared_count; ++i) { in reservation_object_add_shared_inplace()116 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_inplace()117 fobj->shared_count++; in reservation_object_add_shared_inplace()136 fobj->shared_count = 1; in reservation_object_add_shared_replace()146 fobj->shared_count = old->shared_count; in reservation_object_add_shared_replace()148 for (i = 0; i < old->shared_count; ++i) { in reservation_object_add_shared_replace()161 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_replace()162 fobj->shared_count++; in reservation_object_add_shared_replace()196 BUG_ON(old->shared_count >= old->shared_max); in reservation_object_add_shared_fence()[all …]
142 unsigned shared_count, seq; in dma_buf_poll() local162 shared_count = fobj->shared_count; in dma_buf_poll()164 shared_count = 0; in dma_buf_poll()171 if (fence_excl && (!(events & POLLOUT) || shared_count == 0)) { in dma_buf_poll()175 if (shared_count == 0) in dma_buf_poll()206 if ((events & POLLOUT) && shared_count > 0) { in dma_buf_poll()221 for (i = 0; i < shared_count; ++i) { in dma_buf_poll()245 if (i == shared_count) in dma_buf_poll()
54 u32 shared_count, shared_max; member99 for (i = 0; i < fobj->shared_count; ++i) in reservation_object_fini()
66 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
112 for (i = 0; i < flist->shared_count; ++i) { in radeon_sync_resv()
80 for (i = 0; i < work->shared_count; ++i) in amdgpu_flip_work_func()223 &work->shared_count, in amdgpu_crtc_page_flip()276 for (i = 0; i < work->shared_count; ++i) in amdgpu_crtc_page_flip()
186 for (i = 0; i < flist->shared_count; ++i) { in amdgpu_sync_resv()
796 unsigned shared_count; member
409 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync()431 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync()
128 if (fobj && fobj->shared_count > 1) in nouveau_gem_object_unmap()130 else if (fobj && fobj->shared_count == 1) in nouveau_gem_object_unmap()
417 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences()1560 for (i = 0; fobj && timeout > 0 && i < fobj->shared_count; ++i) { in ttm_bo_wait()