Searched refs:mtx_initialized (Results 1 – 17 of 17) sorted by relevance
208 if (mtx_initialized(&group_mode->lock) == 0) in alpine_serdes_eth_group_lock()221 if (mtx_initialized(&group_mode->lock) == 0) in alpine_serdes_eth_group_unlock()
173 if (mtx_initialized(&contigmem_buffers[i].mtx)) in contigmem_load()198 if (mtx_initialized(&contigmem_buffers[i].mtx)) in contigmem_unload()
219 if (mtx_initialized(&(spinlock))) \
489 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized")); in ar5315_gpio_detach()
385 KASSERT(mtx_initialized(&sc->are_mtx), ("vr mutex not initialized")); in are_detach()
466 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized")); in octeon_gpio_detach()
598 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized")); in ar71xx_gpio_detach()
1029 KASSERT(mtx_initialized(&sc->arge_mtx), in arge_detach()
469 #define mtx_initialized(m) lock_initialized(&(m)->lock_object) macro
748 KASSERT(mtx_initialized(&sc->sc_mtx), ("gpio mutex not initialized")); in ti_gpio_detach()
729 KASSERT(mtx_initialized(&sc->mtx), ("gpio mutex not initialized")); in tegra_gpio_detach()
682 KASSERT(mtx_initialized(&sc->mtx), ("gpio mutex not initialized")); in mvebu_gpio_detach()
837 if (mtx_initialized(&sc->emac_mtx)) in emac_detach()
1031 if(!mtx_initialized(&sp->pp_cpq.ifq_mtx)) in sppp_attach()1033 if(!mtx_initialized(&sp->pp_fastq.ifq_mtx)) in sppp_attach()1061 KASSERT(mtx_initialized(&sp->mtx), ("sppp mutex is not initialized")); in sppp_detach()
366 if (mtx_initialized(&sc->mtx)) in gen_destroy()
126 #define vcpu_lock_initialized(v) mtx_initialized(&((v)->mtx))
812 if (!mtx_initialized(&devsoftc.mtx)) { in sysctl_devctl_queue()