Lines Matching refs:hptep
120 static inline void native_lock_hpte(struct hash_pte *hptep)
122 unsigned long *word = &hptep->v;
132 static inline void native_unlock_hpte(struct hash_pte *hptep)
134 unsigned long *word = &hptep->v;
143 struct hash_pte *hptep = htab_address + hpte_group;
154 if (! (hptep->v & HPTE_V_VALID)) {
156 native_lock_hpte(hptep);
157 if (! (hptep->v & HPTE_V_VALID))
159 native_unlock_hpte(hptep);
162 hptep++;
176 hptep->r = hpte_r;
183 hptep->v = hpte_v;
192 struct hash_pte *hptep;
203 hptep = htab_address + hpte_group + slot_offset;
204 hpte_v = hptep->v;
208 native_lock_hpte(hptep);
209 hpte_v = hptep->v;
213 native_unlock_hpte(hptep);
224 hptep->v = 0;
233 struct hash_pte *hptep = htab_address + slot;
242 native_lock_hpte(hptep);
244 hpte_v = hptep->v;
253 hptep->r = (hptep->r & ~(HPTE_R_PP | HPTE_R_N)) |
256 native_unlock_hpte(hptep);
266 struct hash_pte *hptep;
278 hptep = htab_address + slot;
279 hpte_v = hptep->v;
302 struct hash_pte *hptep;
310 hptep = htab_address + slot;
313 hptep->r = (hptep->r & ~(HPTE_R_PP | HPTE_R_N)) |
323 struct hash_pte *hptep = htab_address + slot;
333 native_lock_hpte(hptep);
334 hpte_v = hptep->v;
338 native_unlock_hpte(hptep);
341 hptep->v = 0;
424 struct hash_pte *hptep = htab_address;
440 for (slot = 0; slot < slots; slot++, hptep++) {
446 hpte_v = hptep->v;
453 hpte_decode(hptep, slot, &psize, &ssize, &va);
454 hptep->v = 0;
471 struct hash_pte *hptep;
494 hptep = htab_address + slot;
496 native_lock_hpte(hptep);
497 hpte_v = hptep->v;
500 native_unlock_hpte(hptep);
502 hptep->v = 0;