Home
last modified time | relevance | path

Searched refs:shared_count (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/dma-buf/
Dreservation.c58 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 …]
Ddma-buf.c140 unsigned shared_count, seq; in dma_buf_poll() local
160 shared_count = fobj->shared_count; in dma_buf_poll()
162 shared_count = 0; in dma_buf_poll()
169 if (fence_excl && (!(events & POLLOUT) || shared_count == 0)) { in dma_buf_poll()
173 if (shared_count == 0) in dma_buf_poll()
204 if ((events & POLLOUT) && shared_count > 0) { in dma_buf_poll()
219 for (i = 0; i < shared_count; ++i) { in dma_buf_poll()
243 if (i == shared_count) in dma_buf_poll()
/linux-4.1.27/include/linux/
Dreservation.h54 u32 shared_count, shared_max; member
99 for (i = 0; i < fobj->shared_count; ++i) in reservation_object_fini()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_debugfs.c66 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_sync.c112 for (i = 0; i < flist->shared_count; ++i) { in radeon_sync_resv()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_fence.c410 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync()
432 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync()
Dnouveau_gem.c126 if (fobj && fobj->shared_count > 1) in nouveau_gem_object_unmap()
128 else if (fobj && fobj->shared_count == 1) in nouveau_gem_object_unmap()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_bo.c417 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences()
1556 for (i = 0; fobj && timeout > 0 && i < fobj->shared_count; ++i) { in ttm_bo_wait()