mtx_destroy
void mtx_destroy(mtx_t *__mtx)
mtx_destroy(&hookprocs_lock);
void mtx_destroy(struct mtx *);
#define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
mtx_destroy(&sc->mtx_encls);
mtx_destroy(&sc->mtx);
mtx_destroy(&vatpic->mtx);
mtx_destroy(&vatpit->mtx);
mtx_destroy(&vhpet->mtx);
mtx_destroy(&vioapic->mtx);
mtx_destroy(&vlapic->timer_mtx);
mtx_destroy(&vrtc->mtx);
mtx_destroy(&vm->rendezvous_mtx);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&i2s->mtx);
mtx_destroy(&sc->aw_mtx);
mtx_destroy(&sc->aw_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->emac_mtx);
mtx_destroy(&alpine_serdes_eth_group_mode[i].lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
#define BCM_LINTC_LOCK_DESTROY(sc) mtx_destroy(&(sc)->bls_mtx)
mtx_destroy(&sc->sc_mtx);
#define IPU_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
#define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
#define MV_AP806_SEI_LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx);
mtx_destroy(&sc->sc_mtx);
#define GPIO_LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx);
#define LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
#define PMC_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx);
#define GPIO_LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx);
#define LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
#define LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
#define LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
#define LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
#define PWM_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define PWM_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define LCD_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx);
#define RTC_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
mtx_destroy(&sc->lock);
mtx_destroy(&sc->rx.lock);
mtx_destroy(&sc->tx.lock);
mtx_destroy(&_sc->sc_mtx);
#define TI_GPIO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define TI_I2C_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx)
mtx_destroy(&sc->sc_irq_devs[i].sc_mtx);
mtx_destroy(&sc->sc_mtx);
#define TI_SDMA_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
#define DEVCFG_SC_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx);
#define ZGPIO_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define QSPI_SC_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
#define ZSLCR_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define SPI_SC_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
#define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
mtx_destroy(&iommu->lock);
mtx_destroy(&pmap->sp_mtx);
#define PMC_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&i2s->mtx);
#define PHY_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx);
mtx_destroy(&irq->irq_spinmtx);
mtx_destroy(&irq->irq_spinmtx);
mtx_destroy(&vgic_cpu->lr_mtx);
mtx_destroy(&hyp->vgic->dist_mtx);
mtx_destroy(&vtimer_cpu->phys_timer.mtx);
mtx_destroy(&vtimer_cpu->virt_timer.mtx);
mtx_destroy(&vmmpmap_mtx);
mtx_destroy(&devq->send_mtx);
mtx_destroy(&bus->eb_mtx);
mtx_destroy(&target->luns_mtx);
mtx_destroy(&device->device_mtx);
mtx_destroy(&thr->queue_lock);
mtx_destroy(&softc->ctl_lock);
mtx_destroy(&lun->lun_lock);
mtx_destroy(&be_lun->queue_lock);
mtx_destroy(&be_lun->io_lock);
mtx_destroy(&be_lun->queue_lock);
mtx_destroy(&be_lun->io_lock);
mtx_destroy(&softc->lock);
mtx_destroy(&be_lun->queue_lock);
mtx_destroy(&be_lun->queue_lock);
mtx_destroy(&softc->lock);
mtx_destroy(&port->port_lock);
mtx_destroy(¶ms.ioctl_mtx);
mtx_destroy(&softc->lock);
mtx_destroy(&softc->ha_lock);
mtx_destroy(&softc->ha_lock);
mtx_destroy(&softc->tpc_lock);
mtx_destroy(&ctlfe_list_mtx);
mtx_destroy(&softc->lun_softc_mtx);
mtx_destroy(&softc->lun_softc_mtx);
#define spin_lock_destroy(_l) mtx_destroy(_l)
mtx_destroy(&lvif->mtx);
mtx_destroy(&lvif->mtx);
mtx_destroy(&lvif->mtx);
mtx_destroy(&(_lwiphy)->wwk_mtx)
mtx_destroy(&(_lhw)->scan_mtx);
mtx_destroy(&(_lhw)->txq_mtx);
mtx_destroy(&(_lhw)->rxq_mtx);
mtx_destroy(&(_lsta)->txq_mtx);
mtx_destroy(&(_ltxq)->ltxq_mtx);
mtx_destroy(&idr->lock);
mtx_destroy(&ww_mutex_global);
#define NAPI_LOCK_DESTROY(_ndev) mtx_destroy(&(_ndev)->napi_mtx)
mtx_destroy(&vmmaplock);
mtx_destroy(&priv->lock);
mtx_destroy(&pool->pool_lock);
mtx_destroy(&tw->mtx);
mtx_destroy(&wq->exec_mtx);
mtx_destroy(&x86bios_lock);
mtx_destroy(&x86bios_lock);
mtx_destroy(&qp->cq_lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->aac_aifq_lock);
mtx_destroy(&sc->aac_io_lock);
mtx_destroy(&sc->aac_container_lock);
mtx_destroy(&sc->aac_io_lock);
mtx_destroy(&as->as_lock);
mtx_destroy(&am->am_lock);
mtx_destroy(&al->al_lock);
mtx_destroy(&sc->sc_mutex);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->age_mtx);
mtx_destroy(&sc->as_lock);
mtx_destroy(&ctlr->ch_mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&enc->mtx);
mtx_destroy(&enc->mtx);
mtx_destroy(&tx_ring->br_mtx);
mtx_destroy(&adapter->stats_mtx);
mtx_destroy(&adapter->wd_mtx);
mtx_destroy(&sc->alc_mtx);
mtx_destroy(&sc->ale_mtx);
mtx_destroy(&alpm->lock);
#define AMDGPIO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
mtx_destroy(&amdpm_sc->lock);
mtx_destroy(&amdsmb_sc->lock);
mtx_destroy(&sc->smn_lock);
mtx_destroy(&sc->sc_lock);
#define ARCMSR_LOCK_DESTROY(l) mtx_destroy(l)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&ch->state_mtx);
mtx_destroy(&data->lock);
mtx_destroy(&ATH_NODE(ni)->an_mtx);
#define ATH_RX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_rx_mtx)
#define ATH_TXBUF_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_txbuflock)
#define ATH_TXSTATUS_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_txcomplock)
#define ATH_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->axq_lock)
#define ATH_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define ATH_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_tx_mtx)
#define ATH_PCU_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_pcu_mtx)
mtx_destroy(&sc->sc_mtx);
#define BCE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->bce_mtx)
mtx_destroy(&sc->bfe_mtx);
#define BGE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->bge_mtx)
#define BHND_CLKCTL_LOCK_DESTROY(_clkctl) mtx_destroy(&(_clkctl->cc_mtx))
mtx_destroy(&bsr->lock);
#define BHNDB_PCI_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define BHNDB_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
mtx_destroy(&r->dw_steal_mtx);
mtx_destroy(&br->dw_steal_mtx);
#define CC_GPIO_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define CHIPC_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define PWRCTL_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define BHND_PCI_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define BHND_PCIE2_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define BPMU_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define BHND_NVSTORE_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define SIBA_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx)
#define BNXT_HWRM_LOCK_DESTROY(_softc) mtx_destroy(&(_softc)->hwrm_lock)
mtx_destroy(&mgmt_lock);
#define BWI_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
#define BWN_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
mtx_destroy(&fp->tx_mtx);
mtx_destroy(&fp->rx_mtx);
mtx_destroy(&sc->core_mtx);
mtx_destroy(&sc->sp_mtx);
mtx_destroy(&sc->dmae_mtx);
mtx_destroy(&sc->port.phy_mtx);
mtx_destroy(&sc->fwmb_mtx);
mtx_destroy(&sc->print_mtx);
mtx_destroy(&sc->stats_mtx);
mtx_destroy(&sc->mcast_mtx);
#define CGEM_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
#define CAS_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
mtx_destroy(&sc->sc_sessions_lock);
mtx_destroy(&sc->sc_requests_lock);
mtx_destroy(&sc->sc_sdesc_lock);
mtx_destroy(&sc->sc_tdesc_lock);
mtx_destroy(&sc->sc_sc_lock);
mtx_destroy(&sc->sc_sessions_lock);
mtx_destroy(&sc->sc_requests_lock);
mtx_destroy(&sc->sc_sdesc_lock);
mtx_destroy(&sc->sc_tdesc_lock);
mtx_destroy(&sc->sc_sc_lock);
mtx_destroy(&sc->qlock);
mtx_destroy(&sc->ciss_mtx);
#define PORT_LOCK_DEINIT(port) mtx_destroy(&(port)->lock)
#define ADAPTER_LOCK_DEINIT(adap) mtx_destroy(&(adap)->lock)
mtx_destroy((lock)); \
#define MTX_DESTROY mtx_destroy
mtx_destroy(&t3_uld_list_lock);
mtx_destroy(&t3_list_lock);
mtx_destroy(&sc->lock);
mtx_destroy(&s->lock);
mtx_destroy(&icc->cmp_lock);
mtx_destroy(&qp->rx_buffers.lock);
mtx_destroy(&qp->tx_buffers.lock);
mtx_destroy(&qp->fl_cid_lock);
mtx_destroy(&clip_db_lock);
mtx_destroy(&t->hftid_lock);
mtx_destroy(&d->l2tab[i].lock);
mtx_destroy(&pi->pi_lock);
mtx_destroy(&sc->tids.ftid_lock);
mtx_destroy(&sc->tids.atid_lock);
mtx_destroy(&sc->ifp_lock);
mtx_destroy(&sc->sfl_lock);
mtx_destroy(&sc->reg_lock);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&vi->tick_mtx);
mtx_destroy(&t->atid_lock);
mtx_destroy(&sc->tc_lock);
mtx_destroy(&t->etid_lock);
mtx_destroy(&cst->lock);
mtx_destroy(&fl->fl_lock);
mtx_destroy(&eq->eq_lock);
mtx_destroy(&s->smtab[i].lock);
mtx_destroy(&ddp_orphan_pagesets_lock);
mtx_destroy(&toep->ddp.lock);
mtx_destroy(&toep->ddp.cache_lock);
mtx_destroy(&t->stid_lock);
mtx_destroy(&td->unsent_wr_lock);
mtx_destroy(&td->lctx_hash_lock);
mtx_destroy(&td->toep_list_lock);
mtx_destroy(&te->te_lock);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->dc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&ch->xmit_mtx);
mtx_destroy(&ch->dma_mtx);
mtx_destroy(&cd->mtx);
mtx_destroy(&cd->mtx);
mtx_destroy(&mcp->lock);
mtx_destroy(&swp->lock);
#define DRM_SPINUNINIT(l) mtx_destroy(l)
mtx_destroy(&drm_magic_lock);
mtx_destroy(&names->lock);
mtx_destroy(&dev->vbl_lock);
mtx_destroy(&dev->vblank_time_lock);
mtx_destroy(&c->lock);
mtx_destroy(&dev->irq_lock);
mtx_destroy(&dev->count_lock);
mtx_destroy(&dev->event_lock);
mtx_destroy(&dev->ctxlist_mutex);
mtx_destroy(&dev->pcir_lock);
mtx_destroy(&dev->irq_lock);
mtx_destroy(&dev->count_lock);
mtx_destroy(&dev->event_lock);
mtx_destroy(&dev->ctxlist_mutex);
mtx_destroy(&dev->pcir_lock);
mtx_destroy(&rman->lock);
mtx_destroy(&sc->mtx);
mtx_destroy(&efi_lock);
mtx_destroy(&txr->ring_mtx);
mtx_destroy(&sc->mii_lock);
mtx_destroy(&softc->enic_lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->callout_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&client->ec_buffer_mtx);
mtx_destroy(&evdev->ev_mtx);
mtx_destroy(&evdev->ev_mtx);
mtx_destroy(&fdc->fdc_mtx);
#define SYSCON_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx);
#define FFEC_LOCK_DESTROY(sc) mtx_destroy(&(sc)->mtx);
mtx_destroy(&fc->tlabel_lock);
mtx_destroy(&fc->wait_lock);
mtx_destroy(FW_GMTX(&sc->fc));
mtx_destroy(&fwe->mtx);
mtx_destroy(&fwip->mtx);
mtx_destroy(&sbp->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&req->mtx);
mtx_destroy(&rp->mtx);
mtx_destroy(&sc->trs->mtx);
#define AT45D_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define CQSPI_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&sc->disk_mtx);
#define M25PXX_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define N25Q_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define W25N_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define GPIO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx)
mtx_destroy(&sc->sc_mtx);
#define GEM_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define GLXIIC_LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx);
mtx_destroy(&sc->sc_task_mtx);
mtx_destroy(&sc->mtx);
#define BYTGPIO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define CHVGPIO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
mtx_destroy(&sc->sc_mtx);
#define GPIOBUS_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx)
mtx_destroy(&sc->sc_pin_intr[i].mtx);
mtx_destroy(&priv->mtx);
#define GPIOKEYS_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx);
#define GPIOKEY_LOCK_DESTROY(_key) mtx_destroy(&(_key)->mtx);
#define GPIOLED_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define PL061_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define GPIO_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&tx->ring_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&hidquirk_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&vbus_ext->lock);
mtx_destroy(&hba->lock);
mtx_destroy(&vbus_ext->lock);
mtx_destroy(&vbus_ext->lock);
mtx_destroy(&pmc_kthread_mtx);
mtx_destroy(&po->po_mtx);
mtx_destroy(&pmc_threadfreelist_mtx);
mtx_destroy(&pmc_processhash_mtx);
mtx_destroy(&hwt_backend_mtx);
mtx_destroy(&ident_set_mutex);
mtx_destroy(&hwt_contexthash_mtx);
mtx_destroy(&hwt_ownerhash_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->ks_mtx);
mtx_destroy(&txr->hn_txlist_spin);
mtx_destroy(&txr->hn_tx_lock);
mtx_destroy(&c->lock);
mtx_destroy(&hbus->device_list_lock);
mtx_destroy(&hbus->config_lock);
mtx_destroy(&hbus->device_list_lock);
mtx_destroy(&hbus->config_lock);
mtx_destroy(&sc->pending_mutex);
mtx_destroy(&sc->vmbus_prichan_lock);
mtx_destroy(&sc->vmbus_chan_lock);
mtx_destroy(&sc->vmbus_prichan_lock);
mtx_destroy(&sc->vmbus_chan_lock);
mtx_destroy(&rbr->rxbr_lock);
mtx_destroy(&tbr->txbr_lock);
mtx_destroy(&chan->ch_subchan_lock);
mtx_destroy(&ctx->xc_lock);
#define IAVF_VC_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->vc_mtx)
mtx_destroy(&lock->mutex);
mtx_destroy(&lock->mutex);
mtx_destroy(&sc->admin_mtx);
mtx_destroy(&sc->admin_mtx);
mtx_destroy(&sc->io_lock);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&ida->lock);
#define I2C_SC_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->intr_lock);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->mtx);
#define INTELSPI_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
mtx_destroy(&sc->lock);
mtx_destroy(&domain->lock);
#define IOMMU_DMAMAP_DESTROY(map) mtx_destroy(&(map)->lock)
mtx_destroy(&sc->ipmi_io_lock);
mtx_destroy(&sc->ipmi_requests_lock);
mtx_destroy(&sc->queue_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&is->is_lock);
mtx_destroy(&iser_conn->ib_conn.lock);
mtx_destroy(&iser_conn->ib_conn.beacon.flush_lock);
mtx_destroy(&ig.connlist_mutex);
mtx_destroy(&isp->isp_lock);
mtx_destroy(&isp->isp_lock);
#define IWI_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
#define IWM_WAIT_LOCK_DESTROY(_n) mtx_destroy(&(_n)->lk_mtx)
#define IWM_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define IWN_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define IWX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
mtx_destroy(&lock->mutex);
mtx_destroy(&lock->mutex);
mtx_destroy(&pf->admin_mtx);
mtx_destroy(&pf->admin_mtx);
mtx_destroy(&ixl_iw.mtx);
mtx_destroy(&sc->jme_mtx);
mtx_destroy(&(s)->ks_lock)
mtx_destroy(&sc->lge_mtx);
mtx_destroy(&sc->lge_mtx);
#define MALO_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->lock)
#define MALO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->malo_mtx)
#define MALO_RXFREE_DESTROY(_sc) mtx_destroy(&(_sc)->malo_rxlock)
mtx_destroy(&mh->mh_mtx);
mtx_destroy(&c->lock);
mtx_destroy(&txq->txq_mtx);
mtx_destroy(&sc->queue_mtx);
mtx_destroy(&sc->queue_mtx);
mtx_destroy(&sc->mfi_io_lock);
mtx_destroy(&sc->receive_lock);
mtx_destroy(&sc->transmit_lock);
mtx_destroy(&sc->mlx_io_lock);
mtx_destroy(&ring->tx_lock);
mtx_destroy(&ring->comp_lock);
mtx_destroy(&cmd->dma_mtx);
mtx_destroy(&cmd->dma_mtx);
mtx_destroy(&dev->dump_lock);
mtx_destroy(&dev->dump_lock);
mtx_destroy(&ptag->mtx);
mtx_destroy(&ptag->mtx);
mtx_destroy(&iq->lock);
mtx_destroy(&iq->comp_lock);
mtx_destroy(&c->rq.mtx);
mtx_destroy(&c->sq[tc].lock);
mtx_destroy(&c->sq[tc].comp_lock);
mtx_destroy(&priv->async_events_mtx);
mtx_destroy(&priv->async_events_mtx);
mtx_destroy(&rlw->mtx);
mtx_destroy(&sq->lock);
mtx_destroy(&sq->comp_lock);
mtx_destroy(&sq->lock);
mtx_destroy(&sq->comp_lock);
#define DWMMC_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define MMC_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx);
#define MMCSD_DISK_LOCK_DESTROY(_part) mtx_destroy(&(_part)->disk_mtx);
#define MMCSD_IOCTL_LOCK_DESTROY(_part) mtx_destroy(&(_part)->ioctl_mtx);
#define MMCSPI_SLOT_LOCK_DESTROY(_slot) mtx_destroy(&(_slot)->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->admin_reply_lock);
mtx_destroy(&op_reply_q->q_lock);
mtx_destroy(&op_req_q->q_lock);
mtx_destroy(&sc->init_cmds.completion.lock);
mtx_destroy(&sc->cfg_cmds.completion.lock);
mtx_destroy(&sc->ioctl_cmds.completion.lock);
mtx_destroy(&sc->host_tm_cmds.completion.lock);
mtx_destroy(&sc->dev_rmhs_cmds[i].completion.lock);
mtx_destroy(&sc->reset_mutex);
mtx_destroy(&sc->target_lock);
mtx_destroy(&sc->fwevt_lock);
mtx_destroy(&sc->cmd_pool_lock);
mtx_destroy(&sc->reply_free_q_lock);
mtx_destroy(&sc->sense_buf_q_lock);
mtx_destroy(&sc->chain_buf_lock);
mtx_destroy(&sc->admin_req_lock);
mtx_destroy(&sc->mpi3mr_mtx);
mtx_destroy(&sc->mpr_mtx);
mtx_destroy(&sc->mps_mtx);
mtx_destroy(&mpt->mpt_lock); \
mtx_destroy(&sc->sim_lock);
mtx_destroy(&sc->aen_lock);
mtx_destroy(&sc->pci_lock);
mtx_destroy(&sc->io_lock);
mtx_destroy(&sc->ioctl_lock);
mtx_destroy(&sc->mpt_cmd_pool_lock);
mtx_destroy(&sc->mfi_cmd_pool_lock);
mtx_destroy(&sc->raidmap_lock);
mtx_destroy(&sc->stream_lock);
mtx_destroy(&sc->sim_lock);
mtx_destroy(&sc->aen_lock);
mtx_destroy(&sc->pci_lock);
mtx_destroy(&sc->io_lock);
mtx_destroy(&sc->ioctl_lock);
mtx_destroy(&sc->mpt_cmd_pool_lock);
mtx_destroy(&sc->mfi_cmd_pool_lock);
mtx_destroy(&sc->raidmap_lock);
mtx_destroy(&sc->stream_lock);
mtx_destroy(&sc->msk_mtx);
mtx_destroy(&sc->msk_mtx);
mtx_destroy(&sc->msk_mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&ctlr->mtx);
mtx_destroy(&ctlr->mtx);
#define MWL_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->lock)
#define MWL_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define MWL_RXFREE_DESTROY(_sc) mtx_destroy(&(_sc)->sc_rxlock)
mtx_destroy(&mh->mh_mtx);
mtx_destroy(&mh->mh_mtx);
mtx_destroy(&ss->tx.mtx);
mtx_destroy(&sc->cmd_mtx);
mtx_destroy(&sc->driver_mtx);
mtx_destroy(&sc->cmd_mtx);
mtx_destroy(&sc->driver_mtx);
mtx_destroy(&sc->my_mtx);
mtx_destroy(&sc->my_mtx);
#define GPIO_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx)
mtx_destroy(&tx->ring_mtx);
mtx_destroy(&rx->ring_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&pq->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&(*kring)->q_lock);
mtx_destroy(&si->m);
mtx_destroy(&kring->tx_event_lock);
mtx_destroy(&kring->tx_event_lock);
mtx_destroy(&q->lock);
mtx_destroy(&sc->nfe_mtx);
mtx_destroy(&sc->nfe_mtx);
mtx_destroy(&nfsmbsub_sc->lock);
mtx_destroy(&nfsmb_sc->lock);
#define NGE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->nge_mtx)
mtx_destroy(&ns->ns_mtx);
mtx_destroy(&ns->ns_mtx);
mtx_destroy(&q->tx_lock);
mtx_destroy(&ntb->db_mask_lock);
mtx_destroy(&ntb->db_mask_lock);
mtx_destroy(&nvd_lock);
mtx_destroy(&ndisk->bioqlock);
mtx_destroy(&sc->spa_g_mtx);
mtx_destroy(&sc->spa_g_mtx);
mtx_destroy(&aer->mtx);
mtx_destroy(&ctrlr->lock);
mtx_destroy(&qpair->lock);
mtx_destroy(&qpair->recovery);
mtx_destroy(&np->lock);
mtx_destroy(&ctrlr->lock);
mtx_destroy(&qp->lock);
mtx_destroy(&qp->lock);
mtx_destroy(&ns->lock);
mtx_destroy(&ns->lock);
mtx_destroy(&qp->lock);
mtx_destroy(&qp->lock);
mtx_destroy(&sc->sim_mtx);
mtx_destroy(&sc->sim_mtx);
mtx_destroy(&sc->sim_mtx);
mtx_destroy(&sc->sim_mtx);
mtx_destroy(&qp->rx_buffers.lock);
mtx_destroy(&qp->tx_buffers.lock);
mtx_destroy(&(lock)->mutex)
mtx_destroy(&ocs->sim_lock);
mtx_destroy(&ocs->sim_lock);
mtx_destroy(&ocs->dbg_lock);
mtx_destroy(&(lock)->lock);
mtx_destroy(&(lock)->lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
#define OW_LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
mtx_destroy(&sc->temp_lock);
#define OWC_GPIOBUS_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->pcf_lock);
mtx_destroy(&sc->pcf_lock);
mtx_destroy(&pCard->STLock[i]);
mtx_destroy( &thisCardInst->pmIOLock );
mtx_destroy( &pCard->sendLock );
mtx_destroy( &pCard->doneLock );
mtx_destroy( &pCard->sendSMPLock );
mtx_destroy( &pCard->doneSMPLock );
mtx_destroy( &pCard->ccbLock );
mtx_destroy( &pCard->devListLock );
mtx_destroy( &pCard->OS_timer_lock );
mtx_destroy( &pCard->devRmTimerLock );
mtx_destroy( &pCard->memLock );
mtx_destroy( &pCard->freezeLock );
mtx_destroy(&ppc->ppc_lock);
mtx_destroy(&ppc->ppc_lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&qat_ocf_instance->cyInstMtx);
mtx_destroy(&qat_instance->cyInstMtx);
mtx_destroy(&qat_instance->cookie_pool_mtx);
mtx_destroy(*pMutex);
mtx_destroy(pLock);
mtx_destroy(&callout_mtx);
mtx_destroy(&mtx);
mtx_destroy(&accel->lock);
mtx_destroy(&accel->lock);
mtx_destroy(&ring->lock);
mtx_destroy(&bank->lock);
mtx_destroy(&qcb->qcb_bank_mtx);
mtx_destroy(&qcy->qcy_crypto_mtx);
mtx_destroy(&qs->qs_session_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&ring->mtx);
mtx_destroy(&ring->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->gpio_mtx);
#define OSAL_SPIN_LOCK_DEALLOC(mutex) mtx_destroy(mutex)
#define OSAL_MUTEX_DEALLOC(mutex) mtx_destroy(mutex)
mtx_destroy(&fp->tx_mtx);
mtx_destroy(&qlnx_rdma_dev_lock);
mtx_destroy(&dev->idr_lock);
mtx_destroy(&dev->sgid_lock);
mtx_destroy(&ha->tx_lock);
mtx_destroy(&ha->rx_lock);
mtx_destroy(&ha->rxj_lock);
mtx_destroy(&ha->hw_lock);
mtx_destroy(&fp->tx_mtx);
mtx_destroy(&ha->hw_lock);
mtx_destroy(&ha->sp_log_lock);
mtx_destroy(&ha->hw_lock);
mtx_destroy(&ha->sp_log_lock);
mtx_destroy(&ha->tx_lock);
mtx_destroy(&ha->hw_lock);
fail1: mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
fail1: mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
fail1: mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
#define RANDOM_RESEED_DEINIT_LOCK(x) mtx_destroy(&fortuna_state.fs_mtx)
#define RANDOM_RESEED_DEINIT_LOCK(x) mtx_destroy(&fortuna_state.fs_mtx)
#define RANDOM_RESEED_DEINIT_LOCK(x) mtx_destroy(&other_mtx)
#define RANDOM_RESEED_DEINIT_LOCK(x) mtx_destroy(&other_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->rl_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->rl_mtx);
#define RTSX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rtsx_mtx)
#define RTWN_CMDQ_LOCK_DESTROY(sc) mtx_destroy(&(sc)->cmdq_mtx)
#define RTWN_NT_LOCK_DESTROY(sc) mtx_destroy(&(sc)->nt_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_ringmtx);
mtx_destroy(&sc->sc_ringmtx);
mtx_destroy(&sc->sc_ringmtx);
mtx_destroy(&ring->mtx);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->sc_hwmtx);
#define SDHCI_LOCK_DESTROY(_slot) mtx_destroy(&_slot->mtx);
mtx_destroy(&sc->sc_controller_lock);
mtx_destroy(&sc->sc_descriptors_lock);
mtx_destroy(&sc->sc_controller_lock);
mtx_destroy(&sc->sc_descriptors_lock);
mtx_destroy(&(_eslp)->lock)
mtx_destroy(&(_esbp)->esb_lock)
mtx_destroy(&(_port)->lock)
mtx_destroy(&(_mcdi)->lock)
mtx_destroy(&(_evq)->lock)
mtx_destroy(&(_txq)->lock)
mtx_destroy(&sc->sge_mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&sc->sis_mtx);
mtx_destroy(&sc->sk_mii_mtx);
mtx_destroy(&sc->sk_mtx);
mtx_destroy(&softs->os_specific.cam_lock);
mtx_destroy(&softs->os_specific.map_lock);
mtx_destroy(lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->smc_mtx);
mtx_destroy(&sc->lock);
mtx_destroy(&dma->mutex);
mtx_destroy(&m->lock);
mtx_destroy(&m->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&scp->mtx);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&scp->mtx);
mtx_destroy(&scp->mtx);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->emu10kx_lock);
mtx_destroy(&(sc->rm->gpr_lock));
mtx_destroy(&sc->rw);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->rw);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&es->lock);
mtx_destroy(&es->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->lock);
mtx_destroy(&sc->ich_lock);
mtx_destroy(&sc->ich_lock);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&sc->lock);
mtx_destroy(&codec->lock);
mtx_destroy(&tr->lock);
mtx_destroy(&tr->lock);
mtx_destroy(&via->lock);
mtx_destroy(&via->lock);
mtx_destroy(&via->lock);
mtx_destroy(&via->lock);
mtx_destroy(&codec->lock);
mtx_destroy(&c->lock);
mtx_destroy(&m->lock);
mtx_destroy(&m->lock);
mtx_destroy(&m->lock);
mtx_destroy(&d->lock);
mtx_destroy(&ch->lock);
mtx_destroy(&chan->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->ste_mtx);
mtx_destroy(&sc->sc_mii_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&adapter->lock);
mtx_destroy(&sc->conf_lock);
#define SYM_LOCK_DESTROY() mtx_destroy(&np->mtx)
#define SYSCON_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx);
mtx_destroy(&sc->video_mtx);
mtx_destroy(&sc->nhi_mtx);
mtx_destroy(&r->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->ti_mtx);
mtx_destroy(&sc->receive_lock);
mtx_destroy(&sc->transmit_lock);
mtx_destroy(&sc->receive_lock);
mtx_destroy(&sc->transmit_lock);
mtx_destroy(&sc->ic_lock);
mtx_destroy(&sc->q_lock);
mtx_destroy(&sc->sim_lock);
mtx_destroy(&sc->gen_lock);
mtx_destroy(&sc->io_lock);
mtx_destroy(&sc->q_lock);
mtx_destroy(&sc->sim_lock);
mtx_destroy(&sc->gen_lock);
mtx_destroy(&sc->io_lock);
mtx_destroy(&sc->sc_hwmtx_s);
mtx_destroy(&sc->sc_hwmtx_s);
mtx_destroy(&sc->sc_hwmtx_s);
mtx_destroy(&ctrlr->uic_cmd_lock);
mtx_destroy(&ctrlr->sc_mtx);
mtx_destroy(&hwq->recovery_lock);
mtx_destroy(&hwq->qlock);
mtx_destroy(&bus->bus_mtx);
mtx_destroy(&bus->bus_spin_lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mutex);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mutex);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mutex);
mtx_destroy(&sc->io.lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mutex);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&usb_quirk_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&ucom_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&usb_ref_lock);
mtx_destroy(&udev->device_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&(_sc)->free_keys_bmap_mtx)
#define RUM_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
#define RUM_CMDQ_LOCK_DESTROY(sc) mtx_destroy(&(sc)->cmdq_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
fail1: mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->vge_mtx);
mtx_destroy(&viapm->lock);
mtx_destroy(&viapm->lock);
mtx_destroy(&viapm->lock);
mtx_destroy(&viapm->lock);
#define VTBALLOON_LOCK_DESTROY(_sc) mtx_destroy(VTBALLOON_MTX((_sc)))
#define VTBLK_LOCK_DESTROY(_sc) mtx_destroy(VTBLK_MTX((_sc)))
mtx_destroy(&port->vtcport_mtx);
mtx_destroy(&sc->vtcon_mtx);
mtx_destroy(&sc->vtcon_ctrl_tx_mtx);
mtx_destroy(&rxq->vtnrx_mtx);
mtx_destroy(&txq->vtntx_mtx);
#define VTNET_CORE_LOCK_DESTROY(_sc) mtx_destroy(VTNET_CORE_MTX((_sc)))
#define VT9P_LOCK_DESTROY(_sc) mtx_destroy(VT9P_MTX(_sc))
mtx_destroy(&q->p_mtx);
mtx_destroy(&q->vq_mtx);
#define VTSCSI_LOCK_DESTROY(_sc) mtx_destroy(VTSCSI_MTX(_sc))
#define VKBD_LOCK_DESTROY(s) mtx_destroy(&(s)->ks_lock)
#define vcpu_lock_destroy(v) mtx_destroy(&((v)->mtx))
mtx_destroy(&sc->lock);
mtx_destroy(&sc->vmci_delayed_work_lock);
mtx_destroy(&sc->vmci_spinlock);
mtx_destroy(mutex);
mtx_destroy(lock);
mtx_destroy(&nic->check_link_mtx);
mtx_destroy(&nic->stats_mtx);
mtx_destroy(&sq->mtx);
mtx_destroy(&cq->mtx);
mtx_destroy(&lmac->check_link_mtx);
mtx_destroy(&(sc)->mtx)
mtx_destroy(&sc->vr_mtx);
mtx_destroy(&sc->vte_mtx);
mtx_destroy(&sc->vte_mtx);
mtx_destroy(&queue->q_mtx);
mtx_destroy(&peer->p_handshake_mtx);
mtx_destroy(&cc->cc_secret_mtx);
mtx_destroy(&rl->rl_mtx);
mtx_destroy(&l->l_remote_mtx);
mtx_destroy(&l->l_index_mtx);
mtx_destroy(&r->r_keypair_mtx);
#define WPI_VAP_LOCK_DESTROY(_wvp) mtx_destroy(&(_wvp)->wv_mtx)
#define WPI_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define WPI_RXON_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->rxon_mtx)
#define WPI_TX_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->tx_mtx)
#define WPI_NT_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->nt_mtx)
#define WPI_TXQ_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->txq_mtx)
#define WPI_TXQ_STATE_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->txq_state_mtx)
mtx_destroy(&vis_plugin->pl_mtx);
mtx_destroy(&hal->hal_mtx);
mtx_destroy(&hal->hal_devs[id]->sc_mtx);
mtx_destroy(&xchan->mtx_lock);
mtx_destroy(&xchan->mtx_qin_lock);
mtx_destroy(&xchan->mtx_qout_lock);
mtx_destroy(&xchan->mtx_bank_lock);
mtx_destroy(&xchan->mtx_proc_lock);
mtx_destroy(&xbb->lock);
mtx_destroy(&sc->xbd_io_lock);
mtx_destroy(&u->bind_mutex);
mtx_destroy(&u->ring_prod_mutex);
mtx_destroy(&u->bind_mutex);
mtx_destroy(&u->ring_prod_mutex);
mtx_destroy(&priv_user->user_data_lock);
mtx_destroy(&xnb->tx_lock);
mtx_destroy(&xnb->rx_lock);
mtx_destroy(&xnb->sc_lock);
mtx_destroy(&u->lock);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->xl_mtx);
mtx_destroy(&cuse_global_mtx);
mtx_destroy(&pcs->mtx);
mtx_destroy(&cdp->cdp_threadlock);
mtx_destroy(EXT2_MTX(ump));
mtx_destroy(&fdesc_hashmtx);
mtx_destroy(&ftick->tk_aw_mtx);
mtx_destroy(&data->aw_mtx);
mtx_destroy(&data->ms_mtx);
mtx_destroy(&fuse_mtx);
mtx_destroy(&fuse_mtx);
mtx_destroy(&fvdat->cached_attr_mtx);
mtx_destroy(&NFSD_VNET(nfsrv_nfsuserdsock).nr_mtx);
mtx_destroy(&nfs_nameid_mutex);
mtx_destroy(&newnfsd_mtx);
mtx_destroy(&nfs_state_mutex);
mtx_destroy(&nfs_clstate_mutex);
mtx_destroy(&nfs_sockl_mutex);
mtx_destroy(&nfs_slock_mutex);
mtx_destroy(&nfs_req_mutex);
mtx_destroy(&nfsrv_dslock_mtx);
mtx_destroy(&NFSD_VNET(nfsuserhash)[i].mtx);
mtx_destroy(&NFSD_VNET(nfsusernamehash)[i].mtx);
mtx_destroy(&NFSD_VNET(nfsgroupnamehash)[i].mtx);
mtx_destroy(&NFSD_VNET(nfsgrouphash)[i].mtx);
#define NFSFREEMUTEX(m) mtx_destroy((m))
mtx_destroy(&np->n_mtx);
mtx_destroy(&np->n_mtx);
mtx_destroy(&ncl_iod_mutex);
mtx_destroy(&np->n_mtx);
mtx_destroy(&nmp->nm_sockreq.nr_mtx);
mtx_destroy(&nmp->nm_mtx);
mtx_destroy(&nmp->nm_sockreq.nr_mtx);
mtx_destroy(&nmp->nm_mtx);
mtx_destroy(&softc->fha_hash[i].mtx);
mtx_destroy(&NFSD_VNET(nfsrchash_table)[i].mtx);
mtx_destroy(&NFSD_VNET(nfsrcahash_table)[i].mtx);
mtx_destroy(&NFSD_VNET(nfsv4root_mnt)->mnt_mtx);
mtx_destroy(&NFSD_VNET(nfssessionhash)[i].mtx);
mtx_destroy(&nfsrc_udpmtx);
mtx_destroy(&nfs_v4root_mutex);
mtx_destroy(&nfsrv_dontlistlock_mtx);
mtx_destroy(&nfsrv_recalllock_mtx);
mtx_destroy(&nfslayouthash[i].mtx);
#define P9FS_LOCK_DESTROY(_sc) mtx_destroy(P9FS_MTX(_sc))
#define P9FS_VFID_LOCK_DESTROY(_sc) mtx_destroy(P9FS_VFID_MTX(_sc))
#define P9FS_VOFID_LOCK_DESTROY(_sc) mtx_destroy(P9FS_VOFID_MTX(_sc))
mtx_destroy(&pn->pn_mutex);
mtx_destroy(&pi->pi_mutex);
mtx_destroy(&pfs_vncache_mutex);
mtx_destroy(&node->tn_interlock);
mtx_destroy(&tmp->tm_allnode_lock);
mtx_destroy(&unionfs_deferred_rele_lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_completion_lock);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_read_mtx);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_read_mtx);
mtx_destroy(&g_gate_units_lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->done_mtx);
mtx_destroy(&bq->bio_queue_lock);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_events_mtx);
mtx_destroy(&sc->sc_done_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_queue_mtx);
mtx_destroy(&sc->sc_events_mtx);
mtx_destroy(&sc->sc_lock);
mtx_destroy(&sc->queue_mtx);
mtx_destroy(&sc->last_mtx);
mtx_destroy(&sc->queue_mtx);
mtx_destroy(&sc->last_mtx);
mtx_destroy(&sc->delayed_bio_q_mtx);
#define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
mtx_destroy(&alq->aq_mtx);
mtx_destroy(&ald_mtx);
mtx_destroy(&kq->kq_lock);
mtx_destroy(&ie->ie_lock);
mtx_destroy(&rpr->pr_mtx);
mtx_destroy(&pool->mtx_pool_ary[i]);
mtx_destroy(&s->s_mtx);
mtx_destroy(&p->p_mtx);
mtx_destroy(&cr->cr_mtx);
mtx_destroy(&rms->mtx);
mtx_destroy(&rm->rm_lock_mtx);
mtx_destroy(&sema->sema_mtx);
mtx_destroy(&ps->ps_mtx);
mtx_destroy(&it->it_mtx);
mtx_destroy(&epoch->e_drain_mtx);
mtx_destroy(&queue->tq_mutex);
mtx_destroy(&rm->rm_mtx);
mtx_destroy(&queue->tq_mutex);
mtx_destroy(&ts->ts_lock);
#define VMEM_LOCK_DESTROY(vm) mtx_destroy(&vm->vm_lock)
mtx_destroy(&efd->efd_lock);
mtx_destroy(&stp->st_mtx);
mtx_destroy(&pp->pp_mtx);
mtx_destroy(&tfd->tfd_lock);
mtx_destroy(&msq_mtx);
mtx_destroy(&sema_mtx[i]);
mtx_destroy(&sem_mtx);
mtx_destroy(&sem_undo_mtx);
mtx_destroy(&tp->t_mtxobj);
mtx_destroy(&mq->mq_mutex);
mtx_destroy(&ksem_count_lock);
mtx_destroy(&sem_lock);
mtx_destroy(&shmfd->shm_mtx);
mtx_destroy(&so->so_snd_mtx);
mtx_destroy(&so->so_rcv_mtx);
mtx_destroy(&s->mtx);
mtx_destroy(&so->so_lock);
mtx_destroy(&so->so_snd_mtx);
mtx_destroy(&so->so_rcv_mtx);
#define UNP_PCB_LOCK_DESTROY(unp) mtx_destroy(&(unp)->unp_mtx)
mtx_destroy(&so->so_snd_mtx);
mtx_destroy(&so->so_rcv_mtx);
mtx_destroy(&ki->kaio_mtx);
mtx_destroy(&ki->kaio_mtx);
mtx_destroy(&sc->lock);
mtx_destroy(&mp->mnt_listmtx);
mtx_destroy(&mp->mnt_mtx);
mtx_destroy(&vi->vpi_lock);
mtx_destroy(&vp->v_interlock);
mtx_destroy(&kgss_gssd_lock);
mtx_destroy(&as->as_lock);
mtx_destroy(&kc->kc_lock);
mtx_destroy(&chacha20->mtx);
#define ACC_LOCK_DESTROY(ac) mtx_destroy(&(ac)->acc_mtx)
mtx_destroy(&d->bd_lock);
mtx_destroy(&bstp_list_mtx);
#define BSTP_LOCK_DESTROY(_bs) mtx_destroy(&(_bs)->bs_mtx)
#define LACP_LOCK_DESTROY(_lsc) mtx_destroy(&(_lsc)->lsc_mtx)
mtx_destroy(&ifq->ifq_mtx);
mtx_destroy(&(_sc)->sc_rt_mtx); \
#define IF_CLONE_LOCK_DESTROY(ifc) mtx_destroy(&(ifc)->ifc_mtx)
mtx_destroy(&q->mtx);
#define EPAIR_LOCK_DESTROY() mtx_destroy(&epair_n_index_mtx)
#define LAGG_LIST_LOCK_DESTROY(x) mtx_destroy(&V_lagg_list_mtx)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&llt->llt_lock);
#define LLE_REQ_DESTROY(lle) mtx_destroy(&(lle)->req_mtx)
mtx_destroy(&kdir->replay_mtx);
mtx_destroy(&tp->tun_mtx);
mtx_destroy(&tunmtx);
mtx_destroy(&tp->tun_mtx);
#define IF_ADDR_LOCK_DESTROY(if) mtx_destroy(&(if)->if_addr_lock)
#define TRUNK_LOCK_DESTROY(trunk) mtx_destroy(&(trunk)->lock)
mtx_destroy(&vxlan_list_mtx);
mtx_destroy(&txq->ift_mtx);
#define STATE_LOCK_DESTROY(ctx) mtx_destroy(&(ctx)->ifc_state_mtx)
#define IEEE80211_FF_LOCK_DESTROY(_ic) mtx_destroy(IEEE80211_FF_LOCK_OBJ(_ic))
mtx_destroy(IEEE80211_NODE_LOCK_OBJ(_nt))
#define IEEE80211_PSQ_DESTROY(_psq) mtx_destroy(&(_psq)->psq_lock)
#define IEEE80211_AGEQ_DESTROY(_aq) mtx_destroy(&(_aq)->aq_lock)
#define ACL_LOCK_DESTROY(_as) mtx_destroy(&(_as)->as_lock)
#define IEEE80211_SCAN_TABLE_LOCK_DESTROY(_st) mtx_destroy(&(_st)->st_lock)
#define IEEE80211_SCAN_ITER_LOCK_DESTROY(_st) mtx_destroy(&(_st)->st_scanlock)
mtx_destroy(&(_rt)->rt_lock)
mtx_destroy(&(ms)->ms_rt_lock)
#define IEEE80211_LOCK_DESTROY(_ic) mtx_destroy(IEEE80211_LOCK_OBJ(_ic))
#define IEEE80211_TX_LOCK_DESTROY(_ic) mtx_destroy(IEEE80211_TX_LOCK_OBJ(_ic))
mtx_destroy(&mtx);
mtx_destroy(&sc->sc_if_mtx);
mtx_destroy(&sc->sc_ng_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&pcb->pcb_mtx);
mtx_destroy(&pcb->pcb_mtx);
mtx_destroy(&pcb->pcb_mtx);
mtx_destroy(&s->session_mtx);
mtx_destroy(&s->session_mtx);
mtx_destroy(&pcb->pcb_mtx);
mtx_destroy(&pcb->pcb_mtx);
mtx_destroy(&fe->export_mtx);
mtx_destroy(&fe->export9_mtx);
mtx_destroy(&hsh->mtx);
mtx_destroy(&hsh->mtx);
mtx_destroy(&fe->export_mtx);
mtx_destroy(&fe->export9_mtx);
mtx_destroy(&node->nd_input_queue.q_mtx);
mtx_destroy(&priv->upper.q_mtx);
mtx_destroy(&priv->lower.q_mtx);
mtx_destroy(&priv->ngd_mtx);
mtx_destroy(&priv->readq.ifq_mtx);
mtx_destroy(&priv->ngd_mtx);
mtx_destroy(&(priv)->readq.ifq_mtx);
mtx_destroy(&seq->mtx);
mtx_destroy(&mfp->mtx);
mtx_destroy(&priv->rmtx);
mtx_destroy(&priv->xmtx);
mtx_destroy(&privp->sesshash[i].mtx);
mtx_destroy(&hpriv->mtx);
mtx_destroy(&priv->uppersess.mtx);
mtx_destroy(&priv->mtx);
mtx_destroy(&(sc)->outq.ifq_mtx);
#define IGMP_LOCK_DESTROY() mtx_destroy(&igmp_mtx)
mtx_destroy(&pcbinfo->ipi_hash_lock);
mtx_destroy(&pcbinfo->ipi_lock);
#define CARP_LOCK_DESTROY(sc) mtx_destroy(&(sc)->sc_mtx)
#define CIF_LOCK_DESTROY(cif) mtx_destroy(&(cif)->cif_mtx)
mtx_destroy(&carp_mtx);
mtx_destroy(&V_ip_id_mtx);
mtx_destroy(&vifp->v_mtx);
mtx_destroy(&x->bm_mtx);
mtx_destroy(&mfct->bw_upcalls_mtx);
mtx_destroy(&V_ipq[i].lock);
#define LIBALIAS_LOCK_DESTROY(l) mtx_destroy(&l->mutex)
mtx_destroy(&(cpstr)->que_mtx); \
mtx_destroy(&(cpstr)->core_mtx); \
mtx_destroy(&sctp_it_ctl.ipi_iterator_wq_mtx); \
mtx_destroy(&SCTP_BASE_INFO(ipi_pktlog_mtx)); \
mtx_destroy(&(_inp)->inp_rdata_mtx); \
mtx_destroy(&(_inp)->inp_mtx); \
mtx_destroy(&(_inp)->inp_create_mtx); \
mtx_destroy(&(_tcb)->tcb_mtx); \
mtx_destroy(&sctp_it_ctl.it_mtx); \
mtx_destroy(&SCTP_BASE_INFO(wq_addr_mtx)); \
mtx_destroy(&siftr_pkt_queue_mtx);
mtx_destroy(&siftr_pkt_mgr_mtx);
mtx_destroy(&ccb->ccb_mtx);
mtx_destroy(&V_tcp_hostcache.hashbase[i].hch_mtx);
mtx_destroy(&hpts->p_mtx);
#define TCPID_BUCKET_LOCK_DESTROY(tlb) mtx_destroy(&((tlb)->tlb_mtx))
mtx_destroy(&sch->sch_mtx);
mtx_destroy(&V_tcp_syncache.pause_mtx);
mtx_destroy(&toedev_lock);
mtx_destroy(&V_ip6qb[bucket].lock);
#define MFC6_LOCK_DESTROY() mtx_destroy(MFC6_LOCKPTR())
#define MIF6_LOCK_DESTROY() mtx_destroy(MIF6_LOCKPTR())
#define MLD_LOCK_DESTROY() mtx_destroy(&mld_mtx)
mtx_destroy(&V_nd6_onlink_mtx);
#define SEND_LOCK_DESTROY() mtx_destroy(&send_mtx)
mtx_destroy(&ipsec_accel_sav_tmp);
mtx_destroy(&ipsec_accel_cnt_lock);
#define SPDCACHE_LOCK_DESTROY(a) mtx_destroy(&V_spdcache_lock[a])
mtx_destroy(&sav->replay->lock);
#define REGTREE_LOCK_DESTROY() mtx_destroy(®tree_lock)
#define ACQ_LOCK_DESTROY() mtx_destroy(&acq_lock)
#define SPACQ_LOCK_DESTROY() mtx_destroy(&spacq_lock)
mtx_destroy(&so->so_snd_mtx);
mtx_destroy(&so->so_rcv_mtx);
mtx_destroy(&so->so_snd_mtx);
mtx_destroy(&so->so_rcv_mtx);
#define NLP_LOCK_DESTROY(_nlp) mtx_destroy(&((_nlp)->nl_lock))
# define MUTEX_DESTROY(x) mtx_destroy(&(x)->ipf_lk)
mtx_destroy(&pst->lock_mtx);
mtx_destroy(&pst->lock_mtx);
mtx_destroy(&V_dn_cfg.uh_mtx); \
mtx_destroy(&V_dn_cfg.bh_mtx); \
#define DYN_BUCKET_LOCK_DESTROY(lock, b) mtx_destroy(&lock[(b)])
#define DYN_EXPIRED_LOCK_DESTROY() mtx_destroy(&V_dyn_expire_lock)
mtx_destroy(&vnet_mtx);
#define CTL3_LOCK_DESTROY() mtx_destroy(&ctl3_lock)
#define JQUEUE_LOCK_DESTROY() mtx_destroy(&jmtx)
#define ALIAS_LOCK_DESTROY(p) mtx_destroy(&(p)->lock)
#define HOST_LOCK_DESTROY(p) mtx_destroy(&(p)->lock)
#define CFG_LOCK_DESTROY(p) mtx_destroy(&(p)->lock)
#define CALLOUT_LOCK_DESTROY(p) mtx_destroy(&(p)->periodic_lock)
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_bulk_mtx);
mtx_destroy(&b->b_mtx);
mtx_destroy(&kh->lock);
mtx_destroy(&ih->lock);
mtx_destroy(&sh->lock);
mtx_destroy(&uh->lock);
mtx_destroy(&rule->nat.mtx);
mtx_destroy(&rule->rdr.mtx);
mtx_destroy(&rule->route.mtx);
mtx_destroy(&V_pf_frag_mtx);
mtx_destroy(&V_pflowif_list_mtx);
mtx_destroy(&sc->sc_lock);
#define smb_sl_destroy(mtx) mtx_destroy(mtx)
mtx_destroy(&host->nh_lock);
mtx_destroy(&priv->cm.mb_queue.ifq_mtx);
mtx_destroy(&crypto_q_mtx);
mtx_destroy(&ret_worker->crypto_ret_mtx);
mtx_destroy(&crypto_drivers_mtx);
mtx_destroy(&fcr->lock);
mtx_destroy(&cse->lock);
mtx_destroy(&os->lock);
#define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
#define MBODISK_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&ch->mtx);
mtx_destroy(&sc->mutex);
mtx_destroy(&sc->mutex);
#define GPIO_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&sc->sc_cfg_mtx);
mtx_destroy(&sc->sc_cfg_mtx);
mtx_destroy(&sc->sc_mutex);
mtx_destroy(&sc->sc_mutex);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
mtx_destroy(&sc->sc_mtx);
#define PS3CDROM_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
#define PS3DISK_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
mtx_destroy(&sc->io_lock);
mtx_destroy(&sc->io_lock);
mtx_destroy(&sc->io_lock);
#define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->mtx);
mtx_destroy(&sc->msi_mtx);
mtx_destroy(&aplic->mtx);
mtx_destroy(&hypctx->fence_queue_mtx);
mtx_destroy(&ct->ct_lock);
mtx_destroy(&ct->ct_lock);
mtx_destroy(&cs->cs_lock);
mtx_destroy(&nl->nl_lock);
mtx_destroy(&rc->rc_lock);
mtx_destroy(&ct->ct_lock);
mtx_destroy(&ct->ct_lock);
mtx_destroy(&rc->rc_lock);
mtx_destroy(&gd->gd_lock);
mtx_destroy(&st->st_lock);
mtx_destroy(&grp->sg_lock);
mtx_destroy(&pool->sp_lock);
#define AUDIT_PIPE_LOCK_DESTROY(ap) mtx_destroy(&(ap)->ap_mtx)
mtx_destroy(&ugidfw_mtx);
mtx_destroy(&rule_mtx);
mtx_destroy(&PSLOT(label)->mtx);
mtx_destroy(&rule_mtx);
#define PWDDESC_LOCK_DESTROY(pdp) mtx_destroy(PWDDESC_LOCK(pdp))
#define JAILDESC_LOCK_DESTROY(jd) mtx_destroy(&(jd)->jd_lock)
#define PROCDESC_LOCK_DESTROY(pd) mtx_destroy(&(pd)->pd_lock)
#define KTFRWK_DESTROY() mtx_destroy(&kfrwk.kfrwk_mtx)
mtx_destroy(UFS_MTX(ump));
mtx_destroy(UFS_MTX(ump));
mtx_destroy(&ufsdirhash_mtx);
mtx_destroy(&dq->dq_lock);
mtx_destroy(&dqhlock);
mtx_destroy(&dq1->dq_lock);
#define KEG_LOCK_FINI(k, d) mtx_destroy(KEG_LOCKPTR(k, d))
#define ZDOM_LOCK_FINI(z) mtx_destroy(&(z)->uzd_lock)
#define ZONE_CROSS_LOCK_FINI(z) mtx_destroy(&(z)->uz_cross_lock)
mtx_destroy(&sc->iommu.lock);
mtx_destroy(&unit->event_lock);
mtx_destroy(&unit->fault_lock);
mtx_destroy(&test_global_lock);
mtx_destroy(&callout_free_mutex);
mtx_destroy(&vhba->lock);
mtx_destroy(&vhba->lock);