Home
last modified time | relevance | path

Searched refs:sim_lock (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/sys/dev/twa/
H A Dtw_osl_cam.c120 mtx_lock(sc->sim_lock); in tw_osli_cam_attach()
130 mtx_unlock(sc->sim_lock); in tw_osli_cam_attach()
148 mtx_unlock(sc->sim_lock); in tw_osli_cam_attach()
151 mtx_unlock(sc->sim_lock); in tw_osli_cam_attach()
172 mtx_lock(sc->sim_lock); in tw_osli_cam_detach()
182 mtx_destroy(sc->sim_lock); in tw_osli_cam_detach()
494 mtx_lock(sc->sim_lock); in tw_osli_request_bus_scan()
498 mtx_unlock(sc->sim_lock); in tw_osli_request_bus_scan()
503 mtx_unlock(sc->sim_lock); in tw_osli_request_bus_scan()
681 mtx_lock(sc->sim_lock); in tw_osl_complete_io()
[all …]
H A Dtw_osl.h151 struct mtx *sim_lock;/* ptr to sim lock */ member
H A Dtw_osl_freebsd.c307 sc->sim_lock = &(sc->sim_lock_handle); in twa_attach()
308 mtx_init(sc->sim_lock, "tw_osl_sim_lock", NULL, MTX_DEF | MTX_RECURSE); in twa_attach()
/freebsd-12.1/sys/dev/tws/
H A Dtws_cam.c173 mtx_lock(&sc->sim_lock); in tws_cam_attach()
195 mtx_unlock(&sc->sim_lock); in tws_cam_attach()
204 mtx_lock(&sc->sim_lock); in tws_cam_detach()
211 mtx_unlock(&sc->sim_lock); in tws_cam_detach()
223 mtx_lock(&sc->sim_lock); in tws_bus_scan()
226 mtx_unlock(&sc->sim_lock); in tws_bus_scan()
231 mtx_unlock(&sc->sim_lock); in tws_bus_scan()
351 mtx_lock(&sc->sim_lock); in tws_scsi_complete()
353 mtx_unlock(&sc->sim_lock); in tws_scsi_complete()
562 mtx_lock(&sc->sim_lock); in tws_scsi_err_complete()
[all …]
H A Dtws.h248 struct mtx sim_lock; /* sim lock */ member
H A Dtws.c200 mtx_init( &sc->sim_lock, "tws_sim_lock", NULL, MTX_DEF); in tws_attach()
345 mtx_destroy(&sc->sim_lock); in tws_attach()
431 mtx_destroy(&sc->sim_lock); in tws_detach()
/freebsd-12.1/sys/dev/mrsas/
H A Dmrsas_cam.c182 mtx_lock(&sc->sim_lock); in mrsas_cam_attach()
185 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach()
193 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach()
196 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach()
209 mtx_lock(&sc->sim_lock); in mrsas_cam_attach()
223 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach()
245 mtx_lock(&sc->sim_lock); in mrsas_cam_detach()
258 mtx_unlock(&sc->sim_lock); in mrsas_cam_detach()
1787 mtx_lock(&sc->sim_lock); in mrsas_cmd_done()
1840 mtx_lock(&sc->sim_lock); in mrsas_bus_scan()
[all …]
H A Dmrsas.c1008 mtx_destroy(&sc->sim_lock); in mrsas_attach()
1158 mtx_destroy(&sc->sim_lock); in mrsas_detach()
3116 mtx_lock(&sc->sim_lock); in mrsas_ocr_thread()
3175 mtx_lock(&sc->sim_lock); in mrsas_ocr_thread()
3194 mtx_unlock(&sc->sim_lock); in mrsas_ocr_thread()
3262 mtx_unlock(&sc->sim_lock); in mrsas_reset_ctrl()
3286 mtx_lock(&sc->sim_lock); in mrsas_reset_ctrl()
3434 mtx_unlock(&sc->sim_lock); in mrsas_reset_ctrl()
3444 mtx_lock(&sc->sim_lock); in mrsas_reset_ctrl()
3546 mtx_lock(&sc->sim_lock); in mrsas_wait_for_outstanding()
[all …]
H A Dmrsas.h3226 struct mtx sim_lock; member
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_cam.c118 mtx_lock(&ocs->sim_lock); in ocs_attach_port()
121 mtx_unlock(&ocs->sim_lock); in ocs_attach_port()
125 mtx_unlock(&ocs->sim_lock); in ocs_attach_port()
131 mtx_unlock(&ocs->sim_lock); in ocs_attach_port()
161 mtx_lock(&ocs->sim_lock); in ocs_detach_port()
172 mtx_unlock(&ocs->sim_lock); in ocs_detach_port()
192 if (mtx_initialized(&ocs->sim_lock) == 0) { in ocs_cam_attach()
214 if (mtx_initialized(&ocs->sim_lock)) in ocs_cam_attach()
215 mtx_destroy(&ocs->sim_lock); in ocs_cam_attach()
231 if (mtx_initialized(&ocs->sim_lock)) in ocs_cam_detach()
[all …]
H A Docs.h196 struct mtx sim_lock; member
H A Docs_pci.c859 mtx_lock(&ocs->sim_lock); in ocs_pci_intr()
861 mtx_unlock(&ocs->sim_lock); in ocs_pci_intr()