Lines Matching refs:tpc_lock
177 mtx_lock(&softc->tpc_lock); in tpc_timeout()
186 mtx_unlock(&softc->tpc_lock); in tpc_timeout()
194 mtx_init(&softc->tpc_lock, "CTL TPC mutex", NULL, MTX_DEF); in ctl_tpc_init()
209 mtx_lock(&softc->tpc_lock); in ctl_tpc_shutdown()
215 mtx_unlock(&softc->tpc_lock); in ctl_tpc_shutdown()
216 mtx_destroy(&softc->tpc_lock); in ctl_tpc_shutdown()
257 mtx_lock(&softc->tpc_lock); in ctl_tpc_lun_shutdown()
265 mtx_unlock(&softc->tpc_lock); in ctl_tpc_lun_shutdown()
1477 mtx_lock(&softc->tpc_lock); in tpc_process()
1480 mtx_unlock(&softc->tpc_lock); in tpc_process()
2164 mtx_lock(&softc->tpc_lock); in ctl_populate_token()
2166 mtx_unlock(&softc->tpc_lock); in ctl_populate_token()
2298 mtx_lock(&softc->tpc_lock); in ctl_write_using_token()
2310 mtx_unlock(&softc->tpc_lock); in ctl_write_using_token()
2436 mtx_lock(&softc->tpc_lock); in ctl_report_all_rod_tokens()
2439 mtx_unlock(&softc->tpc_lock); in ctl_report_all_rod_tokens()
2454 mtx_lock(&softc->tpc_lock); in ctl_report_all_rod_tokens()
2462 mtx_unlock(&softc->tpc_lock); in ctl_report_all_rod_tokens()