Searched refs:mpt_lock (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/mpt/ |
H A D | mpt.h | 226 busdma_lock_mutex, &(mpt)->mpt_lock, \ 532 struct mtx mpt_lock; member 758 mtx_init(&mpt->mpt_lock, "mpt", NULL, MTX_DEF); \ 762 mtx_destroy(&mpt->mpt_lock); \ 766 #define MPT_LOCK(mpt) mtx_lock(&(mpt)->mpt_lock) 767 #define MPT_UNLOCK(mpt) mtx_unlock(&(mpt)->mpt_lock) 768 #define MPT_OWNED(mpt) mtx_owned(&(mpt)->mpt_lock) 769 #define MPT_LOCK_ASSERT(mpt) mtx_assert(&(mpt)->mpt_lock, MA_OWNED) 771 msleep_sbt(ident, &(mpt)->mpt_lock, priority, wmesg, sbt, 0, 0) 777 callout_init_mtx(c, &(mpt)->mpt_lock, 0)
|
H A D | mpt_cam.h | 148 cam_sim_alloc(a, b, c, mpt, (mpt)->unit, &(mpt)->mpt_lock, e, f, g)
|