Lines Matching refs:old_pte
26 unsigned long old_pte, new_pte; in __hash_page_huge() local
49 old_pte = pte_val(*ptep); in __hash_page_huge()
51 if (unlikely(old_pte & H_PAGE_BUSY)) in __hash_page_huge()
54 if (unlikely(!check_pte_access(access, old_pte))) in __hash_page_huge()
61 new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED; in __hash_page_huge()
64 } while(!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); in __hash_page_huge()
67 if (old_pte & (H_PAGE_THP_HUGE | _PAGE_DEVMAP)) in __hash_page_huge()
75 rpte = __real_pte(__pte(old_pte), ptep, offset); in __hash_page_huge()
82 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
85 if (unlikely(old_pte & H_PAGE_HASHPTE)) { in __hash_page_huge()
92 old_pte &= ~_PAGE_HPTEFLAGS; in __hash_page_huge()
95 if (likely(!(old_pte & H_PAGE_HASHPTE))) { in __hash_page_huge()
98 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_huge()
111 *ptep = __pte(old_pte); in __hash_page_huge()
113 mmu_psize, mmu_psize, old_pte); in __hash_page_huge()
144 pte_t *ptep, pte_t old_pte, pte_t pte) in huge_ptep_modify_prot_commit() argument
149 old_pte, pte); in huge_ptep_modify_prot_commit()