Searched refs:VTSCSI_MTX (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/sys/dev/virtio/scsi/ |
H A D | virtio_scsivar.h | 146 #define VTSCSI_MTX(_sc) &(_sc)->vtscsi_mtx macro 147 #define VTSCSI_LOCK_INIT(_sc, _name) mtx_init(VTSCSI_MTX(_sc), _name, \ 149 #define VTSCSI_LOCK(_sc) mtx_lock(VTSCSI_MTX(_sc)) 150 #define VTSCSI_UNLOCK(_sc) mtx_unlock(VTSCSI_MTX(_sc)) 151 #define VTSCSI_LOCK_OWNED(_sc) mtx_assert(VTSCSI_MTX(_sc), MA_OWNED) 152 #define VTSCSI_LOCK_NOTOWNED(_sc) mtx_assert(VTSCSI_MTX(_sc), MA_NOTOWNED) 153 #define VTSCSI_LOCK_DESTROY(_sc) mtx_destroy(VTSCSI_MTX(_sc))
|
H A D | virtio_scsi.c | 590 "vtscsi", sc, device_get_unit(dev), VTSCSI_MTX(sc), 1, 741 * The VTSCSI_MTX is briefly dropped between setting 1954 * about to be freed. The VTSCSI_MTX must not be held for this in 2083 callout_init_mtx(&req->vsr_callout, VTSCSI_MTX(sc), 0);
|
Completed in 176 milliseconds