Lines Matching refs:pai

428 	ppnum_t			pai;
531 pai = pa_index(old_pa);
539 if ((0 != old_pa) && IS_MANAGED_PAGE(pai)) {
540 LOCK_PVH(pai);
544 UNLOCK_PVH(pai); /* another path beat us to it */
604 UNLOCK_PVH(pai);
641 if (IS_MANAGED_PAGE(pai)) {
652 pmap_phys_attributes[pai] |= oattr;
660 pvh_e = pmap_pv_remove(pmap, vaddr, (ppnum_t *) &pai, &old_pte);
681 UNLOCK_PVH(pai);
685 pai = pa_index(pa); /* now working with new incoming phys page */
686 if (IS_MANAGED_PAGE(pai)) {
692 pv_h = pai_to_pvh(pai);
694 LOCK_PVH(pai);
725 UNLOCK_PVH(pai);
803 if (IS_MANAGED_PAGE(pai)) {
804 UNLOCK_PVH(pai);
860 ppnum_t pai;
895 pai = pa_index(pa);
897 if (!IS_MANAGED_PAGE(pai)) {
930 pai = pa_index(pa);
932 LOCK_PVH(pai);
936 UNLOCK_PVH(pai);
946 pmap_phys_attributes[pai] |=
952 pvh_e = pmap_pv_remove(pmap, vaddr, (ppnum_t *) &pai, cpte);
957 UNLOCK_PVH(pai);
1121 int pai;
1130 pai = ppn_to_pai(pn);
1132 if (!IS_MANAGED_PAGE(pai)) {
1156 pv_h = pai_to_pvh(pai);
1158 LOCK_PVH(pai);
1203 pmap_phys_attributes[pai] |=
1239 pmap_phys_attributes[pai] |=
1270 UNLOCK_PVH(pai);
1287 int pai;
1296 pai = ppn_to_pai(pn);
1298 if (!IS_MANAGED_PAGE(pai)) {
1308 pv_h = pai_to_pvh(pai);
1310 LOCK_PVH(pai);
1352 pmap_phys_attributes[pai] |= attributes;
1353 pmap_phys_attributes[pai] &= (~bits);
1355 UNLOCK_PVH(pai);
1372 int pai;
1381 pai = ppn_to_pai(pn);
1383 if (!IS_MANAGED_PAGE(pai)) {
1397 if ((pmap_phys_attributes[pai] & bits) == bits)
1400 pv_h = pai_to_pvh(pai);
1402 LOCK_PVH(pai);
1404 attributes = pmap_phys_attributes[pai] & bits;
1434 pmap_phys_attributes[pai] |= attributes;
1436 UNLOCK_PVH(pai);