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
43 * from: src/sys/i386/include/pmap.h,v 1.65.2.2 2000/11/30 01:54:42 peter
44 * JNPR: pmap.h,v 1.7.2.1 2007/09/10 07:44:12 girish
86 struct pmap {
88 TAILQ_HEAD(, pv_chunk) pm_pvchunk; /* list of mappings in pmap */
94 struct pmap_statistics pm_stats; /* pmap statistics */
98 typedef struct pmap *pmap_t;
106 #define pmap_asid(pmap) (pmap)->pm_asid[PCPU_GET(cpuid)].asid
108 extern struct pmap kernel_pmap_store;
111 #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx)
112 #define PMAP_LOCK_ASSERT(pmap, type) mtx_assert(&(pmap)->pm_mtx, (type))
113 #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
114 #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, "pmap", \
116 #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx)
117 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx)
118 #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx)
119 #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx)
132 * need to track per-pmap assignments.
182 int pmap_emulate_modified(pmap_t pmap, vm_offset_t va);