FreeBSD/sys/dev/isci/scil/scif_sas_io_request_state_handlers.c
/**
 * @brief This method provides STARTED state specific handling for
 *        when the user attempts to complete the supplied IO request.
 *
 * @param[in] io_request This parameter specifies the IO request object
 *            to be completed.
 *
 * @return This method returns a value indicating if the completion of the
 *         IO request was successful.
 * @retval SCI_SUCCESS This return value indicates that the completion process
 *         was successful.
 */
@brief This method provides STARTED state specific handling for
when the user attempts to complete the supplied IO request.

@param[in] io_request This parameter specifies the IO request object
to be completed.

@return This method returns a value indicating if the completion of the
IO request was successful.
@retval SCI_SUCCESS This return value indicates that the completion process
was successful.
@brief This method provides STARTED state specific handling for when the user attempts to complete the supplied IO request . @param [ in ] io_request This parameter specifies the IO request object to be completed . @return This method returns a value indicating if the completion of the IO request was successful . @retval SCI_SUCCESS This return value indicates that the completion process was successful .
static
SCI_STATUS scif_sas_io_request_started_complete_handler(
   SCI_BASE_REQUEST_T * io_request
)
{
   sci_base_state_machine_change_state(
      &io_request->state_machine, SCI_BASE_REQUEST_STATE_COMPLETED
   );
   return SCI_SUCCESS;
}
static SCI_STATUS scif_sas_io_request_started_complete_handler ( SCI_BASE_REQUEST_T * io_request ) { sci_base_state_machine_change_state ( & io_request -> state_machine , SCI_BASE_REQUEST_STATE_COMPLETED ) ; return SCI_SUCCESS ; }
@brief This method provides STARTED state specific handling for
        when the user attempts to complete the supplied IO request.
@brief This method provides STARTED state specific handling for when the user attempts to complete the supplied IO request .