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

12

/freebsd-11-stable/sys/powerpc/pseries/
H A Dphyp_llan.c85 struct mtx io_lock; member in struct:llan_softc
168 mtx_init(&sc->io_lock, "llan", NULL, MTX_DEF);
177 mtx_destroy(&sc->io_lock);
196 busdma_lock_mutex, &sc->io_lock, &sc->tx_dma_tag);
285 mtx_lock(&sc->io_lock);
309 mtx_unlock(&sc->io_lock);
322 mtx_assert(&sc->io_lock, MA_OWNED);
374 mtx_lock(&sc->io_lock);
404 mtx_unlock(&sc->io_lock);
406 mtx_lock(&sc->io_lock);
[all...]
H A Dphyp_vscsi.c100 struct mtx io_lock; member in struct:vscsi_softc
290 mtx_init(&sc->io_lock, "vscsi", NULL, MTX_DEF);
303 mtx_destroy(&sc->io_lock);
313 256, BUS_SPACE_MAXSIZE_32BIT, 0, busdma_lock_mutex, &sc->io_lock,
335 mtx_lock(&sc->io_lock);
352 mtx_unlock(&sc->io_lock);
359 device_get_unit(dev), &sc->io_lock,
370 mtx_lock(&sc->io_lock);
377 mtx_unlock(&sc->io_lock);
380 mtx_unlock(&sc->io_lock);
[all...]
/freebsd-11-stable/sys/dev/ichiic/
H A Dig4_var.h83 * io_lock right afterwards, to synchronize controller I/O activity.
86 * is in progress or while io_lock is dropped during mtx_sleep in
87 * wait_status and set_controller. It is safe to drop io_lock in those
99 struct mtx io_lock; member in struct:ig4iic_softc
H A Dig4_iic.c135 mtx_sleep(sc, &sc->io_lock, 0, "i2cslv", 1);
199 mtx_sleep(sc, &sc->io_lock, 0, "i2cwait",
433 mtx_lock(&sc->io_lock);
491 mtx_unlock(&sc->io_lock);
502 mtx_lock(&sc->io_lock);
511 mtx_unlock(&sc->io_lock);
525 mtx_init(&sc->io_lock, "IG4 I/O lock", NULL, MTX_DEF);
629 mtx_lock(&sc->io_lock);
634 mtx_unlock(&sc->io_lock);
692 mtx_lock(&sc->io_lock);
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzio.c440 ASSERT(MUTEX_HELD(&pio->io_lock));
476 mutex_enter(&pio->io_lock);
477 mutex_enter(&cio->io_lock);
490 mutex_exit(&cio->io_lock);
491 mutex_exit(&pio->io_lock);
500 mutex_enter(&pio->io_lock);
501 mutex_enter(&cio->io_lock);
509 mutex_exit(&cio->io_lock);
510 mutex_exit(&pio->io_lock);
519 mutex_enter(&zio->io_lock);
[all...]
H A Dvdev_mirror.c360 mutex_enter(&zio->io_lock);
362 mutex_enter(&pio->io_lock);
365 mutex_exit(&pio->io_lock);
367 mutex_exit(&zio->io_lock);
H A Dvdev_label.c1076 mutex_enter(&rio->io_lock);
1088 mutex_exit(&rio->io_lock);
H A Dvdev_indirect.c1146 mutex_enter(&pio->io_lock);
1148 mutex_exit(&pio->io_lock);
/freebsd-11-stable/sys/dev/tws/
H A Dtws_hdm.c284 * Get the io_lock to protect against simultinous
287 mtx_lock(&sc->io_lock);
309 mtx_unlock(&sc->io_lock);
341 * Get the io_lock to protect against simultinous
344 mtx_lock(&sc->io_lock);
350 mtx_unlock(&sc->io_lock);
H A Dtws.h248 struct mtx io_lock; /* IO lock */ member in struct:tws_softc
H A Dtws_cam.c502 mtx_lock(&sc->io_lock);
514 mtx_unlock(&sc->io_lock);
913 mtx_lock(&sc->io_lock);
915 mtx_unlock(&sc->io_lock);
932 mtx_lock(&sc->io_lock);
943 mtx_unlock(&sc->io_lock);
H A Dtws.c200 mtx_init( &sc->io_lock, "tws_io_lock", NULL, MTX_DEF | MTX_RECURSE);
345 mtx_destroy(&sc->io_lock);
431 mtx_destroy(&sc->io_lock);
601 &sc->io_lock, /* lockfuncarg */
/freebsd-11-stable/sys/dev/twa/
H A Dtw_osl_freebsd.c301 sc->io_lock = &(sc->io_lock_handle);
302 mtx_init(sc->io_lock, "tw_osl_io_lock", NULL, MTX_SPIN);
631 sc->io_lock, /* lockfuncarg */
657 sc->io_lock, /* lockfuncarg */
1455 mtx_lock_spin(sc->io_lock);
1460 mtx_unlock_spin(sc->io_lock);
1468 * So, there's no need to hold the io_lock.
1481 * Specifying sc->io_lock as the lockfuncarg
1485 mtx_lock_spin(sc->io_lock);
1489 mtx_unlock_spin(sc->io_lock);
[all...]
H A Dtw_cl_io.c178 tw_osl_get_lock(ctlr_handle, ctlr->io_lock);
243 tw_osl_free_lock(ctlr_handle, ctlr->io_lock);
1069 * the reset is done (and io_lock is released).
1188 tw_osl_get_lock(ctlr_handle, ctlr->io_lock);
1221 tw_osl_free_lock(ctlr_handle, ctlr->io_lock);
1238 tw_osl_free_lock(ctlr_handle, ctlr->io_lock);
1251 tw_osl_free_lock(ctlr_handle, ctlr->io_lock);
1255 tw_osl_free_lock(ctlr_handle, ctlr->io_lock);
H A Dtw_cl_init.c323 ctlr->io_lock = &(ctlr->io_lock_handle);
324 tw_osl_init_lock(ctlr_handle, "tw_cl_io_lock", ctlr->io_lock);
588 tw_osl_destroy_lock(ctlr_handle, ctlr->io_lock);
H A Dtw_cl.h190 TW_LOCK_HANDLE *io_lock;/* ptr to lock held during cmd member in struct:tw_cli_ctlr_context
H A Dtw_osl.h145 struct mtx *io_lock;/* ptr to general purpose lock */ member in struct:twa_softc
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_backend_block.c176 struct mtx_padalign io_lock; member in struct:ctl_be_block_lun
483 mtx_lock(&be_lun->io_lock);
505 mtx_unlock(&be_lun->io_lock);
516 mtx_unlock(&be_lun->io_lock);
577 mtx_lock(&be_lun->io_lock);
579 mtx_unlock(&be_lun->io_lock);
595 mtx_lock(&be_lun->io_lock);
599 mtx_unlock(&be_lun->io_lock);
660 mtx_lock(&be_lun->io_lock);
662 mtx_unlock(&be_lun->io_lock);
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_hw.c162 ocs_lock(&hw->io_lock);
165 ocs_unlock(&hw->io_lock);
177 ocs_lock(&hw->io_lock);
181 ocs_unlock(&hw->io_lock);
366 ocs_lock_init(hw->os, &hw->io_lock, "HW_io_lock[%d]", ocs_instance(hw->os));
1253 ocs_lock_free(&hw->io_lock);
1391 ocs_lock(&hw->io_lock);
1408 ocs_unlock(&hw->io_lock);
3395 ocs_lock(&hw->io_lock);
3397 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);
2393 * @b Note: io_lock must be held.
2523 ocs_lock(&hw->io_lock);
2530 ocs_unlock(&hw->io_lock);
[all...]
H A Docs_ddump.c491 ocs_lock(&hw->io_lock);
515 ocs_unlock(&hw->io_lock);
H A Docs_hw.h975 /* Auto XFER RDY Buffers - protect with io_lock */
1035 ocs_lock_t io_lock; /**< IO lock to synchronize list access */ member in struct:ocs_hw_s
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzio.h365 * the reexecute flags are protected by io_lock, modifiable by children,
490 kmutex_t io_lock; member in struct:zio
/freebsd-11-stable/sys/dev/mrsas/
H A Dmrsas_cam.c1481 mtx_lock(&sc->io_lock);
1489 mtx_unlock(&sc->io_lock);
1517 mtx_lock(&sc->io_lock);
1519 mtx_unlock(&sc->io_lock);
H A Dmrsas.c941 mtx_init(&sc->io_lock, "mrsas_io_lock", NULL, MTX_DEF);
1011 mtx_destroy(&sc->io_lock);
1161 mtx_destroy(&sc->io_lock);
2169 &sc->io_lock,

Completed in 298 milliseconds

12