Lines Matching refs:e

133 	struct amdgpu_sync_entry *e;  in amdgpu_sync_add_later()  local
135 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later()
136 if (unlikely(e->fence->context != f->context)) in amdgpu_sync_add_later()
139 amdgpu_sync_keep_later(&e->fence, f); in amdgpu_sync_add_later()
155 struct amdgpu_sync_entry *e; in amdgpu_sync_fence() local
163 e = kmem_cache_alloc(amdgpu_sync_slab, GFP_KERNEL); in amdgpu_sync_fence()
164 if (!e) in amdgpu_sync_fence()
167 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence()
168 e->fence = dma_fence_get(f); in amdgpu_sync_fence()
289 struct amdgpu_sync_entry *e; in amdgpu_sync_peek_fence() local
293 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_peek_fence()
294 struct dma_fence *f = e->fence; in amdgpu_sync_peek_fence()
298 hash_del(&e->node); in amdgpu_sync_peek_fence()
300 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_peek_fence()
330 struct amdgpu_sync_entry *e; in amdgpu_sync_get_fence() local
334 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_get_fence()
336 f = e->fence; in amdgpu_sync_get_fence()
338 hash_del(&e->node); in amdgpu_sync_get_fence()
339 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_get_fence()
360 struct amdgpu_sync_entry *e; in amdgpu_sync_clone() local
365 hash_for_each_safe(source->fences, i, tmp, e, node) { in amdgpu_sync_clone()
366 f = e->fence; in amdgpu_sync_clone()
372 hash_del(&e->node); in amdgpu_sync_clone()
374 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_clone()
386 struct amdgpu_sync_entry *e; in amdgpu_sync_wait() local
390 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_wait()
391 r = dma_fence_wait(e->fence, intr); in amdgpu_sync_wait()
395 hash_del(&e->node); in amdgpu_sync_wait()
396 dma_fence_put(e->fence); in amdgpu_sync_wait()
397 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_wait()
412 struct amdgpu_sync_entry *e; in amdgpu_sync_free() local
416 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_free()
417 hash_del(&e->node); in amdgpu_sync_free()
418 dma_fence_put(e->fence); in amdgpu_sync_free()
419 kmem_cache_free(amdgpu_sync_slab, e); in amdgpu_sync_free()