Lines Matching defs:work_queue
78 static struct ccb_queue work_queue;
121 TAILQ_INIT(&work_queue);
352 while ((ccb_h = TAILQ_FIRST(&work_queue)) != NULL) {
353 TAILQ_REMOVE(&work_queue, ccb_h, periph_links.tqe);
491 if ((ccb_h = TAILQ_FIRST(&work_queue)) != NULL) {
521 TAILQ_REMOVE(&work_queue, ccb_h,
528 * are processing CCBs on the work_queue. Once it's
531 if (!TAILQ_EMPTY(&work_queue))
580 TAILQ_INSERT_TAIL(&work_queue, &ccb->ccb_h,
600 TAILQ_INSERT_HEAD(&work_queue, &ccb->ccb_h,
671 TAILQ_REMOVE(&work_queue, &atio->ccb_h, periph_links.tqe);
821 TAILQ_REMOVE(&work_queue, &inot->ccb_h, periph_links.tqe);