FreeBSD/sys/dev/isci/isci.c
/**
 * @brief This callback method schedules a OS specific deferred task.
 *
 * @param[in] controller This parameter specifies the controller
 *            object with which this callback is associated.
 * @param[in] start_internal_io_task_routine This parameter specifies the
 *            sci start_internal_io routine.
 * @param[in] context This parameter specifies a handle to a parameter
 *            that will be passed into the "start_internal_io_task_routine"
 *            when it is invoked.
 *
 * @return none
 */
@brief This callback method schedules a OS specific deferred task.
@param[in] controller This parameter specifies the controller
object with which this callback is associated.
@param[in] start_internal_io_task_routine This parameter specifies the
sci start_internal_io routine.
@param[in] context This parameter specifies a handle to a parameter
that will be passed into the "start_internal_io_task_routine"
when it is invoked.

@return none
@brief This callback method schedules a OS specific deferred task . @param [ in ] controller This parameter specifies the controller object with which this callback is associated . @param [ in ] start_internal_io_task_routine This parameter specifies the sci start_internal_io routine . @param [ in ] context This parameter specifies a handle to a parameter that will be passed into the " start_internal_io_task_routine " when it is invoked . @return none
void
scif_cb_start_internal_io_task_schedule(SCI_CONTROLLER_HANDLE_T scif_controller,
    FUNCPTR start_internal_io_task_routine, void *context)
{
	SCI_START_INTERNAL_IO_ROUTINE sci_start_internal_io_routine =
	    (SCI_START_INTERNAL_IO_ROUTINE)start_internal_io_task_routine;
	sci_start_internal_io_routine(context);
}
void scif_cb_start_internal_io_task_schedule ( SCI_CONTROLLER_HANDLE_T scif_controller , FUNCPTR start_internal_io_task_routine , void * context ) { SCI_START_INTERNAL_IO_ROUTINE sci_start_internal_io_routine = ( SCI_START_INTERNAL_IO_ROUTINE ) start_internal_io_task_routine ; sci_start_internal_io_routine ( context ) ; }
@brief This callback method schedules a OS specific deferred task.
@brief This callback method schedules a OS specific deferred task .
/** @todo Use FreeBSD tasklet to defer this routine to a later time,
	 *  rather than calling the routine inline.
	 */