Home
last modified time | relevance | path

Searched refs:io_mtx (Results 1 – 3 of 3) sorted by relevance

/NextBSD/sys/dev/iscsi_initiator/
HDisc_soc.c613 mtx_lock(&sp->io_mtx); in isc_in()
617 mtx_unlock(&sp->io_mtx); in isc_in()
644 mtx_lock(&sp->io_mtx); in isc_in()
647 mtx_unlock(&sp->io_mtx); in isc_in()
664 mtx_lock(&sp->io_mtx); in isc_stop_receiver()
666 msleep(&sp->soc, &sp->io_mtx, PRIBIO|PDROP, "isc_stpc", 5*hz); in isc_stop_receiver()
670 mtx_lock(&sp->io_mtx); in isc_stop_receiver()
676 msleep(&sp->soc, &sp->io_mtx, PRIBIO, "isc_stpc", 5*hz); in isc_stop_receiver()
678 mtx_unlock(&sp->io_mtx); in isc_stop_receiver()
HDisc_sm.c325 mtx_lock(&sp->io_mtx); in isc_qout()
329 mtx_unlock(&sp->io_mtx); in isc_qout()
349 mtx_lock(&sp->io_mtx); in ism_restart()
353 mtx_unlock(&sp->io_mtx); in ism_restart()
545 mtx_lock(&sp->io_mtx); in ism_out()
555 if(msleep(&sp->flags, &sp->io_mtx, PRIBIO, "isc_proc", hz*30) == EWOULDBLOCK) { in ism_out()
562 mtx_unlock(&sp->io_mtx); in ism_out()
720 mtx_destroy(&sp->io_mtx); in ism_stop()
748 mtx_init(&sp->io_mtx, "iscsi-io", NULL, MTX_DEF); in ism_start()
HDiscsivar.h152 struct mtx io_mtx; member