Searched refs:ctl_lock (Results 1 – 11 of 11) sorted by relevance
73 mtx_lock(&softc->ctl_lock); in ctl_backend_register()76 mtx_unlock(&softc->ctl_lock); in ctl_backend_register()80 mtx_unlock(&softc->ctl_lock); in ctl_backend_register()94 mtx_lock(&softc->ctl_lock); in ctl_backend_register()97 mtx_unlock(&softc->ctl_lock); in ctl_backend_register()116 mtx_lock(&softc->ctl_lock); in ctl_backend_deregister()119 mtx_unlock(&softc->ctl_lock); in ctl_backend_deregister()129 mtx_lock(&softc->ctl_lock); in ctl_backend_find()132 mtx_unlock(&softc->ctl_lock); in ctl_backend_find()136 mtx_unlock(&softc->ctl_lock); in ctl_backend_find()
80 mtx_lock(&softc->ctl_lock); in ctl_frontend_register()87 mtx_unlock(&softc->ctl_lock); in ctl_frontend_register()99 mtx_lock(&softc->ctl_lock); in ctl_frontend_register()102 mtx_unlock(&softc->ctl_lock); in ctl_frontend_register()121 mtx_lock(&softc->ctl_lock); in ctl_frontend_deregister()134 mtx_lock(&softc->ctl_lock); in ctl_frontend_find()157 mtx_lock(&softc->ctl_lock); in ctl_port_register()196 mtx_lock(&softc->ctl_lock); in ctl_port_register()208 mtx_lock(&softc->ctl_lock); in ctl_port_register()234 mtx_lock(&softc->ctl_lock); in ctl_port_deregister()[all …]
966 mtx_lock(&softc->ctl_lock); in ctl_isc_announce_iid()1067 mtx_lock(&softc->ctl_lock); in ctl_isc_ha_link_down()1078 mtx_lock(&softc->ctl_lock); in ctl_isc_ha_link_down()1112 mtx_lock(&softc->ctl_lock); in ctl_isc_ua()1161 mtx_lock(&softc->ctl_lock); in ctl_isc_lun_sync()1342 mtx_lock(&softc->ctl_lock); in ctl_isc_port_sync()1452 mtx_lock(&softc->ctl_lock); in ctl_isc_mode_sync()1906 mtx_lock(&softc->ctl_lock); in ctl_ha_role_sysctl()2157 mtx_lock(&softc->ctl_lock); in ctl_remove_initiator()2188 mtx_lock(&softc->ctl_lock); in ctl_add_initiator()[all …]
280 mtx_lock(&softc->ctl_lock); in tpcl_resolve()306 mtx_unlock(&softc->ctl_lock); in tpcl_resolve()
541 mtx_assert(&lun->ctl_softc->ctl_lock, MA_NOTOWNED); in ctl_build_ua()576 mtx_lock(&lun->ctl_softc->ctl_lock); in ctl_build_ua()578 mtx_unlock(&lun->ctl_softc->ctl_lock); in ctl_build_ua()
445 struct mtx ctl_lock; member
197 callout_init_mtx(&softc->tpc_timeout, &softc->ctl_lock, 0); in ctl_tpc_init()
58 struct rwlock ctl_lock; /* overall ctl lock */ member63 #define NHOPS_WLOCK(ctl) rw_wlock(&(ctl)->ctl_lock)64 #define NHOPS_RLOCK(ctl) rw_rlock(&(ctl)->ctl_lock)65 #define NHOPS_WUNLOCK(ctl) rw_wunlock(&(ctl)->ctl_lock)66 #define NHOPS_RUNLOCK(ctl) rw_runlock(&(ctl)->ctl_lock)67 #define NHOPS_LOCK_INIT(ctl) rw_init(&(ctl)->ctl_lock, "nhop_ctl")68 #define NHOPS_LOCK_DESTROY(ctl) rw_destroy(&(ctl)->ctl_lock)69 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)
75 rm_destroy(&ctl->ctl_lock); in free_nl_ctl()85 rm_init(&ctl->ctl_lock, "netlink lock"); in vnet_nl_ctl_init()
66 #define NLCTL_RLOCK(_ctl) rm_rlock(&((_ctl)->ctl_lock), &nl_tracker)67 #define NLCTL_RUNLOCK(_ctl) rm_runlock(&((_ctl)->ctl_lock), &nl_tracker)69 #define NLCTL_WLOCK(_ctl) rm_wlock(&((_ctl)->ctl_lock))70 #define NLCTL_WUNLOCK(_ctl) rm_wunlock(&((_ctl)->ctl_lock))
111 struct rmlock ctl_lock; member