Home
last modified time | relevance | path

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

/freebsd/share/examples/scsi_target/
H A Dscsi_target.c75 static struct ccb_queue pending_queue; variable
120 TAILQ_INIT(&pending_queue); in main()
350 while ((ccb_h = TAILQ_FIRST(&pending_queue)) != NULL) { in cleanup()
351 TAILQ_REMOVE(&pending_queue, ccb_h, periph_links.tqe); in cleanup()
560 TAILQ_REMOVE(&pending_queue, &ccb->ccb_h, periph_links.tqe); in handle_read()
836 TAILQ_INSERT_TAIL(&pending_queue, &ccb->ccb_h, in send_ccb()
970 TAILQ_FOREACH(ccb_h, &pending_queue, periph_links.tqe) { in abort_all_pending()
/freebsd/sys/cam/scsi/
H A Dscsi_targ_bh.c84 struct ccb_queue pending_queue; member
404 TAILQ_INIT(&softc->pending_queue); in targbhctor()
458 TAILQ_INSERT_HEAD(&softc->pending_queue, ccbh, in targbhstart()
654 TAILQ_REMOVE(&softc->pending_queue, &atio->ccb_h, in targbhdone()
/freebsd/usr.sbin/camdd/
H A Dcamdd.c361 STAILQ_HEAD(,camdd_buf) pending_queue;
589 STAILQ_INIT(&dev->pending_queue); in camdd_alloc_dev()
2866 if ((STAILQ_FIRST(&dev->pending_queue) == NULL)
2879 buf = STAILQ_FIRST(&dev->pending_queue);
2908 STAILQ_INSERT_TAIL(&dev->pending_queue, buf, links);
2960 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf,
2989 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf, links);
3042 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf,
3115 STAILQ_INSERT_TAIL(&dev->pending_queue,