Searched refs:io_lock (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-13-stable/sys/powerpc/pseries/
H A Dphyp_llan.c87 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 Dphyp_vscsi.c102 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 Dig4_var.h106 * io_lock is used as condition variable to synchronize active process
112 struct mtx io_lock; member in struct:ig4iic_softc
H A Dig4_iic.c312 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 Dtws_hdm.c282 * 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 Dtws.h245 struct mtx io_lock; /* IO lock */ member in struct:tws_softc
H A Dtws_cam.c484 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 Dtws.c197 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 Dzio.c605 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 Dvdev_mirror.c451 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 Dvdev_label.c1214 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 Dvdev_indirect.c1185 mutex_enter(&pio->io_lock);
1187 mutex_exit(&pio->io_lock);
/freebsd-13-stable/sys/dev/twa/
H A Dtw_osl_freebsd.c288 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 Dtw_cl_io.c174 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 Dtw_cl_init.c315 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 Dtw_cl.h184 TW_LOCK_HANDLE *io_lock;/* ptr to lock held during cmd member in struct:tw_cli_ctlr_context
H A Dtw_osl.h146 struct mtx *io_lock;/* ptr to general purpose lock */ member in struct:twa_softc
/freebsd-13-stable/sys/cam/ctl/
H A Dctl_backend_block.c181 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 Docs_hw.c161 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 Docs_hw_queues.c2269 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 Docs_ddump.c487 ocs_lock(&hw->io_lock);
511 ocs_unlock(&hw->io_lock);
H A Docs_hw.h970 /* 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 Dzio.h413 * 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 Dmrsas_cam.c1474 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 Dmrsas.c933 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,

Completed in 191 milliseconds

12