FreeBSD/sys/cam/cam_xpt.c
/*
 * Schedule a peripheral driver to receive a ccb when its
 * target device has space for more transactions.
 */
Schedule a peripheral driver to receive a ccb when its
target device has space for more transactions.
Schedule a peripheral driver to receive a ccb when its target device has space for more transactions .
void
xpt_schedule(struct cam_periph *periph, u_int32_t new_priority)
{
	CAM_DEBUG(periph->path, CAM_DEBUG_TRACE, ("xpt_schedule\n"));
	cam_periph_assert(periph, MA_OWNED);
	if (new_priority < periph->scheduled_priority) {
		periph->scheduled_priority = new_priority;
		xpt_run_allocq(periph, 0);
	}
}
void xpt_schedule ( struct cam_periph * periph , u_int32_t new_priority ) { CAM_DEBUG ( periph -> path , CAM_DEBUG_TRACE , ( " \n " ) ) ; cam_periph_assert ( periph , MA_OWNED ) ; if ( new_priority < periph -> scheduled_priority ) { periph -> scheduled_priority = new_priority ; xpt_run_allocq ( periph , 0 ) ; } }
Schedule a peripheral driver to receive a ccb when its
 target device has space for more transactions.
Schedule a peripheral driver to receive a ccb when its target device has space for more transactions .