FreeBSD/sys/dev/isci/scil/scif_sas_io_request_state_handlers.c
/**
 * @brief This method provides ABORTING state specific handlering for when the
 *        user attempts to abort 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
 *         operation was successful.
 * @retval SCI_SUCCESS This return value indicates that the abort operation
 *         was successful.
 */
@brief This method provides ABORTING state specific handlering for when the
user attempts to abort 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
operation was successful.
@retval SCI_SUCCESS This return value indicates that the abort operation
was successful.
@brief This method provides ABORTING state specific handlering for when the user attempts to abort 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 operation was successful . @retval SCI_SUCCESS This return value indicates that the abort operation was successful .
static
SCI_STATUS scif_sas_io_request_aborting_abort_handler(
   SCI_BASE_REQUEST_T * io_request
)
{
   SCIF_SAS_IO_REQUEST_T * fw_request = (SCIF_SAS_IO_REQUEST_T *) io_request;
   return scic_controller_terminate_request(
             fw_request->parent.device->domain->controller->core_object,
             fw_request->parent.device->core_object,
             fw_request->parent.core_object
          );
}
static SCI_STATUS scif_sas_io_request_aborting_abort_handler ( SCI_BASE_REQUEST_T * io_request ) { SCIF_SAS_IO_REQUEST_T * fw_request = ( SCIF_SAS_IO_REQUEST_T * ) io_request ; return scic_controller_terminate_request ( fw_request -> parent . device -> domain -> controller -> core_object , fw_request -> parent . device -> core_object , fw_request -> parent . core_object ) ; }
@brief This method provides ABORTING state specific handlering for when the
        user attempts to abort the supplied IO request.
@brief This method provides ABORTING state specific handlering for when the user attempts to abort the supplied IO request .