Home
last modified time | relevance | path

Searched refs:mtx_initialized (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_rdma.c99 if (!mtx_initialized(&qlnx_rdma_dev_lock)) { in qlnx_rdma_init()
108 if (mtx_initialized(&qlnx_rdma_dev_lock) && (qlnx_host_list == NULL)) { in qlnx_rdma_deinit()
231 if (mtx_initialized(&qlnx_rdma_dev_lock)) { in qlnx_rdma_register_if()
256 if (mtx_initialized(&qlnx_rdma_dev_lock)) { in qlnx_rdma_deregister_if()
/freebsd/sys/dev/ocs_fc/
H A Docs_os.h556 if (mtx_initialized(&(lock)->lock)) { in ocs_lock_free()
574 if (mtx_initialized(&(lock)->lock)) { in ocs_lock()
592 if (mtx_initialized(&(lock)->lock)) { in ocs_unlock()
631 if (mtx_initialized(&(lock)->lock)) { in ocs_rlock_free()
664 if (mtx_initialized(&(lock)->lock)) { in ocs_rlock_acquire()
680 if (mtx_initialized(&(lock)->lock)) { in ocs_rlock_release()
H A Docs_os.c952 if (!mtx_initialized(&timer->lock)) { in ocs_setup_timer()
H A Docs_cam.c212 if (mtx_initialized(&ocs->sim_lock) == 0) { in ocs_cam_attach()
234 if (mtx_initialized(&ocs->sim_lock)) in ocs_cam_attach()
251 if (mtx_initialized(&ocs->sim_lock)) in ocs_cam_detach()
/freebsd/sys/arm/annapurna/alpine/
H A Dalpine_serdes.c201 if (mtx_initialized(&group_mode->lock) == 0) in alpine_serdes_eth_group_lock()
214 if (mtx_initialized(&group_mode->lock) == 0) in alpine_serdes_eth_group_unlock()
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.c71 if (mtx_initialized(lock)) in vmci_cleanup_lock()
187 return mtx_initialized(lock); in vmci_initialized_lock()
491 return mtx_initialized(mutex); in vmci_mutex_initialized()
H A Dvmci.c241 if mtx_initialized(&sc->vmci_spinlock) { in vmci_detach()
255 if mtx_initialized(&sc->vmci_spinlock) in vmci_detach()
/freebsd/sys/dev/nvme/
H A Dnvme_qpair.c944 if (mtx_initialized(&qpair->lock)) in nvme_qpair_destroy()
946 if (mtx_initialized(&qpair->recovery)) in nvme_qpair_destroy()
1420 if (mtx_initialized(&qpair->recovery)) in nvme_qpair_enable()
1422 if (mtx_initialized(&qpair->lock)) in nvme_qpair_enable()
1535 if (mtx_initialized(&qpair->recovery)) in nvme_qpair_disable()
1537 if (mtx_initialized(&qpair->lock)) in nvme_qpair_disable()
1578 if (!mtx_initialized(&qpair->lock)) in nvme_qpair_fail()
H A Dnvme_ns.c541 if (!mtx_initialized(&ns->lock)) in nvme_ns_construct()
/freebsd/sys/dev/le/
H A Dlancevar.h120 #define LE_LOCK_INITIALIZED(_sc) mtx_initialized(&(_sc)->sc_mtx)
/freebsd/sys/dev/ixl/
H A Di40e_osdep.c158 if (mtx_initialized(&lock->mutex)) in i40e_destroy_spinlock()
/freebsd/sys/powerpc/mpc85xx/
H A Dds1553_core.c52 if (mtx_initialized(&sc->sc_mtx) == 0) { in ds1553_attach()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr.c5242 if (mtx_initialized(&sc->admin_reply_lock)) in mpi3mr_destory_mtx()
5249 if (mtx_initialized(&op_reply_q->q_lock)) in mpi3mr_destory_mtx()
5257 if (mtx_initialized(&op_req_q->q_lock)) in mpi3mr_destory_mtx()
5262 if (mtx_initialized(&sc->init_cmds.completion.lock)) in mpi3mr_destory_mtx()
5265 if (mtx_initialized(&sc->ioctl_cmds.completion.lock)) in mpi3mr_destory_mtx()
5268 if (mtx_initialized(&sc->host_tm_cmds.completion.lock)) in mpi3mr_destory_mtx()
5272 if (mtx_initialized(&sc->dev_rmhs_cmds[i].completion.lock)) in mpi3mr_destory_mtx()
5276 if (mtx_initialized(&sc->reset_mutex)) in mpi3mr_destory_mtx()
5279 if (mtx_initialized(&sc->target_lock)) in mpi3mr_destory_mtx()
5282 if (mtx_initialized(&sc->fwevt_lock)) in mpi3mr_destory_mtx()
[all …]
/freebsd/sys/dev/iavf/
H A Diavf_osdep.c251 if (mtx_initialized(&lock->mutex)) in iavf_destroy_spinlock()
/freebsd/sys/dev/rtwn/
H A Dif_rtwnvar.h416 #define RTWN_CMDQ_LOCK_INITIALIZED(sc) mtx_initialized(&(sc)->cmdq_mtx)
423 #define RTWN_NT_LOCK_INITIALIZED(sc) mtx_initialized(&(sc)->nt_mtx)
/freebsd/sys/dev/qcom_tlmm/
H A Dqcom_tlmm_ipq4018.c268 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized")); in qcom_tlmm_ipq4018_detach()
/freebsd/sys/dev/ice/
H A Dice_osdep.h471 if (mtx_initialized(&lock->mutex)) in ice_destroy_lock()
/freebsd/sys/dev/cxgbe/
H A Dt4_sched.c481 if (mtx_initialized(&sc->tc_lock)) in t4_free_tx_sched()
737 if (mtx_initialized(&t->etid_lock)) in t4_free_etid_table()
/freebsd/sys/kern/
H A Dkern_devctl.c557 if (!mtx_initialized(&devsoftc.mtx)) { in sysctl_devctl_queue()
H A Dkern_cons.c568 if (mtx_initialized(&cnputs_mtx)) { in cnputsn()
/freebsd/sys/contrib/ena-com/
H A Dena_plat.h244 if (mtx_initialized(&(spinlock))) \
/freebsd/sys/powerpc/powernv/
H A Dopal_console.c143 if (!mtx_initialized(&opalcons_buffer.mtx)) in uart_opal_real_map_outbuffer()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c462 if (mtx_initialized(&dev->idr_lock)) in qlnxr_free_resources()
465 if (mtx_initialized(&dev->sgid_lock)) in qlnxr_free_resources()
/freebsd/sys/sys/
H A Dmutex.h472 #define mtx_initialized(m) lock_initialized(&(m)->lock_object) macro
/freebsd/sys/arm/ti/
H A Dti_gpio.c746 KASSERT(mtx_initialized(&sc->sc_mtx), ("gpio mutex not initialized")); in ti_gpio_detach()

123