Searched refs:job_queue (Results 1 – 5 of 5) sorted by relevance
87 spsc_queue_init(&entity->job_queue); in drm_sched_entity_init()126 spsc_queue_count(&entity->job_queue) == 0 || in drm_sched_entity_is_idle()136 if (spsc_queue_peek(&entity->job_queue) == NULL) in drm_sched_entity_is_ready()236 while ((job = to_drm_sched_job(spsc_queue_pop(&entity->job_queue)))) { in drm_sched_entity_kill()474 sched_job = to_drm_sched_job(spsc_queue_peek(&entity->job_queue));501 spsc_queue_pop(&entity->job_queue);510 next = to_drm_sched_job(spsc_queue_peek(&entity->job_queue));535 if (spsc_queue_count(&entity->job_queue))596 first = spsc_queue_push(&entity->job_queue, &sched_job->queue_node);
52 __entry->job_count = spsc_queue_count(&entity->job_queue);
40 static SIMPLEQ_HEAD(job_queue, _job) jobs = SIMPLEQ_HEAD_INITIALIZER(jobs);109 struct job_queue singletons = SIMPLEQ_HEAD_INITIALIZER(singletons); in job_runqueue()
153 struct spsc_queue job_queue; member
333 while ((s_job = to_drm_sched_job(spsc_queue_pop(&s_entity->job_queue)))) { in amdgpu_job_stop_all_jobs_on_sched()