Lines Matching refs:old_pte
29 unsigned long old_pte, new_pte; in __hash_page_huge() local
52 old_pte = pte_val(*ptep); in __hash_page_huge()
54 if (unlikely(old_pte & H_PAGE_BUSY)) in __hash_page_huge()
57 if (unlikely(!check_pte_access(access, old_pte))) in __hash_page_huge()
64 new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_huge()
67 } while(!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); in __hash_page_huge()
70 if (old_pte & (H_PAGE_THP_HUGE | _PAGE_DEVMAP)) in __hash_page_huge()
78 rpte = __real_pte(__pte(old_pte), ptep, offset); in __hash_page_huge()
85 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
88 if (unlikely(old_pte & H_PAGE_HASHPTE)) { in __hash_page_huge()
95 old_pte &= ~_PAGE_HPTEFLAGS; in __hash_page_huge()
98 if (likely(!(old_pte & H_PAGE_HASHPTE))) { in __hash_page_huge()
101 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_huge()
114 *ptep = __pte(old_pte); in __hash_page_huge()
116 mmu_psize, mmu_psize, old_pte); in __hash_page_huge()
146 pte_t *ptep, pte_t old_pte, pte_t pte) in huge_ptep_modify_prot_commit() argument
151 old_pte, pte); in huge_ptep_modify_prot_commit()