Lines Matching defs:pai
73 int pai;
85 pai = ppn_to_pai(pn);
87 if (!IS_MANAGED_PAGE(pai)) {
96 LOCK_PVH(pai);
100 current = pmap_phys_attributes[pai] & PHYS_CACHEABILITY_MASK;
101 pmap_phys_attributes[pai] &= ~PHYS_CACHEABILITY_MASK;
102 pmap_phys_attributes[pai] |= template;
104 UNLOCK_PVH(pai);
137 int pai;
139 pai = ppn_to_pai(pn);
141 if (!IS_MANAGED_PAGE(pai))
144 if (pmap_phys_attributes[pai] & PHYS_NOENCRYPT)
154 int pai;
156 pai = ppn_to_pai(pn);
158 if (IS_MANAGED_PAGE(pai)) {
159 LOCK_PVH(pai);
161 pmap_phys_attributes[pai] |= PHYS_NOENCRYPT;
163 UNLOCK_PVH(pai);
171 int pai;
173 pai = ppn_to_pai(pn);
175 if (IS_MANAGED_PAGE(pai)) {
180 if (pmap_phys_attributes[pai] & PHYS_NOENCRYPT) {
181 LOCK_PVH(pai);
183 pmap_phys_attributes[pai] &= ~PHYS_NOENCRYPT;
185 UNLOCK_PVH(pai);
361 int pai;
368 pai = ppn_to_pai(pn);
370 if (!IS_MANAGED_PAGE(pai)) {
375 LOCK_PVH(pai);
376 pmap_phys_attributes[pai] |= bits;
377 UNLOCK_PVH(pai);