Searched refs:pending_queue (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/share/examples/scsi_target/ |
| H A D | scsi_target.c | 77 static struct ccb_queue pending_queue; variable 120 TAILQ_INIT(&pending_queue); in main() 348 while ((ccb_h = TAILQ_FIRST(&pending_queue)) != NULL) { in cleanup() 349 TAILQ_REMOVE(&pending_queue, ccb_h, periph_links.tqe); in cleanup() 558 TAILQ_REMOVE(&pending_queue, &ccb->ccb_h, periph_links.tqe); in handle_read() 834 TAILQ_INSERT_TAIL(&pending_queue, &ccb->ccb_h, in send_ccb() 968 TAILQ_FOREACH(ccb_h, &pending_queue, periph_links.tqe) { in abort_all_pending()
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_targ_bh.c | 87 struct ccb_queue pending_queue; member 404 TAILQ_INIT(&softc->pending_queue); in targbhctor() 458 TAILQ_INSERT_HEAD(&softc->pending_queue, ccbh, in targbhstart() 655 TAILQ_REMOVE(&softc->pending_queue, &atio->ccb_h, in targbhdone()
|
| /freebsd-12.1/usr.sbin/camdd/ |
| H A D | camdd.c | 370 STAILQ_HEAD(,camdd_buf) pending_queue; 594 STAILQ_INIT(&dev->pending_queue); in camdd_alloc_dev() 2747 if ((STAILQ_FIRST(&dev->pending_queue) == NULL) 2760 buf = STAILQ_FIRST(&dev->pending_queue); 2789 STAILQ_INSERT_TAIL(&dev->pending_queue, buf, links); 2841 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf, 2870 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf, links); 2923 STAILQ_REMOVE(&dev->pending_queue, buf, camdd_buf, 2996 STAILQ_INSERT_TAIL(&dev->pending_queue,
|