FreeBSD/sys/dev/isci/scil/scif_sas_io_request_states.c
/**
 * @brief This method implements the actions taken when entering the
 *        ABORTING state.
 *
 * @param[in]  object This parameter specifies the base object for which
 *             the state transition is occurring.  This is cast into a
 *             SCIF_SAS_IO_REQUEST object in the method implementation.
 *
 * @return none
 */
@brief This method implements the actions taken when entering the
ABORTING state.

@param[in]  object This parameter specifies the base object for which
the state transition is occurring.  This is cast into a
SCIF_SAS_IO_REQUEST object in the method implementation.

@return none
@brief This method implements the actions taken when entering the ABORTING state . @param [ in ] object This parameter specifies the base object for which the state transition is occurring . This is cast into a SCIF_SAS_IO_REQUEST object in the method implementation . @return none
static
void scif_sas_io_request_aborting_state_enter(
   SCI_BASE_OBJECT_T *object
)
{
   SCIF_SAS_IO_REQUEST_T * fw_io = (SCIF_SAS_IO_REQUEST_T *)object;
   SCIF_LOG_WARNING((
      sci_base_object_get_logger(fw_io),
      SCIF_LOG_OBJECT_IO_REQUEST | SCIF_LOG_OBJECT_TASK_MANAGEMENT,
      "Domain:0x%x Device:0x%x IORequest:0x%x terminating\n",
      fw_io->parent.device->domain, fw_io->parent.device, fw_io
   ));
   SET_STATE_HANDLER(
      &fw_io->parent,
      scif_sas_io_request_state_handler_table,
      SCI_BASE_REQUEST_STATE_ABORTING
   );
   fw_io->parent.status = scif_sas_request_terminate_start(
                             &fw_io->parent, fw_io->parent.core_object
                          );
}
static void scif_sas_io_request_aborting_state_enter ( SCI_BASE_OBJECT_T * object ) { SCIF_SAS_IO_REQUEST_T * fw_io = ( SCIF_SAS_IO_REQUEST_T * ) object ; SCIF_LOG_WARNING ( ( sci_base_object_get_logger ( fw_io ) , SCIF_LOG_OBJECT_IO_REQUEST | SCIF_LOG_OBJECT_TASK_MANAGEMENT , " \n " , fw_io -> parent . device -> domain , fw_io -> parent . device , fw_io ) ) ; SET_STATE_HANDLER ( & fw_io -> parent , scif_sas_io_request_state_handler_table , SCI_BASE_REQUEST_STATE_ABORTING ) ; fw_io -> parent . status = scif_sas_request_terminate_start ( & fw_io -> parent , fw_io -> parent . core_object ) ; }
@brief This method implements the actions taken when entering the
        ABORTING state.
@brief This method implements the actions taken when entering the ABORTING state .