• Home
  • Raw
  • Download

Lines Matching refs:e

135 	struct amdgpu_sync_entry *e;  in amdgpu_sync_add_later()  local
137 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later()
138 if (unlikely(e->fence->context != f->context)) in amdgpu_sync_add_later()
141 amdgpu_sync_keep_later(&e->fence, f); in amdgpu_sync_add_later()
157 struct amdgpu_sync_entry *e; in amdgpu_sync_fence() local
165 e = kmem_cache_alloc(amdgpu_sync_slab, GFP_KERNEL); in amdgpu_sync_fence()
166 if (!e) in amdgpu_sync_fence()
169 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence()
170 e->fence = dma_fence_get(f); in amdgpu_sync_fence()
275 struct amdgpu_sync_entry *e; in amdgpu_sync_peek_fence() local
279 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_peek_fence()
280 struct dma_fence *f = e->fence; in amdgpu_sync_peek_fence()
284 hash_del(&e->node); in amdgpu_sync_peek_fence()
286 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_peek_fence()
316 struct amdgpu_sync_entry *e; in amdgpu_sync_get_fence() local
321 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_get_fence()
323 f = e->fence; in amdgpu_sync_get_fence()
325 hash_del(&e->node); in amdgpu_sync_get_fence()
326 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_get_fence()
347 struct amdgpu_sync_entry *e; in amdgpu_sync_clone() local
352 hash_for_each_safe(source->fences, i, tmp, e, node) { in amdgpu_sync_clone()
353 f = e->fence; in amdgpu_sync_clone()
359 hash_del(&e->node); in amdgpu_sync_clone()
361 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_clone()
370 struct amdgpu_sync_entry *e; in amdgpu_sync_wait() local
374 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_wait()
375 r = dma_fence_wait(e->fence, intr); in amdgpu_sync_wait()
379 hash_del(&e->node); in amdgpu_sync_wait()
380 dma_fence_put(e->fence); in amdgpu_sync_wait()
381 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_wait()
396 struct amdgpu_sync_entry *e; in amdgpu_sync_free() local
400 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_free()
401 hash_del(&e->node); in amdgpu_sync_free()
402 dma_fence_put(e->fence); in amdgpu_sync_free()
403 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_free()