FreeBSD/sys/dev/isci/isci_timer.c
/**
 * @brief This callback method asks the user to destroy the supplied timer.
 *
 * @param[in]  controller This parameter specifies the controller with
 *             which this timer is to associated.
 * @param[in]  timer This parameter specifies the timer to be destroyed.
 *
 * @return none
 */
@brief This callback method asks the user to destroy the supplied timer.
@param[in]  controller This parameter specifies the controller with
which this timer is to associated.
@param[in]  timer This parameter specifies the timer to be destroyed.

@return none
@brief This callback method asks the user to destroy the supplied timer . @param [ in ] controller This parameter specifies the controller with which this timer is to associated . @param [ in ] timer This parameter specifies the timer to be destroyed . @return none
void
scif_cb_timer_destroy(SCI_CONTROLLER_HANDLE_T scif_controller,
    void *timer_handle)
{
	struct ISCI_CONTROLLER *isci_controller = (struct ISCI_CONTROLLER *)
	    sci_object_get_association(scif_controller);
	scif_cb_timer_stop(scif_controller, timer_handle);
	sci_pool_put(isci_controller->timer_pool, (struct ISCI_TIMER *)timer_handle);
	isci_log_message(3, "TIMER", "destroy %p\n", timer_handle);
}
void scif_cb_timer_destroy ( SCI_CONTROLLER_HANDLE_T scif_controller , void * timer_handle ) { struct ISCI_CONTROLLER * isci_controller = ( struct ISCI_CONTROLLER * ) sci_object_get_association ( scif_controller ) ; scif_cb_timer_stop ( scif_controller , timer_handle ) ; sci_pool_put ( isci_controller -> timer_pool , ( struct ISCI_TIMER * ) timer_handle ) ; isci_log_message ( 3 , " " , " \n " , timer_handle ) ; }
@brief This callback method asks the user to destroy the supplied timer.
@brief This callback method asks the user to destroy the supplied timer .