FreeBSD/sys/dev/isci/scil/scic_sds_remote_node_context.c
/**
* This method handles destruct calls from the various state handlers.  The
* remote node context can be requested to destroy from any state. If there
* was a user callback it is always replaced with the request to destroy user
* callback.
*
* @param[in] this_rnc
* @param[in] the_callback
* @param[in] callback_parameter
*
* @return SCI_STATUS
*/
This method handles destruct calls from the various state handlers.  The
remote node context can be requested to destroy from any state. If there
was a user callback it is always replaced with the request to destroy user
callback.
This method handles destruct calls from the various state handlers . The remote node context can be requested to destroy from any state . If there was a user callback it is always replaced with the request to destroy user callback .
static
SCI_STATUS scic_sds_remote_node_context_general_destruct_handler(
   SCIC_SDS_REMOTE_NODE_CONTEXT_T         * this_rnc,
   SCIC_SDS_REMOTE_NODE_CONTEXT_CALLBACK   the_callback,
   void                                   * callback_parameter
)
{
   scic_sds_remote_node_context_setup_to_destory(
      this_rnc, the_callback, callback_parameter
         );
   sci_base_state_machine_change_state(
      &this_rnc->state_machine,
      SCIC_SDS_REMOTE_NODE_CONTEXT_INVALIDATING_STATE
         );
   return SCI_SUCCESS;
}
static SCI_STATUS scic_sds_remote_node_context_general_destruct_handler ( SCIC_SDS_REMOTE_NODE_CONTEXT_T * this_rnc , SCIC_SDS_REMOTE_NODE_CONTEXT_CALLBACK the_callback , void * callback_parameter ) { scic_sds_remote_node_context_setup_to_destory ( this_rnc , the_callback , callback_parameter ) ; sci_base_state_machine_change_state ( & this_rnc -> state_machine , SCIC_SDS_REMOTE_NODE_CONTEXT_INVALIDATING_STATE ) ; return SCI_SUCCESS ; }
This method handles destruct calls from the various state handlers.
This method handles destruct calls from the various state handlers .