Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/twa/
Dtw_osl_cam.c103 device_get_unit(sc->bus_dev), sc->sim_lock, in tw_osli_cam_attach()
120 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()
[all …]
Dtw_osl.h157 struct mtx *sim_lock;/* ptr to sim lock */ member
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-stable/sys/dev/tws/
Dtws_cam.c164 &sc->sim_lock, in tws_cam_attach()
173 mtx_lock(&sc->sim_lock); in tws_cam_attach()
181 mtx_unlock(&sc->sim_lock); in tws_cam_attach()
192 mtx_unlock(&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()
[all …]
Dtws.h248 struct mtx sim_lock; /* sim lock */ member
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-stable/sys/dev/mrsas/
Dmrsas_cam.c167 device_get_unit(sc->mrsas_dev), &sc->sim_lock, mrsas_cam_depth, in mrsas_cam_attach()
182 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()
202 device_get_unit(sc->mrsas_dev), &sc->sim_lock, mrsas_cam_depth, in mrsas_cam_attach()
209 mtx_lock(&sc->sim_lock); in mrsas_cam_attach()
212 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach()
220 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach()
223 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach()
[all …]
Dmrsas.c939 mtx_init(&sc->sim_lock, "mrsas_sim_lock", NULL, MTX_DEF); in mrsas_attach()
1008 mtx_destroy(&sc->sim_lock); in mrsas_attach()
1158 mtx_destroy(&sc->sim_lock); in mrsas_detach()
2898 callout_init_mtx(&cmd->cm_callout, &sc->sim_lock, 0); in mrsas_alloc_mpt_cmds()
3117 mtx_lock(&sc->sim_lock); in mrsas_ocr_thread()
3120 msleep(&sc->ocr_chan, &sc->sim_lock, PRIBIO, in mrsas_ocr_thread()
3145 msleep(&sc->ocr_chan, &sc->sim_lock, PRIBIO, in mrsas_ocr_thread()
3174 mtx_unlock(&sc->sim_lock); in mrsas_ocr_thread()
3176 mtx_lock(&sc->sim_lock); in mrsas_ocr_thread()
3195 mtx_unlock(&sc->sim_lock); in mrsas_ocr_thread()
[all …]
Dmrsas.h3226 struct mtx sim_lock; member
/freebsd-12-stable/sys/dev/ocs_fc/
Docs_cam.c112 device_get_unit(ocs->dev), &ocs->sim_lock, in ocs_attach_port()
118 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()
140 callout_init_mtx(&fcp->ldt, &ocs->sim_lock, 0); 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()
193 mtx_init(&ocs->sim_lock, "ocs_sim_lock", NULL, MTX_DEF); in ocs_cam_attach()
[all …]
Docs.h192 struct mtx sim_lock; member
Docs_pci.c913 mtx_lock(&ocs->sim_lock); in ocs_pci_intr()
915 mtx_unlock(&ocs->sim_lock); in ocs_pci_intr()