Lines Matching refs:old_pte
28 unsigned long old_pte, new_pte; in __hash_page_huge() local
50 old_pte = pte_val(*ptep); in __hash_page_huge()
52 if (unlikely(old_pte & H_PAGE_BUSY)) in __hash_page_huge()
55 if (unlikely(!check_pte_access(access, old_pte))) in __hash_page_huge()
60 new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_huge()
63 } while(!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); in __hash_page_huge()
70 rpte = __real_pte(__pte(old_pte), ptep, offset); in __hash_page_huge()
76 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
79 if (unlikely(old_pte & H_PAGE_HASHPTE)) { in __hash_page_huge()
86 old_pte &= ~_PAGE_HPTEFLAGS; in __hash_page_huge()
89 if (likely(!(old_pte & H_PAGE_HASHPTE))) { in __hash_page_huge()
92 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_huge()
105 *ptep = __pte(old_pte); in __hash_page_huge()
107 mmu_psize, mmu_psize, old_pte); in __hash_page_huge()