Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/twa/
H A Dtw_osl_cam.c116 mtx_lock(sc->sim_lock); in tw_osli_cam_attach()
126 mtx_unlock(sc->sim_lock); in tw_osli_cam_attach()
144 mtx_unlock(sc->sim_lock); in tw_osli_cam_attach()
147 mtx_unlock(sc->sim_lock); in tw_osli_cam_attach()
166 mtx_lock(sc->sim_lock); in tw_osli_cam_detach()
176 mtx_destroy(sc->sim_lock); in tw_osli_cam_detach()
480 mtx_lock(sc->sim_lock); in tw_osli_request_bus_scan()
484 mtx_unlock(sc->sim_lock); in tw_osli_request_bus_scan()
489 mtx_unlock(sc->sim_lock); in tw_osli_request_bus_scan()
657 mtx_lock(sc->sim_lock); in tw_osl_complete_io()
[all …]
H A Dtw_osl.h150 struct mtx *sim_lock;/* ptr to sim lock */ member
H A Dtw_osl_freebsd.c292 sc->sim_lock = &(sc->sim_lock_handle); in twa_attach()
293 mtx_init(sc->sim_lock, "tw_osl_sim_lock", NULL, MTX_DEF | MTX_RECURSE); in twa_attach()
/freebsd-13.1/sys/dev/tws/
H A Dtws_cam.c165 mtx_lock(&sc->sim_lock); in tws_cam_attach()
185 mtx_unlock(&sc->sim_lock); in tws_cam_attach()
194 mtx_lock(&sc->sim_lock); in tws_cam_detach()
201 mtx_unlock(&sc->sim_lock); in tws_cam_detach()
213 mtx_lock(&sc->sim_lock); in tws_bus_scan()
216 mtx_unlock(&sc->sim_lock); in tws_bus_scan()
221 mtx_unlock(&sc->sim_lock); in tws_bus_scan()
332 mtx_lock(&sc->sim_lock); in tws_scsi_complete()
334 mtx_unlock(&sc->sim_lock); in tws_scsi_complete()
541 mtx_lock(&sc->sim_lock); in tws_scsi_err_complete()
[all …]
H A Dtws.h243 struct mtx sim_lock; /* sim lock */ member
H A Dtws.c195 mtx_init( &sc->sim_lock, "tws_sim_lock", NULL, MTX_DEF); in tws_attach()
338 mtx_destroy(&sc->sim_lock); in tws_attach()
424 mtx_destroy(&sc->sim_lock); in tws_detach()
/freebsd-13.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()
1742 mtx_lock(&sc->sim_lock); in mrsas_cmd_done()
1795 mtx_lock(&sc->sim_lock); in mrsas_bus_scan()
[all …]
H A Dmrsas.c1000 mtx_destroy(&sc->sim_lock); in mrsas_attach()
1150 mtx_destroy(&sc->sim_lock); in mrsas_detach()
3119 mtx_lock(&sc->sim_lock); in mrsas_ocr_thread()
3177 mtx_lock(&sc->sim_lock); in mrsas_ocr_thread()
3196 mtx_unlock(&sc->sim_lock); in mrsas_ocr_thread()
3264 mtx_unlock(&sc->sim_lock); in mrsas_reset_ctrl()
3288 mtx_lock(&sc->sim_lock); in mrsas_reset_ctrl()
3436 mtx_unlock(&sc->sim_lock); in mrsas_reset_ctrl()
3446 mtx_lock(&sc->sim_lock); in mrsas_reset_ctrl()
3547 mtx_lock(&sc->sim_lock); in mrsas_wait_for_outstanding()
[all …]
H A Dmrsas.h3481 struct mtx sim_lock; member
/freebsd-13.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.h190 struct mtx sim_lock; member
H A Docs_pci.c907 mtx_lock(&ocs->sim_lock); in ocs_pci_intr()
909 mtx_unlock(&ocs->sim_lock); in ocs_pci_intr()