Lines Matching defs:lock
78 * (u) - Protected by dmar unit lock
79 * (d) - Protected by domain lock
85 * are locked by the owning dmar unit lock, not by the domain lock.
86 * Most important, dmar lock protects the contexts list.
88 * The domain lock protects the address map for the domain, and list
92 * lock pgtbl_obj, which contains the page tables pages.
106 struct mtx lock; /* (c) */
152 #define DMAR_DOMAIN_LOCK(dom) mtx_lock(&(dom)->lock)
153 #define DMAR_DOMAIN_UNLOCK(dom) mtx_unlock(&(dom)->lock)
154 #define DMAR_DOMAIN_ASSERT_LOCKED(dom) mtx_assert(&(dom)->lock, MA_OWNED)
193 struct mtx lock;
242 #define DMAR_LOCK(dmar) mtx_lock(&(dmar)->lock)
243 #define DMAR_UNLOCK(dmar) mtx_unlock(&(dmar)->lock)
244 #define DMAR_ASSERT_LOCKED(dmar) mtx_assert(&(dmar)->lock, MA_OWNED)