callout_init_mtx
void callout_init_mtx(struct callout *, struct mtx *, int);
callout_init_mtx(&sc->aw_timeoutc, &sc->aw_mtx, 0);
callout_init_mtx(&sc->stat_ch, &sc->mtx, 0);
callout_init_mtx(&sc->emac_tick_ch, &sc->emac_mtx, 0);
callout_init_mtx(&sc->sc_callout, &sc->sc_mtx, 0);
callout_init_mtx(&sc->temp_upd, &sc->temp_upd_mtx, 0);
callout_init_mtx(&sc->stat_ch, &sc->mtx, 0);
callout_init_mtx(&vtimer_cpu->phys_timer.callout,
callout_init_mtx(&vtimer_cpu->virt_timer.callout,
callout_init_mtx(&softc->sendordered_c, cam_periph_mtx(periph), 0);
callout_init_mtx(&isc->ticker, cam_periph_mtx(periph), 0);
callout_init_mtx(&device->callout, &devq->send_mtx, 0);
callout_init_mtx(&lun->ie_callout, &lun->lun_lock, 0);
callout_init_mtx(&softc->tpc_timeout, &softc->ctl_lock, 0);
callout_init_mtx(&softc->mediapoll_c, cam_periph_mtx(periph), 0);
callout_init_mtx(&softc->sendordered_c, cam_periph_mtx(periph), 0);
callout_init_mtx(&softc->mediapoll_c, cam_periph_mtx(periph), 0);
callout_init_mtx(&enc->status_updater, cam_periph_mtx(enc->periph), 0);
callout_init_mtx(&hrtimer->callout, &hrtimer->mtx, 0);
callout_init_mtx(&dwork->timer.callout, &dwork->timer.mtx, 0);
callout_init_mtx(&sc->aac_daemontime, &sc->aac_io_lock, 0);
callout_init_mtx(&sc->aac_daemontime, &sc->aac_io_lock, 0);
callout_init_mtx(&acpi_sleep_timer, &acpi_mutex, 0);
callout_init_mtx(&sc->tick_ch, &sc->mtx, 0);
callout_init_mtx(&sc->age_tick_ch, &sc->age_mtx, 0);
callout_init_mtx(&slot->timeout, &ch->mtx, 0);
callout_init_mtx(&ch->pm_timer, &ch->mtx, 0);
callout_init_mtx(&ch->reset_timer, &ch->mtx, 0);
callout_init_mtx(&adapter->stats_callout, &adapter->stats_mtx, 0);
callout_init_mtx(&adapter->wd_callout, &adapter->wd_mtx, 0);
callout_init_mtx(&sc->alc_tick_ch, &sc->alc_mtx, 0);
callout_init_mtx(&sc->ale_tick_ch, &sc->ale_mtx, 0);
callout_init_mtx(&request->callout, &ch->state_mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&request->callout, &ch->state_mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&sc->sc_cal_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_wd_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->bce_tick_callout, &sc->bce_mtx, 0);
callout_init_mtx(&sc->bce_pulse_callout, &sc->bce_mtx, 0);
callout_init_mtx(&sc->bfe_stat_co, &sc->bfe_mtx, 0);
callout_init_mtx(&sc->bge_stat_ch, &sc->bge_mtx, 0);
callout_init_mtx(&sc->sc_calib_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_led_blink_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_watchdog_timer, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_led_blink_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_rfswitch_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_task_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_watchdog_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->tick_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_tick_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_rx_ch, &sc->sc_mtx, 0);
callout_init_mtx(&cfe_timer, tty_getlock(tp), 0);
callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0);
callout_init_mtx(&sc->sfl_callout, &sc->sfl_lock, 0);
callout_init_mtx(&vi->tick, &vi->tick_mtx, 0);
callout_init_mtx(&sc->sfl_callout, &sc->sfl_lock, 0);
callout_init_mtx(&te->te_callout, &te->te_lock, 0);
callout_init_mtx(&sc->dc_stat_ch, &sc->dc_mtx, 0);
callout_init_mtx(&sc->dc_wdog_ch, &sc->dc_mtx, 0);
callout_init_mtx(&sc->dwc_callout, &sc->mtx, 0);
callout_init_mtx(&sc->callout, &sc->lock, 0);
callout_init_mtx(&sc->sc_tick, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_phy_callout, &sc->sc_mtx, 0);
callout_init_mtx(&sc->callout_tick, &sc->sc_mtx, 0);
callout_init_mtx(&sc->tick_callout, &sc->mtx, 0);
callout_init_mtx(&sc->callout_tick, &sc->sc_mtx, 0);
callout_init_mtx(&sc->callout_tick, &sc->callout_mtx, 0);
callout_init_mtx(&evdev->ev_rep_callout,
callout_init_mtx(&fd->toffhandle, &fd->fdc->fdc_mtx, 0);
callout_init_mtx(&sc->ffec_callout, &sc->mtx, 0);
callout_init_mtx(&sdev->login_callout, &sbp->mtx, 0);
callout_init_mtx(&ocb->timer, &sbp->mtx, 0);
callout_init_mtx(&target->mgm_ocb_timeout, &sbp->mtx, 0);
callout_init_mtx(&target->scan_callout, &sbp->mtx, 0);
callout_init_mtx(&sc->stat_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_tick_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_rx_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->callout, &sc->mtx, 0);
callout_init_mtx(&key->debounce_callout, &key->mtx, 0);
callout_init_mtx(&key->repeat_callout, &key->mtx, 0);
callout_init_mtx(&sc->sc_callout, &sc->sc_mtx, 0);
callout_init_mtx(&vbus_ext->timer, &vbus_ext->lock, 0);
callout_init_mtx(&ext->timeout, &vbus_ext->lock, 0);
callout_init_mtx(&tmp_srb->timeout, &hba->lock, 0);
callout_init_mtx(&pAdapter->event_timer_connect, &pAdapter->lock, 0);
callout_init_mtx(&pAdapter->event_timer_disconnect, &pAdapter->lock, 0);
callout_init_mtx(&pmap->timeout, &pAdapter->lock, 0);
callout_init_mtx(&vbus_ext->timer, &vbus_ext->lock, 0);
callout_init_mtx(&ext->timeout, &vbus_ext->lock, 0);
callout_init_mtx(&vbus_ext->timer, &vbus_ext->lock, 0);
callout_init_mtx(&ext->timeout, &vbus_ext->lock, 0);
callout_init_mtx(&reqp->callout, &sc->pending_mutex, 0);
callout_init_mtx(&sc->admin_timer, &sc->admin_mtx, 0);
callout_init_mtx(&ida->ch, &ida->lock, 0);
callout_init_mtx(&sc->timer, &sc->queue_mtx, 0);
callout_init_mtx(&sc->sc_wdtimer, &sc->sc_mtx, 0);
callout_init_mtx(&timer->callout, &isci_controller->lock, FALSE);
callout_init_mtx(&fc->gdt, &isp->isp_lock, 0);
callout_init_mtx(&isp->isp_osinfo.tmo, &isp->isp_lock, 0);
callout_init_mtx(&tp->timer, &isp->isp_lock, 0);
callout_init_mtx(&pcmd->wdog, &isp->isp_lock, 0);
callout_init_mtx(&sc->sc_wdtimer, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_rftimer, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_ledtimer, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_watchdog_to, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_led_blink_to, &sc->sc_mtx, 0);
callout_init_mtx(&sc->calib_to, &sc->sc_mtx, 0);
callout_init_mtx(&sc->scan_timeout, &sc->sc_mtx, 0);
callout_init_mtx(&sc->watchdog_to, &sc->sc_mtx, 0);
callout_init_mtx(&sc->watchdog_to, &sc->sc_mtx, 0);
callout_init_mtx(&pf->admin_timer, &pf->admin_mtx, 0);
callout_init_mtx(&sc->jme_tick_ch, &sc->jme_mtx, 0);
callout_init_mtx(&led_ch, &led_mtx, 0);
callout_init_mtx(&sc->lge_stat_callout, &sc->lge_mtx, 0);
callout_init_mtx(&sc->malo_watchdog_timer, &sc->malo_mtx, 0);
callout_init_mtx(&sc->mlx_timeout, &sc->mlx_io_lock, 0);
callout_init_mtx(&c->rq.watchdog, &c->rq.mtx, 0);
callout_init_mtx(&sq->cev_callout, &sq->lock, 0);
callout_init_mtx(&priv->watchdog, &priv->async_events_mtx, 0);
callout_init_mtx(&sq->cev_callout, &sq->lock, 0);
callout_init_mtx(&sc->tick, &sc->sc_mtx, 0); /* Callout to emulate interrupts */
callout_init_mtx(&cmd->callout, &sc->mpi3mr_mtx, 0);
callout_init_mtx(&cm->cm_callout, &sc->mpr_mtx, 0);
callout_init_mtx(&sc->periodic, &sc->mpr_mtx, 0);
callout_init_mtx(&sc->device_check_callout, &sc->mpr_mtx, 0);
callout_init_mtx(&cm->cm_callout, &sc->mps_mtx, 0);
callout_init_mtx(&sc->periodic, &sc->mps_mtx, 0);
callout_init_mtx(&sc->device_check_callout, &sc->mps_mtx, 0);
callout_init_mtx(c, &(mpt)->mpt_lock, 0)
callout_init_mtx(&cmd->cm_callout, &sc->sim_lock, 0);
callout_init_mtx(&sc_if->msk_tick_ch, &sc_if->msk_softc->msk_mtx, 0);
callout_init_mtx(&ch->pm_timer, &ch->mtx, 0);
callout_init_mtx(&ch->reset_timer, &ch->mtx, 0);
callout_init_mtx(&slot->timeout, &ch->mtx, 0);
callout_init_mtx(&sc->sc_watchdog, &sc->sc_mtx, 0);
callout_init_mtx(&sc->co_hdl, &sc->driver_mtx, 0);
callout_init_mtx(&sc->my_autoneg_timer, &sc->my_mtx, 0);
callout_init_mtx(&sc->my_watchdog, &sc->my_mtx, 0);
callout_init_mtx(&sc->tick, &sc->lock, 0);
callout_init_mtx(&kring->tx_event_callout,
callout_init_mtx(&sc->nfe_stat_ch, &sc->nfe_mtx, 0);
callout_init_mtx(&sc->nge_stat_ch, &sc->nge_mtx, 0);
callout_init_mtx(&ns->ns_part1.np_callout, &ns->ns_mtx, 0);
callout_init_mtx(&ns->ns_part2.np_callout, &ns->ns_mtx, 0);
callout_init_mtx(&qpair->timer, &qpair->recovery, 0);
callout_init_mtx(&fcp->ldt, &ocs->sim_lock, 0);
callout_init_mtx(&timer->callout, &timer->lock, 0);
callout_init_mtx(&ofw_timer, tty_getlock(tp), 0);
callout_init_mtx( &pmcsc->OS_timer, &pmcsc->OS_timer_lock, 0 );
callout_init_mtx( &pmcsc->IO_timer, &pmcsc->IO_timer_lock, 0 );
callout_init_mtx( &pmcsc->devRmTimer,
callout_init_mtx(c, ppb->ppc_lock, flags);
callout_init_mtx(&request->timeout, &psc->iop->mtx, 0);
callout_init_mtx(&callout, &callout_mtx, 0);
callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
callout_init_mtx(&sc->sc_timeout, &sc->sc_mtx, 0);
callout_init_mtx(&sc->rl_stat_callout, &sc->rl_mtx, 0);
callout_init_mtx(&sc->rtsx_timeout_callout, &sc->rtsx_mtx, 0);
callout_init_mtx(&sc->sc_watchdog_to, &sc->sc_mtx, 0);
callout_init_mtx(&rs->rs_c2h_report, &sc->sc_mtx, 0);
callout_init_mtx(&rs->rs_c2h_report, &sc->sc_mtx, 0);
callout_init_mtx(&sc->wch, &sc->lock, 0);
callout_init_mtx(&slot->timeout_callout, &slot->mtx, 0);
callout_init_mtx(&slot->retune_callout, &slot->mtx, 0);
callout_init_mtx(&sc->sge_stat_ch, &sc->sge_mtx, 0);
callout_init_mtx(&slot->timeout, &ch->mtx, 0);
callout_init_mtx(&sc->sis_stat_ch, &sc->sis_mtx, 0);
callout_init_mtx(&sc_if->sk_tick_ch, &sc_if->sk_softc->sk_mtx, 0);
callout_init_mtx(&sc_if->sk_watchdog_ch, &sc_if->sk_softc->sk_mtx, 0);
callout_init_mtx(&sc->smc_watchdog, &sc->smc_mtx, 0);
callout_init_mtx(&sc->smc_mii_tick_ch, &sc->smc_mtx,
callout_init_mtx(&sc->callout, &sc->lock, 0);
callout_init_mtx(&sc->ste_callout, &sc->ste_mtx, 0);
callout_init_mtx(&sc->sc_tick_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->ti_watchdog, &sc->ti_mtx, 0);
callout_init_mtx(&hwq->timer, &hwq->recovery_lock, 0);
callout_init_mtx(&sc->sc_callout, &sc->sc_mutex, 0);
callout_init_mtx(&sc->sc_callout, &sc->sc_mtx, 0);
callout_init_mtx(&sc->sc_c, &sc->sc_mtx, 0);
#define usb_callout_init_mtx(c,m,f) callout_init_mtx(&(c)->co,m,f)
callout_init_mtx(&sc->sc_callout, &sc->sc_mtx, 0);
callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0);
callout_init_mtx(&sc->vge_watchdog, &sc->vge_mtx, 0);
callout_init_mtx(&sc->vtnet_tick_ch, VTNET_CORE_MTX(sc), 0);
callout_init_mtx(&req->vsr_callout, VTSCSI_MTX(sc), 0);
callout_init_mtx(&hcb->callout, &sc->lock, 0);
callout_init_mtx(&nic->check_link, &nic->check_link_mtx, 0);
callout_init_mtx(&nic->stats_callout, &nic->stats_mtx, 0);
callout_init_mtx(&lmac->check_link, &lmac->check_link_mtx, 0);
callout_init_mtx(&lmac->check_link, &lmac->check_link_mtx, 0);
callout_init_mtx(&sc->vr_stat_callout, &sc->vr_mtx, 0);
callout_init_mtx(&vd->vd_timer, &vd->vd_lock, 0);
callout_init_mtx(&sc->vte_tick_ch, &sc->vte_mtx, 0);
callout_init_mtx(&rl->rl_gc, &rl->rl_mtx, 0);
callout_init_mtx(&sc->calib_to, &sc->rxon_mtx, 0);
callout_init_mtx(&sc->scan_timeout, &sc->rxon_mtx, 0);
callout_init_mtx(&sc->tx_timeout, &sc->txq_state_mtx, 0);
callout_init_mtx(&sc->watchdog_rfkill, &sc->sc_mtx, 0);
callout_init_mtx(&hal->hw.timer_intr, &hal->hal_mtx, 0);
callout_init_mtx(&cons->callout, tty_getlock(tp), 0);
callout_init_mtx(&sc->xae_callout, &sc->mtx, 0);
callout_init_mtx(&sc->xl_tick_callout, &sc->xl_mtx, 0);
callout_init_mtx(&sc->sc_callout, &sc->sc_mtx, 0);
callout_init_mtx(&p->p_itcallout, &p->p_mtx, 0);
callout_init_mtx(&p->p_limco, &p->p_mtx, 0);
callout_init_mtx(&conscallout, tty_getlock(tp), 0);
callout_init_mtx(&p2->p_itcallout, &p2->p_mtx, 0);
callout_init_mtx(&p2->p_limco, &p2->p_mtx, 0);
callout_init_mtx(&it->it_callout, &it->it_mtx, 0);
callout_init_mtx(&logsoftc.sc_callout, &msgbuf_lock, 0);
callout_init_mtx(&timeout_task->c, &queue->tq_mutex,
callout_init_mtx(&tfd->tfd_callout, &tfd->tfd_lock, 0);
callout_init_mtx(&d->bd_callout, &d->bd_lock, 0);
callout_init_mtx(&bs->bs_bstpcallout, &bs->bs_mtx, 0);
callout_init_mtx(&lsc->lsc_transit_callout, &lsc->lsc_mtx, 0);
callout_init_mtx(&lsc->lsc_callout, &lsc->lsc_mtx, 0);
callout_init_mtx(&sc->sc_brcallout, &sc->sc_rt_mtx, 0);
callout_init_mtx(&sc->sc_watchdog, &sc->sc_mtx, 0);
callout_init_mtx(&txq->ift_timer, &txq->ift_mtx, 0);
callout_init_mtx(&txq->ift_netmap_timer, &txq->ift_mtx, 0);
callout_init_mtx(&dfs->cac_timer, IEEE80211_LOCK_OBJ(ic), 0);
callout_init_mtx(&dfs->nol_timer, IEEE80211_LOCK_OBJ(ic), 0);
callout_init_mtx(&vap->iv_swbmiss, IEEE80211_LOCK_OBJ(ic), 0);
callout_init_mtx(&pcb->timo, &pcb->pcb_mtx, 0);
callout_init_mtx(&pcb->timo, &pcb->pcb_mtx, 0);
callout_init_mtx(&seq->rack_timer, &seq->mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&seq->xack_timer, &seq->mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&sc->sc_md_tmo, &sc->sc_mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&sc->sc_md6_tmo, &sc->sc_mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&sc->sc_ad_tmo, &sc->sc_mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&V_ipq[i].timer, &V_ipq[i].lock, 0);
callout_init_mtx(&V_tcp_syncache.hashbase[i].sch_timer,
callout_init_mtx(&V_tcp_syncache.pause_co, &V_tcp_syncache.pause_mtx,
callout_init_mtx(&V_expire_upcalls_ch, MFC6_LOCKPTR(), 0);
callout_init_mtx(&ndq->ndq_callout, &ifp->if_addr_lock,
callout_init_mtx(&pst->aqm_pie_callout, &pst->lock_mtx,
callout_init_mtx(&pst->aqm_pie_callout, &pst->lock_mtx,
callout_init_mtx(&cfg->periodic, &cfg->periodic_lock, 0);
callout_init_mtx(&pd->pd_tmo, &b->b_mtx, CALLOUT_RETURNUNLOCKED);
callout_init_mtx(&sc->sc_bulk_tmo, &sc->sc_bulk_mtx, 0);
callout_init_mtx(&sc->sc_bulkfail_tmo, &sc->sc_bulk_mtx, 0);
callout_init_mtx(&pflowif->sc_tmo, &pflowif->sc_lock, 0);
callout_init_mtx(&pflowif->sc_tmo6, &pflowif->sc_lock, 0);
callout_init_mtx(&pflowif->sc_tmo_nat4, &pflowif->sc_lock, 0);
callout_init_mtx(&pflowif->sc_tmo_tmpl, &pflowif->sc_lock, 0);
callout_init_mtx(&ch->pm_timer, &ch->mtx, 0);
callout_init_mtx(&slot->timeout, &ch->mtx, 0);
callout_init_mtx(&sc->sc_tick_ch, &sc->sc_mtx, 0);
callout_init_mtx(&vtimer->callout, &vtimer->mtx, 0);
callout_init_mtx(&softdep_callout, &lk, 0);
callout_init_mtx(&callout_free, &callout_free_mutex, 0);
callout_init_mtx(&vhbastatic.tick, &vhba->lock, 0);