/freebsd-13-stable/sys/powerpc/pseries/ |
H A D | phyp_llan.c | 87 struct mtx io_lock; member in struct:llan_softc 179 mtx_init(&sc->io_lock, "llan", NULL, MTX_DEF); 188 mtx_destroy(&sc->io_lock); 207 busdma_lock_mutex, &sc->io_lock, &sc->tx_dma_tag); 296 mtx_lock(&sc->io_lock); 320 mtx_unlock(&sc->io_lock); 333 mtx_assert(&sc->io_lock, MA_OWNED); 385 mtx_lock(&sc->io_lock); 413 mtx_unlock(&sc->io_lock); 415 mtx_lock(&sc->io_lock); [all...] |
H A D | phyp_vscsi.c | 102 struct mtx io_lock; member in struct:vscsi_softc 292 mtx_init(&sc->io_lock, "vscsi", NULL, MTX_DEF); 305 mtx_destroy(&sc->io_lock); 315 256, BUS_SPACE_MAXSIZE_32BIT, 0, busdma_lock_mutex, &sc->io_lock, 337 mtx_lock(&sc->io_lock); 354 mtx_unlock(&sc->io_lock); 361 device_get_unit(dev), &sc->io_lock, 371 mtx_lock(&sc->io_lock); 378 mtx_unlock(&sc->io_lock); 381 mtx_unlock(&sc->io_lock); [all...] |
/freebsd-13-stable/sys/dev/ichiic/ |
H A D | ig4_var.h | 106 * io_lock is used as condition variable to synchronize active process 112 struct mtx io_lock; member in struct:ig4iic_softc
|
H A D | ig4_iic.c | 312 mtx_lock_spin(&sc->io_lock); 314 msleep_spin(sc, &sc->io_lock, "i2cwait", 317 mtx_unlock_spin(&sc->io_lock); 1025 mtx_init(&sc->io_lock, "IG4 I/O lock", NULL, MTX_SPIN); 1092 mtx_destroy(&sc->io_lock); 1148 mtx_lock_spin(&sc->io_lock); 1156 mtx_unlock_spin(&sc->io_lock);
|
/freebsd-13-stable/sys/dev/tws/ |
H A D | tws_hdm.c | 282 * Get the io_lock to protect against simultinous 285 mtx_lock(&sc->io_lock); 307 mtx_unlock(&sc->io_lock); 336 * Get the io_lock to protect against simultinous 339 mtx_lock(&sc->io_lock); 345 mtx_unlock(&sc->io_lock);
|
H A D | tws.h | 245 struct mtx io_lock; /* IO lock */ member in struct:tws_softc
|
H A D | tws_cam.c | 484 mtx_lock(&sc->io_lock); 496 mtx_unlock(&sc->io_lock); 890 mtx_lock(&sc->io_lock); 892 mtx_unlock(&sc->io_lock); 908 mtx_lock(&sc->io_lock); 919 mtx_unlock(&sc->io_lock);
|
H A D | tws.c | 197 mtx_init( &sc->io_lock, "tws_io_lock", NULL, MTX_DEF | MTX_RECURSE); 340 mtx_destroy(&sc->io_lock); 426 mtx_destroy(&sc->io_lock); 591 &sc->io_lock, /* lockfuncarg */
|
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | zio.c | 605 ASSERT(MUTEX_HELD(&pio->io_lock)); 641 mutex_enter(&pio->io_lock); 642 mutex_enter(&cio->io_lock); 655 mutex_exit(&cio->io_lock); 656 mutex_exit(&pio->io_lock); 665 mutex_enter(&pio->io_lock); 666 mutex_enter(&cio->io_lock); 674 mutex_exit(&cio->io_lock); 675 mutex_exit(&pio->io_lock); 684 mutex_enter(&zio->io_lock); [all...] |
H A D | vdev_mirror.c | 451 mutex_enter(&zio->io_lock); 453 mutex_enter(&pio->io_lock); 456 mutex_exit(&pio->io_lock); 458 mutex_exit(&zio->io_lock);
|
H A D | vdev_label.c | 1214 mutex_enter(&rio->io_lock); 1221 mutex_exit(&rio->io_lock); 1474 mutex_enter(&rio->io_lock); 1486 mutex_exit(&rio->io_lock);
|
H A D | vdev_indirect.c | 1185 mutex_enter(&pio->io_lock); 1187 mutex_exit(&pio->io_lock);
|
/freebsd-13-stable/sys/dev/twa/ |
H A D | tw_osl_freebsd.c | 288 sc->io_lock = &(sc->io_lock_handle); 289 mtx_init(sc->io_lock, "tw_osl_io_lock", NULL, MTX_SPIN); 616 sc->io_lock, /* lockfuncarg */ 642 sc->io_lock, /* lockfuncarg */ 1415 mtx_lock_spin(sc->io_lock); 1420 mtx_unlock_spin(sc->io_lock); 1428 * So, there's no need to hold the io_lock. 1441 * Specifying sc->io_lock as the lockfuncarg 1445 mtx_lock_spin(sc->io_lock); 1449 mtx_unlock_spin(sc->io_lock); [all...] |
H A D | tw_cl_io.c | 174 tw_osl_get_lock(ctlr_handle, ctlr->io_lock); 239 tw_osl_free_lock(ctlr_handle, ctlr->io_lock); 1046 * the reset is done (and io_lock is released). 1163 tw_osl_get_lock(ctlr_handle, ctlr->io_lock); 1196 tw_osl_free_lock(ctlr_handle, ctlr->io_lock); 1213 tw_osl_free_lock(ctlr_handle, ctlr->io_lock); 1226 tw_osl_free_lock(ctlr_handle, ctlr->io_lock); 1230 tw_osl_free_lock(ctlr_handle, ctlr->io_lock);
|
H A D | tw_cl_init.c | 315 ctlr->io_lock = &(ctlr->io_lock_handle); 316 tw_osl_init_lock(ctlr_handle, "tw_cl_io_lock", ctlr->io_lock); 578 tw_osl_destroy_lock(ctlr_handle, ctlr->io_lock);
|
H A D | tw_cl.h | 184 TW_LOCK_HANDLE *io_lock;/* ptr to lock held during cmd member in struct:tw_cli_ctlr_context
|
H A D | tw_osl.h | 146 struct mtx *io_lock;/* ptr to general purpose lock */ member in struct:twa_softc
|
/freebsd-13-stable/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 181 struct mtx_padalign io_lock; member in struct:ctl_be_block_lun 504 mtx_lock(&be_lun->io_lock); 526 mtx_unlock(&be_lun->io_lock); 537 mtx_unlock(&be_lun->io_lock); 612 mtx_lock(&be_lun->io_lock); 616 mtx_unlock(&be_lun->io_lock); 758 mtx_lock(&be_lun->io_lock); 762 mtx_unlock(&be_lun->io_lock); 929 mtx_lock(&be_lun->io_lock); 933 mtx_unlock(&be_lun->io_lock); [all...] |
/freebsd-13-stable/sys/dev/ocs_fc/ |
H A D | ocs_hw.c | 161 ocs_lock(&hw->io_lock); 164 ocs_unlock(&hw->io_lock); 176 ocs_lock(&hw->io_lock); 180 ocs_unlock(&hw->io_lock); 362 ocs_lock_init(hw->os, &hw->io_lock, "HW_io_lock[%d]", ocs_instance(hw->os)); 1244 ocs_lock_free(&hw->io_lock); 1380 ocs_lock(&hw->io_lock); 1397 ocs_unlock(&hw->io_lock); 3376 ocs_lock(&hw->io_lock); 3378 ocs_unlock(&hw->io_lock); [all...] |
H A D | ocs_hw_queues.c | 2269 ocs_lock(&hw->io_lock); 2279 ocs_unlock(&hw->io_lock); 2345 ocs_lock(&hw->io_lock); 2347 ocs_unlock(&hw->io_lock); 2350 ocs_unlock(&hw->io_lock); 2367 ocs_lock(&hw->io_lock); 2379 ocs_unlock(&hw->io_lock); 2392 * @b Note: io_lock must be held. 2522 ocs_lock(&hw->io_lock); 2529 ocs_unlock(&hw->io_lock); [all...] |
H A D | ocs_ddump.c | 487 ocs_lock(&hw->io_lock); 511 ocs_unlock(&hw->io_lock);
|
H A D | ocs_hw.h | 970 /* Auto XFER RDY Buffers - protect with io_lock */ 1029 ocs_lock_t io_lock; /**< IO lock to synchronize list access */ member in struct:ocs_hw_s
|
/freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
H A D | zio.h | 413 * the reexecute flags are protected by io_lock, modifiable by children, 515 kmutex_t io_lock; member in struct:zio
|
/freebsd-13-stable/sys/dev/mrsas/ |
H A D | mrsas_cam.c | 1474 mtx_lock(&sc->io_lock); 1482 mtx_unlock(&sc->io_lock); 1510 mtx_lock(&sc->io_lock); 1512 mtx_unlock(&sc->io_lock);
|
H A D | mrsas.c | 933 mtx_init(&sc->io_lock, "mrsas_io_lock", NULL, MTX_DEF); 1003 mtx_destroy(&sc->io_lock); 1153 mtx_destroy(&sc->io_lock); 2160 &sc->io_lock,
|