FreeBSD/sys/dev/isci/scil/scic_sds_remote_node_context.c
/**
* This method will continue to resume a remote node context.  This is used
* in the states where a resume is requested while a resume is in progress.
*
* @param[in] this_rnc
* @param[in] the_callback
* @param[in] callback_parameter
*/
This method will continue to resume a remote node context.  This is used
in the states where a resume is requested while a resume is in progress.
This method will continue to resume a remote node context . This is used in the states where a resume is requested while a resume is in progress .
static
SCI_STATUS scic_sds_remote_node_context_continue_to_resume_handler(
   SCIC_SDS_REMOTE_NODE_CONTEXT_T         * this_rnc,
   SCIC_SDS_REMOTE_NODE_CONTEXT_CALLBACK   the_callback,
   void                                   * callback_parameter
)
{
   if (this_rnc->destination_state == SCIC_SDS_REMOTE_NODE_DESTINATION_STATE_READY)
   {
      this_rnc->user_callback = the_callback;
      this_rnc->user_cookie   = callback_parameter;
      return SCI_SUCCESS;
   }
   return SCI_FAILURE_INVALID_STATE;
}
static SCI_STATUS scic_sds_remote_node_context_continue_to_resume_handler ( SCIC_SDS_REMOTE_NODE_CONTEXT_T * this_rnc , SCIC_SDS_REMOTE_NODE_CONTEXT_CALLBACK the_callback , void * callback_parameter ) { if ( this_rnc -> destination_state == SCIC_SDS_REMOTE_NODE_DESTINATION_STATE_READY ) { this_rnc -> user_callback = the_callback ; this_rnc -> user_cookie = callback_parameter ; return SCI_SUCCESS ; } return SCI_FAILURE_INVALID_STATE ; }
This method will continue to resume a remote node context.
This method will continue to resume a remote node context .