Lines Matching defs:pmap
111 struct pmap { struct
113 TAILQ_HEAD(,pv_chunk) pm_pvchunk; /* list of mappings in pmap */ argument
115 struct pmap_statistics pm_stats; /* pmap statistics */ argument
116 uint64_t pm_refcount; /* pmap reference count, atomic */ argument
123 #define PMAP_LOCK(pmap) mutex_enter(&(pmap)->pm_mtx) argument
124 #define PMAP_LOCK_ASSERT(pmap) KASSERT(mutex_owned(&(pmap)->pm_mtx)) argument
125 #define PMAP_LOCK_DESTROY(pmap) mutex_destroy(&(pmap)->pm_mtx) argument
126 #define PMAP_LOCK_INIT(pmap) mutex_init(&(pmap)->pm_mtx, MUTEX_DEFAULT, IPL_NONE) argument
127 #define PMAP_LOCKED(pmap) mutex_owned(&(pmap)->pm_mtx) argument
128 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx) argument
129 #define PMAP_TRYLOCK(pmap) mutex_tryenter(&(pmap)->pm_mtx) argument
130 #define PMAP_UNLOCK(pmap) mutex_exit(&(pmap)->pm_mtx) argument