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

@param[in] task_request This parameter specifies the task request object
to be completed.

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