/freebsd-10.0-release/sys/powerpc/aim/ |
H A D | mmu_oea.c | 185 * Lock for the pteg and pvo tables. 203 struct pvo_head *moea_pvo_table; /* pvo entries by pteg index */ 209 uma_zone_t moea_upvo_zone; /* zone for pvo entries for unmanaged pages */ 210 uma_zone_t moea_mpvo_zone; /* zone for pvo entries for managed pages */ 853 * Initialize the lock that synchronizes access to the pteg and pvo 863 * Initialise the unmanaged pvo pool. 1026 struct pvo_entry *pvo; local 1029 pvo = moea_pvo_find_va(pm, va & ~ADDR_POFF, NULL); 1031 if (pvo != NULL) { 1033 if ((pvo 1249 struct pvo_entry *pvo; local 1270 struct pvo_entry *pvo; local 1343 struct pvo_entry *pvo; local 1381 struct pvo_entry *pvo; local 1457 struct pvo_entry *pvo; local 1533 struct pvo_entry *pvo; local 1595 struct pvo_entry *pvo; local 1622 struct pvo_entry *pvo; local 1720 struct pvo_entry *pvo, *tpvo, key; local 1822 struct pvo_entry *pvo, *tpvo, key; local 1844 struct pvo_entry *pvo, *next_pvo; local 1918 struct pvo_entry *pvo; local 2022 moea_pvo_remove(struct pvo_entry *pvo, int pteidx) argument 2078 moea_pvo_pte_index(const struct pvo_entry *pvo, int ptegidx) argument 2097 struct pvo_entry *pvo; local 2119 moea_pvo_to_pte(const struct pvo_entry *pvo, int pteidx) argument 2180 struct pvo_entry *pvo; local 2294 struct pvo_entry *pvo_walk, *pvo = NULL; local 2398 struct pvo_entry *pvo; local 2448 struct pvo_entry *pvo; local 2613 struct pvo_entry *pvo; local 2648 struct pvo_entry *pvo; local [all...] |
H A D | mmu_oea64.c | 206 * Lock for the pteg and pvo tables. 220 struct pvo_head *moea64_pvo_table; /* pvo entries by pteg index */ 222 uma_zone_t moea64_upvo_zone; /* zone for pvo entries for unmanaged pages */ 223 uma_zone_t moea64_mpvo_zone; /* zone for pvo entries for managed pages */ 785 * Initialize the lock that synchronizes access to the pteg and pvo 792 * Initialise the unmanaged pvo pool. 957 mtx_init(&moea64_scratchpage_mtx, "pvo zero page", NULL, 1016 struct pvo_entry *pvo; local 1023 pvo = moea64_pvo_find_va(pm, va & ~ADDR_POFF); 1025 if (pvo ! 1381 struct pvo_entry *pvo; local 1403 struct pvo_entry *pvo; local 1533 struct pvo_entry *pvo; local 1569 struct pvo_entry *pvo; local 1639 struct pvo_entry *pvo; local 1708 struct pvo_entry *pvo; local 1771 struct pvo_entry *pvo; local 1798 struct pvo_entry *pvo; local 1918 moea64_pvo_protect(mmu_t mmu, pmap_t pm, struct pvo_entry *pvo, vm_prot_t prot) argument 1980 struct pvo_entry *pvo, *tpvo, key; local 2072 struct pvo_entry *pvo, *tpvo; local 2090 struct pvo_entry *pvo, *tpvo, key; local 2117 struct pvo_entry *pvo, *next_pvo; local 2185 struct pvo_entry *pvo; local 2330 moea64_pvo_remove(mmu_t mmu, struct pvo_entry *pvo) argument 2407 struct pvo_entry *pvo; local 2455 struct pvo_entry *pvo; local 2495 struct pvo_entry *pvo, key; local 2567 struct pvo_entry *pvo; local [all...] |
H A D | moea64_native.c | 457 moea64_pvo_to_pte_native(mmu_t mmu, const struct pvo_entry *pvo) argument 464 if (!PVO_PTEGIDX_ISSET(pvo)) 470 vsid = PVO_VSID(pvo); 471 ptegidx = va_to_pteg(vsid, PVO_VADDR(pvo), 472 pvo->pvo_vaddr & PVO_LARGE); 479 if (pvo->pvo_pte.lpte.pte_hi & LPTE_HID) 482 pteidx = (ptegidx << 3) | PVO_PTEGIDX_GET(pvo); 484 if ((pvo->pvo_pte.lpte.pte_hi & LPTE_VALID) && 485 !PVO_PTEGIDX_ISSET(pvo)) { 486 panic("moea64_pvo_to_pte: pvo 552 struct pvo_entry *pvo; local [all...] |
/freebsd-10.0-release/sys/powerpc/ps3/ |
H A D | mmu_ps3.c | 78 static uintptr_t mps3_pvo_to_pte(mmu_t, const struct pvo_entry *pvo); 210 struct pvo_entry *pvo; local 252 LIST_FOREACH(pvo, &moea64_pvo_table[ptegidx], pvo_olink) { 253 if (!PVO_PTEGIDX_ISSET(pvo)) 256 if (pvo->pvo_pte.lpte.pte_hi == (evicted.pte_hi | LPTE_VALID)) { 257 KASSERT(pvo->pvo_pte.lpte.pte_hi & LPTE_VALID, 259 pvo->pvo_pte.lpte.pte_hi &= ~LPTE_VALID; 260 pvo->pvo_pte.lpte.pte_lo |= 262 PVO_PTEGIDX_CLR(pvo); 288 mps3_pvo_to_pte(mmu_t mmu, const struct pvo_entry *pvo) argument [all...] |
/freebsd-10.0-release/sys/powerpc/include/ |
H A D | pmap.h | 119 #define PVO_VADDR(pvo) ((pvo)->pvo_vaddr & ~ADDR_POFF) 120 #define PVO_PTEGIDX_GET(pvo) ((pvo)->pvo_vaddr & PVO_PTEGIDX_MASK) 121 #define PVO_PTEGIDX_ISSET(pvo) ((pvo)->pvo_vaddr & PVO_PTEGIDX_VALID) 122 #define PVO_PTEGIDX_CLR(pvo) \ 123 ((void)((pvo)->pvo_vaddr &= ~(PVO_PTEGIDX_VALID|PVO_PTEGIDX_MASK))) 124 #define PVO_PTEGIDX_SET(pvo, i) \ 125 ((void)((pvo) [all...] |
/freebsd-10.0-release/sys/powerpc/pseries/ |
H A D | mmu_phyp.c | 77 static uintptr_t mphyp_pvo_to_pte(mmu_t, const struct pvo_entry *pvo); 298 struct pvo_entry *pvo; local 365 LIST_FOREACH(pvo, &moea64_pvo_table[pteg_bktidx], pvo_olink) { 366 if (pvo->pvo_pte.lpte.pte_hi == evicted.pte_hi) { 367 KASSERT(pvo->pvo_pte.lpte.pte_hi & LPTE_VALID, 369 mphyp_pte_unset(mmu, index, &pvo->pvo_pte.lpte, 370 pvo->pvo_vpn); 371 PVO_PTEGIDX_CLR(pvo); 377 KASSERT(pvo->pvo_pte.lpte.pte_hi == evicted.pte_hi, 405 mphyp_pvo_to_pte(mmu_t mmu, const struct pvo_entry *pvo) argument [all...] |