run_queue
oo += run_queue(c_descr->atio);
run_queue(c_descr->atio);
static int run_queue(struct ccb_accept_tio *);
int run_queue);
xpt_release_devq(struct cam_path *path, u_int count, int run_queue)
count, run_queue));
if (xpt_release_devq_device(dev, count, run_queue))
xpt_release_devq_device(struct cam_ed *dev, u_int count, int run_queue)
("xpt_release_devq_device(%d, %d) %u->%u\n", count, run_queue,
run_queue = 0;
return (run_queue);
xpt_release_simq(struct cam_sim *sim, int run_queue)
if (run_queue) {
void xpt_release_simq(struct cam_sim *sim, int run_queue);
u_int count, int run_queue);
buf = STAILQ_FIRST(&dev->run_queue);
buf = STAILQ_FIRST(&dev->run_queue);
STAILQ_REMOVE(&dev->run_queue, buf, camdd_buf, links);
STAILQ_REMOVE(&dev->run_queue, buf, camdd_buf, links);
STAILQ_FOREACH(buf2, &dev->run_queue, links)
buf = STAILQ_FIRST(&dev->run_queue);
STAILQ_REMOVE(&dev->run_queue, buf, camdd_buf, links);
STAILQ_INSERT_TAIL(&dev->run_queue, buf, links);
STAILQ_INSERT_TAIL(&dev->run_queue, buf, links);
STAILQ_INSERT_TAIL(&dev->run_queue, buf, links);
STAILQ_INSERT_TAIL(&dev->run_queue, buf, links);
STAILQ_INSERT_TAIL(&dev->run_queue,
STAILQ_HEAD(,camdd_buf) run_queue;
STAILQ_INIT(&dev->run_queue);