Lines Matching refs:pmap
39 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
40 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
41 * from: src/sys/i386/include/pmap.h,v 1.65.2.2 2000/11/30 01:54:42 peter
42 * JNPR: pmap.h,v 1.7.2.1 2007/09/10 07:44:12 girish
83 struct pmap {
85 TAILQ_HEAD(, pv_chunk) pm_pvchunk; /* list of mappings in pmap */
91 struct pmap_statistics pm_stats; /* pmap statistics */
95 typedef struct pmap *pmap_t;
103 #define pmap_asid(pmap) (pmap)->pm_asid[PCPU_GET(cpuid)].asid
105 extern struct pmap kernel_pmap_store;
108 #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx)
109 #define PMAP_LOCK_ASSERT(pmap, type) mtx_assert(&(pmap)->pm_mtx, (type))
110 #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
111 #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, "pmap", \
113 #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx)
114 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx)
115 #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx)
116 #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx)
129 * need to track per-pmap assignments.
180 int pmap_emulate_modified(pmap_t pmap, vm_offset_t va);