Searched refs:pending_queue (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/share/examples/scsi_target/
H A Dscsi_target.c75 static struct ccb_queue pending_queue; variable in typeref:struct:ccb_queue
118 TAILQ_INIT(&pending_queue);
346 while ((ccb_h = TAILQ_FIRST(&pending_queue)) != NULL) {
347 TAILQ_REMOVE(&pending_queue, ccb_h, periph_links.tqe);
556 TAILQ_REMOVE(&pending_queue, &ccb->ccb_h, periph_links.tqe);
832 TAILQ_INSERT_TAIL(&pending_queue, &ccb->ccb_h,
966 TAILQ_FOREACH(ccb_h, &pending_queue, periph_links.tqe) {
/freebsd-11.0-release/sys/cam/scsi/
H A Dscsi_targ_bh.c85 struct ccb_queue pending_queue; member in struct:targbh_softc
402 TAILQ_INIT(&softc->pending_queue);
456 TAILQ_INSERT_HEAD(&softc->pending_queue, ccbh,
653 TAILQ_REMOVE(&softc->pending_queue, &atio->ccb_h,
/freebsd-11.0-release/usr.sbin/camdd/
H A Dcamdd.c369 STAILQ_HEAD(,camdd_buf) pending_queue;
608 STAILQ_INIT(&dev->pending_queue);
2653 if ((STAILQ_FIRST(&dev->pending_queue) == NULL)
2666 buf = STAILQ_FIRST(&dev->pending_queue);
2695 STAILQ_INSERT_TAIL(&dev->pending_queue, buf, links);
2747 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf,
2776 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf, links);
2829 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf,
2902 STAILQ_INSERT_TAIL(&dev->pending_queue,

Completed in 113 milliseconds