Searched refs:sim_lock (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/dev/mrsas/ |
H A D | mrsas_cam.c | 165 device_get_unit(sc->mrsas_dev), &sc->sim_lock, mrsas_cam_depth, in mrsas_cam_attach() 180 mtx_lock(&sc->sim_lock); in mrsas_cam_attach() 183 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach() 191 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach() 194 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach() 200 device_get_unit(sc->mrsas_dev), &sc->sim_lock, mrsas_cam_depth, in mrsas_cam_attach() 207 mtx_lock(&sc->sim_lock); in mrsas_cam_attach() 210 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach() 218 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach() 221 mtx_unlock(&sc->sim_lock); in mrsas_cam_attach() [all …]
|
H A D | mrsas.c | 897 mtx_init(&sc->sim_lock, "mrsas_sim_lock", NULL, MTX_DEF); in mrsas_attach() 966 mtx_destroy(&sc->sim_lock); in mrsas_attach() 1116 mtx_destroy(&sc->sim_lock); in mrsas_detach() 1735 mtx_lock(&sc->sim_lock); in mrsas_complete_cmd() 1741 mtx_unlock(&sc->sim_lock); in mrsas_complete_cmd() 2880 callout_init_mtx(&cmd->cm_callout, &sc->sim_lock, 0); in mrsas_alloc_mpt_cmds() 3098 mtx_lock(&sc->sim_lock); in mrsas_ocr_thread() 3101 msleep(&sc->ocr_chan, &sc->sim_lock, PRIBIO, in mrsas_ocr_thread() 3125 msleep(&sc->ocr_chan, &sc->sim_lock, PRIBIO, in mrsas_ocr_thread() 3154 mtx_unlock(&sc->sim_lock); in mrsas_ocr_thread() [all …]
|
H A D | mrsas.h | 3473 struct mtx sim_lock; member
|
/freebsd/sys/dev/tws/ |
H A D | tws_cam.c | 155 &sc->sim_lock, in tws_cam_attach() 163 mtx_lock(&sc->sim_lock); in tws_cam_attach() 169 mtx_unlock(&sc->sim_lock); in tws_cam_attach() 180 mtx_unlock(&sc->sim_lock); in tws_cam_attach() 183 mtx_unlock(&sc->sim_lock); in tws_cam_attach() 192 mtx_lock(&sc->sim_lock); in tws_cam_detach() 199 mtx_unlock(&sc->sim_lock); in tws_cam_detach() 211 mtx_lock(&sc->sim_lock); in tws_bus_scan() 214 mtx_unlock(&sc->sim_lock); in tws_bus_scan() 219 mtx_unlock(&sc->sim_lock); in tws_bus_scan() [all …]
|
H A D | tws.h | 241 struct mtx sim_lock; /* sim lock */ member
|
H A D | tws.c | 193 mtx_init( &sc->sim_lock, "tws_sim_lock", NULL, MTX_DEF); in tws_attach() 336 mtx_destroy(&sc->sim_lock); in tws_attach() 422 mtx_destroy(&sc->sim_lock); in tws_detach()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_cam.c | 132 device_get_unit(ocs->dev), &ocs->sim_lock, in ocs_attach_port() 138 mtx_lock(&ocs->sim_lock); in ocs_attach_port() 141 mtx_unlock(&ocs->sim_lock); in ocs_attach_port() 145 mtx_unlock(&ocs->sim_lock); in ocs_attach_port() 151 mtx_unlock(&ocs->sim_lock); in ocs_attach_port() 160 callout_init_mtx(&fcp->ldt, &ocs->sim_lock, 0); in ocs_attach_port() 181 mtx_lock(&ocs->sim_lock); in ocs_detach_port() 192 mtx_unlock(&ocs->sim_lock); in ocs_detach_port() 212 if (mtx_initialized(&ocs->sim_lock) == 0) { in ocs_cam_attach() 213 mtx_init(&ocs->sim_lock, "ocs_sim_lock", NULL, MTX_DEF); in ocs_cam_attach() [all …]
|
H A D | ocs.h | 188 struct mtx sim_lock; member
|
H A D | ocs_pci.c | 905 mtx_lock(&ocs->sim_lock); in ocs_pci_intr() 907 mtx_unlock(&ocs->sim_lock); in ocs_pci_intr()
|