FreeBSD/sys/dev/isci/scil/scic_sds_remote_node_table.c
/**
 * This method will release the remote node index back into the remote node
 * table free pool.
 *
 * @param[in] remote_node_table The remote node table to which the remote node
 *       index is to be freed.
 * @param[in] remote_node_count This is the count of consecutive remote nodes
 *       that are to be freed.
 * @param[in] remote_node_index This is the remote node index of the start of
 *       the number of remote nodes to be freed.
 */
This method will release the remote node index back into the remote node
table free pool.

@param[in] remote_node_table The remote node table to which the remote node
index is to be freed.
@param[in] remote_node_count This is the count of consecutive remote nodes
that are to be freed.
@param[in] remote_node_index This is the remote node index of the start of
the number of remote nodes to be freed.
This method will release the remote node index back into the remote node table free pool . @param [ in ] remote_node_table The remote node table to which the remote node index is to be freed . @param [ in ] remote_node_count This is the count of consecutive remote nodes that are to be freed . @param [ in ] remote_node_index This is the remote node index of the start of the number of remote nodes to be freed .
void scic_sds_remote_node_table_release_remote_node_index(
   SCIC_REMOTE_NODE_TABLE_T * remote_node_table,
   U32                        remote_node_count,
   U16                        remote_node_index
)
{
   if (remote_node_count == SCU_SSP_REMOTE_NODE_COUNT)
   {
      scic_sds_remote_node_table_release_single_remote_node(
                                       remote_node_table, remote_node_index);
   }
   else if (remote_node_count == SCU_STP_REMOTE_NODE_COUNT)
   {
      scic_sds_remote_node_table_release_triple_remote_node(
                                       remote_node_table, remote_node_index);
   }
}
void scic_sds_remote_node_table_release_remote_node_index ( SCIC_REMOTE_NODE_TABLE_T * remote_node_table , U32 remote_node_count , U16 remote_node_index ) { if ( remote_node_count == SCU_SSP_REMOTE_NODE_COUNT ) { scic_sds_remote_node_table_release_single_remote_node ( remote_node_table , remote_node_index ) ; } else if ( remote_node_count == SCU_STP_REMOTE_NODE_COUNT ) { scic_sds_remote_node_table_release_triple_remote_node ( remote_node_table , remote_node_index ) ; } }
This method will release the remote node index back into the remote node
 table free pool.
This method will release the remote node index back into the remote node table free pool .