Lines Matching refs:curr
131 struct virtio_gpu_fence *signaled, *curr, *tmp; in virtio_gpu_fence_event_process() local
136 list_for_each_entry_safe(curr, tmp, &drv->fences, node) { in virtio_gpu_fence_event_process()
137 if (fence_id != curr->fence_id) in virtio_gpu_fence_event_process()
140 signaled = curr; in virtio_gpu_fence_event_process()
146 list_for_each_entry_safe(curr, tmp, &drv->fences, node) { in virtio_gpu_fence_event_process()
148 if (signaled->f.context != curr->f.context) in virtio_gpu_fence_event_process()
151 if (!dma_fence_is_later(&signaled->f, &curr->f)) in virtio_gpu_fence_event_process()
154 dma_fence_signal_locked(&curr->f); in virtio_gpu_fence_event_process()
155 if (curr->e) { in virtio_gpu_fence_event_process()
156 drm_send_event(vgdev->ddev, &curr->e->base); in virtio_gpu_fence_event_process()
157 curr->e = NULL; in virtio_gpu_fence_event_process()
160 list_del(&curr->node); in virtio_gpu_fence_event_process()
161 dma_fence_put(&curr->f); in virtio_gpu_fence_event_process()