Lines Matching refs:pm_mtx
126 struct mtx pm_mtx;
177 struct mtx pm_mtx; /* pmap mutex */
211 #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx)
213 mtx_assert(&(pmap)->pm_mtx, (type))
214 #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
215 #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, \
218 #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx)
219 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx)
220 #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx)
221 #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx)