FreeBSD/sys/dev/isci/scil/scic_sds_remote_node_table.c
/**
 * This method will release a group of three consecutive remote nodes back to
 * the free remote nodes.
 *
 * @param[in] remote_node_table This is the remote node table to which the
 *       remote node index is to be freed.
 * @param[in] remote_node_index This is the remote node index which is being
 *       freed.
 */
This method will release a group of three consecutive remote nodes back to
the free remote nodes.

@param[in] remote_node_table This is the remote node table to which the
remote node index is to be freed.
@param[in] remote_node_index This is the remote node index which is being
freed.
This method will release a group of three consecutive remote nodes back to the free remote nodes . @param [ in ] remote_node_table This is the remote node table to which the remote node index is to be freed . @param [ in ] remote_node_index This is the remote node index which is being freed .
static
void scic_sds_remote_node_table_release_triple_remote_node(
   SCIC_REMOTE_NODE_TABLE_T * remote_node_table,
   U16                        remote_node_index
)
{
   U32 group_index;
   group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT;
   scic_sds_remote_node_table_set_group_index(
      remote_node_table, 2, group_index
   );
   scic_sds_remote_node_table_set_group(remote_node_table, group_index);
}
static void scic_sds_remote_node_table_release_triple_remote_node ( SCIC_REMOTE_NODE_TABLE_T * remote_node_table , U16 remote_node_index ) { U32 group_index ; group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT ; scic_sds_remote_node_table_set_group_index ( remote_node_table , 2 , group_index ) ; scic_sds_remote_node_table_set_group ( remote_node_table , group_index ) ; }
This method will release a group of three consecutive remote nodes back to
 the free remote nodes.
This method will release a group of three consecutive remote nodes back to the free remote nodes .