Lines Matching refs:submitted_jobs_xa
472 xa_lock(&vdev->submitted_jobs_xa); in ivpu_job_remove_from_submitted_jobs()
473 job = __xa_erase(&vdev->submitted_jobs_xa, job_id); in ivpu_job_remove_from_submitted_jobs()
475 if (xa_empty(&vdev->submitted_jobs_xa) && job) { in ivpu_job_remove_from_submitted_jobs()
480 xa_unlock(&vdev->submitted_jobs_xa); in ivpu_job_remove_from_submitted_jobs()
514 xa_for_each(&vdev->submitted_jobs_xa, id, job) in ivpu_jobs_abort_all()
544 xa_lock(&vdev->submitted_jobs_xa); in ivpu_job_submit()
545 is_first_job = xa_empty(&vdev->submitted_jobs_xa); in ivpu_job_submit()
546 ret = __xa_alloc(&vdev->submitted_jobs_xa, &job->job_id, job, job_id_range, GFP_KERNEL); in ivpu_job_submit()
573 xa_unlock(&vdev->submitted_jobs_xa); in ivpu_job_submit()
583 __xa_erase(&vdev->submitted_jobs_xa, job->job_id); in ivpu_job_submit()
585 xa_unlock(&vdev->submitted_jobs_xa); in ivpu_job_submit()
770 if (!ret && !xa_empty(&vdev->submitted_jobs_xa)) in ivpu_job_done_callback()