FreeBSD/sys/netpfil/ipfw/dn_sched_fq_pie.c
/* 
 * Clean up PIE status for sub-queue 'q' 
 * Stop callout timer and destroy mtx using fqpie_callout_cleanup() callout.
 */
Clean up PIE status for sub-queue 'q'
Stop callout timer and destroy mtx using fqpie_callout_cleanup() callout.
Clean up PIE status for sub - queue ' q ' Stop callout timer and destroy mtx using fqpie_callout_cleanup () callout .
static int
pie_cleanup(struct fq_pie_flow *q)
{
	struct pie_status *pst  = &q->pst;
	mtx_lock(&pst->lock_mtx);
	callout_reset_sbt(&pst->aqm_pie_callout,
		SBT_1US, 0, fqpie_callout_cleanup, q, 0);
	mtx_unlock(&pst->lock_mtx);
	return 0;
}
static int pie_cleanup ( struct fq_pie_flow * q ) { struct pie_status * pst = & q -> pst ; mtx_lock ( & pst -> lock_mtx ) ; callout_reset_sbt ( & pst -> aqm_pie_callout , SBT_1US , 0 , fqpie_callout_cleanup , q , 0 ) ; mtx_unlock ( & pst -> lock_mtx ) ; return 0 ; }
Clean up PIE status for sub-queue 'q'
 Stop callout timer and destroy mtx using fqpie_callout_cleanup() callout.
Clean up PIE status for sub - queue ' q ' Stop callout timer and destroy mtx using fqpie_callout_cleanup () callout .