Lines Matching refs:pmap
40 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
41 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
42 * $FreeBSD: stable/11/sys/amd64/include/pmap.h 354651 2019-11-12 18:04:28Z kib $
139 * The appropriate bitmask will be calculated at runtime based on the pmap
317 struct pmap {
323 TAILQ_HEAD(,pv_chunk) pm_pvchunk; /* list of mappings in pmap */
326 struct pmap_statistics pm_stats; /* pmap statistics */
328 long pm_eptgen; /* EPT pmap generation id */
339 typedef struct pmap *pmap_t;
342 extern struct pmap kernel_pmap_store;
345 #define PMAP_LOCK(pmap) mtx_lock(&(pmap)->pm_mtx)
346 #define PMAP_LOCK_ASSERT(pmap, type) \
347 mtx_assert(&(pmap)->pm_mtx, (type))
348 #define PMAP_LOCK_DESTROY(pmap) mtx_destroy(&(pmap)->pm_mtx)
349 #define PMAP_LOCK_INIT(pmap) mtx_init(&(pmap)->pm_mtx, "pmap", \
351 #define PMAP_LOCKED(pmap) mtx_owned(&(pmap)->pm_mtx)
352 #define PMAP_MTX(pmap) (&(pmap)->pm_mtx)
353 #define PMAP_TRYLOCK(pmap) mtx_trylock(&(pmap)->pm_mtx)
354 #define PMAP_UNLOCK(pmap) mtx_unlock(&(pmap)->pm_mtx)
356 int pmap_pinit_type(pmap_t pmap, enum pmap_type pm_type, int flags);
357 int pmap_emulate_accessed_dirty(pmap_t pmap, vm_offset_t va, int ftype);
371 * need to track per-pmap assignments.
408 void pmap_activate_boot(pmap_t pmap);
412 int pmap_cache_bits(pmap_t pmap, int mode, boolean_t is_pde);
427 bool pmap_ps_enabled(pmap_t pmap);
436 void pmap_get_mapping(pmap_t pmap, vm_offset_t va, uint64_t *ptr, int *num);