Lines Matching defs:centity
465 struct amdgpu_ctx_entity *centity = to_amdgpu_ctx_entity(entity);
471 seq = centity->sequence;
473 other = centity->fences[idx];
478 centity->fences[idx] = fence;
479 centity->sequence++;
491 struct amdgpu_ctx_entity *centity = to_amdgpu_ctx_entity(entity);
497 seq = centity->sequence - 1;
499 if (seq >= centity->sequence) {
505 if (seq + amdgpu_sched_jobs < centity->sequence) {
510 fence = dma_fence_get(centity->fences[seq & (amdgpu_sched_jobs - 1)]);
542 struct amdgpu_ctx_entity *centity = to_amdgpu_ctx_entity(entity);
548 idx = centity->sequence & (amdgpu_sched_jobs - 1);
549 other = dma_fence_get(centity->fences[idx]);