Lines Matching defs:job
70 * job_finish - queue job finish work
81 struct hl_cs_job *job;
84 job = queue->shadow_queue[hl_pi_2_offset(cs_seq)];
85 job->timestamp = timestamp;
86 queue_work(hdev->cq_wq[cq->cq_idx], &job->finish_work);
104 struct hl_cs_job *job;
114 list_for_each_entry(job, &cs->job_list, cs_node) {
115 queue = &hdev->kernel_queues[job->hw_queue_id];
173 * 2. Interrupt per CS job completion in queue: (CQ per queue)
174 * CQ entry represents a completed job in a certain queue
205 struct timestamp_reg_work_obj *job =
208 struct list_head *free_list_head = job->free_obj_head;
209 struct hl_device *hdev = job->hdev;
222 kfree(job);
268 * in workqueue context, just add job to free_list.
281 struct timestamp_reg_work_obj *job;
292 * we always alloc the job of the WQ at the beginning.
294 job = kmalloc(sizeof(*job), GFP_ATOMIC);
295 if (!job)
319 INIT_WORK(&job->free_obj, hl_ts_free_objects);
320 job->free_obj_head = ts_reg_free_list_head;
321 job->hdev = hdev;
322 queue_work(hdev->ts_free_obj_wq, &job->free_obj);
324 kfree(job);