FreeBSD/sys/dev/isci/scil/scif_sas_task_request_states.c
static
void scif_sas_task_request_completed_state_enter(
   SCI_BASE_OBJECT_T *object
)
{
   SCIF_SAS_TASK_REQUEST_T * fw_task = (SCIF_SAS_TASK_REQUEST_T *)object;

   SET_STATE_HANDLER(
      &fw_task->parent,
      scif_sas_task_request_state_handler_table,
      SCI_BASE_REQUEST_STATE_COMPLETED
   );

   // Check to see if the task management operation is now finished (i.e.
   // all of the task terminations and the task management request are
   // complete).
   scif_sas_task_request_operation_complete(fw_task);
}
/**
 * @brief This method implements the actions taken when entering the
 *        COMPLETED state.
 *
 * @param[in]  object This parameter specifies the base object for which
 *             the state transition is occurring.  This is cast into a
 *             SCIF_SAS_TASK_REQUEST object in the method implementation.
 *
 * @return none
 */
@brief This method implements the actions taken when entering the
COMPLETED state.

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

@return none
@brief This method implements the actions taken when entering the COMPLETED state . @param [ in ] object This parameter specifies the base object for which the state transition is occurring . This is cast into a SCIF_SAS_TASK_REQUEST object in the method implementation . @return none
static
void scif_sas_task_request_completed_state_enter(
   SCI_BASE_OBJECT_T *object
)
{
   SCIF_SAS_TASK_REQUEST_T * fw_task = (SCIF_SAS_TASK_REQUEST_T *)object;
   SET_STATE_HANDLER(
      &fw_task->parent,
      scif_sas_task_request_state_handler_table,
      SCI_BASE_REQUEST_STATE_COMPLETED
   );
   scif_sas_task_request_operation_complete(fw_task);
}
static void scif_sas_task_request_completed_state_enter ( SCI_BASE_OBJECT_T * object ) { SCIF_SAS_TASK_REQUEST_T * fw_task = ( SCIF_SAS_TASK_REQUEST_T * ) object ; SET_STATE_HANDLER ( & fw_task -> parent , scif_sas_task_request_state_handler_table , SCI_BASE_REQUEST_STATE_COMPLETED ) ; scif_sas_task_request_operation_complete ( fw_task ) ; }
@brief This method implements the actions taken when entering the
        COMPLETED state.
@brief This method implements the actions taken when entering the COMPLETED state .
// Check to see if the task management operation is now finished (i.e. // all of the task terminations and the task management request are // complete).