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: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30
45 * $FreeBSD: stable/11/sys/arm/include/pmap-v6.h 331971 2018-04-04 02:17:26Z mmel $
67 * (1) During pmap bootstrap, physical pages for L2 page tables are
105 struct pmap {
109 TAILQ_HEAD(,pv_chunk) pm_pvchunk; /* list of mappings in pmap */
111 struct pmap_statistics pm_stats; /* pmap statictics */
112 LIST_ENTRY(pmap) pm_list; /* List of all pmaps */
115 typedef struct pmap *pmap_t;
118 extern struct pmap kernel_pmap_store;
121 #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx)
122 #define PMAP_LOCK_ASSERT(pmap, type) \
123 mtx_assert(&(pmap)->pm_mtx, (type))
124 #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
125 #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, "pmap", \
127 #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx)
128 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx)
129 #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx)
130 #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx)
144 * need to track per-pmap assignments.
157 extern ttb_entry_t pmap_kern_ttb; /* TTB for kernel pmap */