Lines Matching refs:jobs
136 /* Priority levels for jobs sent to the cryptocop. Checksum operations from
147 struct list_head jobs;
193 /* The interrupt handler appends completed jobs to this list. The scehduled
1597 /* Remove queued jobs. */
1601 if (!list_empty(&(cryptocop_job_queues[i].jobs))){
1602 list_for_each_safe(node, tmp, &(cryptocop_job_queues[i].jobs)) {
1842 list_add_tail(&pj->node, &cryptocop_job_queues[prio].jobs);
2033 INIT_LIST_HEAD(&cryptocop_job_queues[i].jobs);
2053 if (!list_empty(&(cryptocop_job_queues[i].jobs))){
2054 list_for_each_safe(node, tmp, &(cryptocop_job_queues[i].jobs)) {
2103 /* Remove completed jobs, if any. */
2141 for (i = cryptocop_prio_kernel_csum; (i < cryptocop_prio_no_prios) && list_empty(&cryptocop_job_queues[i].jobs); i++);
2145 DEBUG(printk("cryptocop_start_job: no jobs to run\n"));
2146 return; /* No jobs to run */
2150 /* TODO: Do not starve lower priority jobs. Let in a lower
2157 pj = list_entry(cryptocop_job_queues[i].jobs.next, struct cryptocop_prio_job, node);