FreeBSD/sys/dev/isci/scil/scic_sds_remote_node_context.c
/**
* This method will setup the remote node context object so it will
* transition to its final state.
*
* @param[in] this_rnc
* @param[in] the_callback
* @param[in] callback_parameter
*
* @return none
*/
This method will setup the remote node context object so it will
transition to its final state.
This method will setup the remote node context object so it will transition to its final state .
static
void scic_sds_remote_node_context_setup_to_destory(
   SCIC_SDS_REMOTE_NODE_CONTEXT_T         * this_rnc,
   SCIC_SDS_REMOTE_NODE_CONTEXT_CALLBACK   the_callback,
   void                                   * callback_parameter
)
{
   this_rnc->destination_state = SCIC_SDS_REMOTE_NODE_DESTINATION_STATE_FINAL;
   this_rnc->user_callback     = the_callback;
   this_rnc->user_cookie       = callback_parameter;
}
static void scic_sds_remote_node_context_setup_to_destory ( SCIC_SDS_REMOTE_NODE_CONTEXT_T * this_rnc , SCIC_SDS_REMOTE_NODE_CONTEXT_CALLBACK the_callback , void * callback_parameter ) { this_rnc -> destination_state = SCIC_SDS_REMOTE_NODE_DESTINATION_STATE_FINAL ; this_rnc -> user_callback = the_callback ; this_rnc -> user_cookie = callback_parameter ; }
This method will setup the remote node context object so it will
transition to its final state.
This method will setup the remote node context object so it will transition to its final state .