Lines Matching refs:pmap
41 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
42 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
168 struct pmap {
171 struct pmap_statistics pm_stats; /* pmap statistics */
174 TAILQ_HEAD(,pv_chunk) pm_pvchunk; /* list of mappings in pmap */
175 LIST_ENTRY(pmap) pm_list; /* List of all pmaps */
181 typedef struct pmap *pmap_t;
184 extern struct pmap kernel_pmap_store;
187 #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx)
188 #define PMAP_LOCK_ASSERT(pmap, type) \
189 mtx_assert(&(pmap)->pm_mtx, (type))
190 #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
191 #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, "pmap", \
193 #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx)
194 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx)
195 #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx)
196 #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx)
210 * need to track per-pmap assignments.
246 void pmap_activate_boot(pmap_t pmap);
272 bool pmap_ps_enabled(pmap_t pmap);