Lines Matching refs:old_pte
26 unsigned long old_pte, new_pte; in __hash_page_huge() local
48 old_pte = pte_val(*ptep); in __hash_page_huge()
50 if (unlikely(old_pte & _PAGE_BUSY)) in __hash_page_huge()
53 if (unlikely(access & ~old_pte)) in __hash_page_huge()
57 new_pte = old_pte | _PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_huge()
60 } while(old_pte != __cmpxchg_u64((unsigned long *)ptep, in __hash_page_huge()
61 old_pte, new_pte)); in __hash_page_huge()
70 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
73 if (unlikely(old_pte & _PAGE_HASHPTE)) { in __hash_page_huge()
78 if (old_pte & _PAGE_F_SECOND) in __hash_page_huge()
81 slot += (old_pte & _PAGE_F_GIX) >> 12; in __hash_page_huge()
85 old_pte &= ~_PAGE_HPTEFLAGS; in __hash_page_huge()
88 if (likely(!(old_pte & _PAGE_HASHPTE))) { in __hash_page_huge()
91 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_huge()
115 *ptep = __pte(old_pte); in __hash_page_huge()
117 mmu_psize, mmu_psize, old_pte); in __hash_page_huge()