Searched refs:ctl_lock (Results 1 – 8 of 8) sorted by relevance
75 mtx_lock(&softc->ctl_lock); in ctl_backend_register()78 mtx_unlock(&softc->ctl_lock); in ctl_backend_register()82 mtx_unlock(&softc->ctl_lock); in ctl_backend_register()96 mtx_lock(&softc->ctl_lock); in ctl_backend_register()99 mtx_unlock(&softc->ctl_lock); in ctl_backend_register()118 mtx_lock(&softc->ctl_lock); in ctl_backend_deregister()121 mtx_unlock(&softc->ctl_lock); in ctl_backend_deregister()131 mtx_lock(&softc->ctl_lock); in ctl_backend_find()134 mtx_unlock(&softc->ctl_lock); in ctl_backend_find()138 mtx_unlock(&softc->ctl_lock); in ctl_backend_find()
82 mtx_lock(&softc->ctl_lock); in ctl_frontend_register()89 mtx_unlock(&softc->ctl_lock); in ctl_frontend_register()101 mtx_lock(&softc->ctl_lock); in ctl_frontend_register()104 mtx_unlock(&softc->ctl_lock); in ctl_frontend_register()123 mtx_lock(&softc->ctl_lock); in ctl_frontend_deregister()136 mtx_lock(&softc->ctl_lock); in ctl_frontend_find()159 mtx_lock(&softc->ctl_lock); in ctl_port_register()198 mtx_lock(&softc->ctl_lock); in ctl_port_register()210 mtx_lock(&softc->ctl_lock); in ctl_port_register()236 mtx_lock(&softc->ctl_lock); in ctl_port_deregister()[all …]
967 mtx_lock(&softc->ctl_lock); in ctl_isc_announce_iid()1068 mtx_lock(&softc->ctl_lock); in ctl_isc_ha_link_down()1079 mtx_lock(&softc->ctl_lock); in ctl_isc_ha_link_down()1106 mtx_lock(&softc->ctl_lock); in ctl_isc_ua()1140 mtx_lock(&softc->ctl_lock); in ctl_isc_lun_sync()1305 mtx_lock(&softc->ctl_lock); in ctl_isc_port_sync()1380 mtx_lock(&softc->ctl_lock); in ctl_isc_mode_sync()1833 mtx_lock(&softc->ctl_lock); in ctl_ha_role_sysctl()2084 mtx_lock(&softc->ctl_lock); in ctl_remove_initiator()2115 mtx_lock(&softc->ctl_lock); in ctl_add_initiator()[all …]
282 mtx_lock(&softc->ctl_lock); in tpcl_resolve()308 mtx_unlock(&softc->ctl_lock); in tpcl_resolve()
543 mtx_assert(&lun->ctl_softc->ctl_lock, MA_NOTOWNED); in ctl_build_ua()578 mtx_lock(&lun->ctl_softc->ctl_lock); in ctl_build_ua()580 mtx_unlock(&lun->ctl_softc->ctl_lock); in ctl_build_ua()
437 struct mtx ctl_lock; member
199 callout_init_mtx(&softc->tpc_timeout, &softc->ctl_lock, 0); in ctl_tpc_init()
60 struct rwlock ctl_lock; /* overall ctl lock */ member65 #define NHOPS_WLOCK(ctl) rw_wlock(&(ctl)->ctl_lock)66 #define NHOPS_RLOCK(ctl) rw_rlock(&(ctl)->ctl_lock)67 #define NHOPS_WUNLOCK(ctl) rw_wunlock(&(ctl)->ctl_lock)68 #define NHOPS_RUNLOCK(ctl) rw_runlock(&(ctl)->ctl_lock)69 #define NHOPS_LOCK_INIT(ctl) rw_init(&(ctl)->ctl_lock, "nhop_ctl")70 #define NHOPS_LOCK_DESTROY(ctl) rw_destroy(&(ctl)->ctl_lock)71 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)