old_pte 246 arch/arm64/include/asm/pgtable.h pte_t old_pte; old_pte 251 arch/arm64/include/asm/pgtable.h old_pte = READ_ONCE(*ptep); old_pte 253 arch/arm64/include/asm/pgtable.h if (!pte_valid(old_pte) || !pte_valid(pte)) old_pte 265 arch/arm64/include/asm/pgtable.h __func__, pte_val(old_pte), pte_val(pte)); old_pte 266 arch/arm64/include/asm/pgtable.h VM_WARN_ONCE(pte_write(old_pte) && !pte_dirty(pte), old_pte 268 arch/arm64/include/asm/pgtable.h __func__, pte_val(old_pte), pte_val(pte)); old_pte 705 arch/arm64/include/asm/pgtable.h pte_t old_pte, pte; old_pte 709 arch/arm64/include/asm/pgtable.h old_pte = pte; old_pte 712 arch/arm64/include/asm/pgtable.h pte_val(old_pte), pte_val(pte)); old_pte 713 arch/arm64/include/asm/pgtable.h } while (pte_val(pte) != pte_val(old_pte)); old_pte 779 arch/arm64/include/asm/pgtable.h pte_t old_pte, pte; old_pte 783 arch/arm64/include/asm/pgtable.h old_pte = pte; old_pte 792 arch/arm64/include/asm/pgtable.h pte_val(old_pte), pte_val(pte)); old_pte 793 arch/arm64/include/asm/pgtable.h } while (pte_val(pte) != pte_val(old_pte)); old_pte 147 arch/arm64/mm/mmu.c pte_t old_pte = READ_ONCE(*ptep); old_pte 155 arch/arm64/mm/mmu.c BUG_ON(!pgattr_change_is_safe(pte_val(old_pte), old_pte 448 arch/ia64/include/asm/pgtable.h pte_t old_pte = *ptep; old_pte 449 arch/ia64/include/asm/pgtable.h set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); old_pte 529 arch/mips/kvm/mmu.c pte_t old_pte; old_pte 535 arch/mips/kvm/mmu.c old_pte = *gpa_pte; old_pte 536 arch/mips/kvm/mmu.c if (memslot->flags & KVM_MEM_LOG_DIRTY_PAGES && !pte_dirty(old_pte)) old_pte 544 arch/mips/kvm/mmu.c if (!pte_present(old_pte) || !pte_young(old_pte)) old_pte 550 arch/mips/kvm/mmu.c pte_pfn(old_pte) != pte_pfn(hva_pte) || old_pte 551 arch/mips/kvm/mmu.c (pte_dirty(old_pte) && !pte_dirty(hva_pte)); old_pte 695 arch/mips/kvm/mmu.c pte_t *ptep, entry, old_pte; old_pte 768 arch/mips/kvm/mmu.c old_pte = *ptep; old_pte 91 arch/parisc/include/asm/pgtable.h pte_t old_pte; \ old_pte 94 arch/parisc/include/asm/pgtable.h old_pte = *ptep; \ old_pte 521 arch/parisc/include/asm/pgtable.h pte_t old_pte; old_pte 525 arch/parisc/include/asm/pgtable.h old_pte = *ptep; old_pte 530 arch/parisc/include/asm/pgtable.h return old_pte; old_pte 167 arch/parisc/mm/hugetlbpage.c pte_t old_pte; old_pte 170 arch/parisc/mm/hugetlbpage.c old_pte = *ptep; old_pte 171 arch/parisc/mm/hugetlbpage.c __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); old_pte 18 arch/powerpc/include/asm/book3s/64/hugetlb.h pte_t old_pte, pte_t pte); old_pte 63 arch/powerpc/include/asm/book3s/64/hugetlb.h pte_t old_pte, pte_t new_pte); old_pte 130 arch/powerpc/include/asm/book3s/64/radix.h pte_t old_pte, pte_t pte); old_pte 156 arch/powerpc/include/asm/book3s/64/radix.h unsigned long old_pte; old_pte 158 arch/powerpc/include/asm/book3s/64/radix.h old_pte = __radix_pte_update(ptep, clr, set); old_pte 162 arch/powerpc/include/asm/book3s/64/radix.h return old_pte; old_pte 169 arch/powerpc/include/asm/book3s/64/radix.h unsigned long old_pte; old_pte 172 arch/powerpc/include/asm/book3s/64/radix.h old_pte = pte_val(*ptep); old_pte 175 arch/powerpc/include/asm/book3s/64/radix.h old_pte = radix__pte_update(mm, addr, ptep, ~0ul, 0, 0); old_pte 177 arch/powerpc/include/asm/book3s/64/radix.h return __pte(old_pte); old_pte 422 arch/powerpc/include/asm/kvm_book3s_64.h pte_t old_pte, new_pte = __pte(0); old_pte 428 arch/powerpc/include/asm/kvm_book3s_64.h old_pte = READ_ONCE(*ptep); old_pte 432 arch/powerpc/include/asm/kvm_book3s_64.h if (unlikely(pte_val(old_pte) & H_PAGE_BUSY)) { old_pte 437 arch/powerpc/include/asm/kvm_book3s_64.h if (unlikely(!(pte_val(old_pte) & _PAGE_PRESENT))) old_pte 440 arch/powerpc/include/asm/kvm_book3s_64.h new_pte = pte_mkyoung(old_pte); old_pte 441 arch/powerpc/include/asm/kvm_book3s_64.h if (writing && pte_write(old_pte)) old_pte 444 arch/powerpc/include/asm/kvm_book3s_64.h if (pte_xchg(ptep, old_pte, new_pte)) old_pte 26 arch/powerpc/mm/book3s64/hash_4k.c unsigned long old_pte, new_pte; old_pte 36 arch/powerpc/mm/book3s64/hash_4k.c old_pte = pte_val(pte); old_pte 38 arch/powerpc/mm/book3s64/hash_4k.c if (unlikely(old_pte & H_PAGE_BUSY)) old_pte 41 arch/powerpc/mm/book3s64/hash_4k.c if (unlikely(!check_pte_access(access, old_pte))) old_pte 48 arch/powerpc/mm/book3s64/hash_4k.c new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED; old_pte 51 arch/powerpc/mm/book3s64/hash_4k.c } while (!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); old_pte 58 arch/powerpc/mm/book3s64/hash_4k.c rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); old_pte 62 arch/powerpc/mm/book3s64/hash_4k.c rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); old_pte 65 arch/powerpc/mm/book3s64/hash_4k.c if (unlikely(old_pte & H_PAGE_HASHPTE)) { old_pte 74 arch/powerpc/mm/book3s64/hash_4k.c old_pte &= ~_PAGE_HPTEFLAGS; old_pte 77 arch/powerpc/mm/book3s64/hash_4k.c if (likely(!(old_pte & H_PAGE_HASHPTE))) { old_pte 79 arch/powerpc/mm/book3s64/hash_4k.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; old_pte 114 arch/powerpc/mm/book3s64/hash_4k.c *ptep = __pte(old_pte); old_pte 116 arch/powerpc/mm/book3s64/hash_4k.c MMU_PAGE_4K, MMU_PAGE_4K, old_pte); old_pte 44 arch/powerpc/mm/book3s64/hash_64k.c unsigned long old_pte, new_pte, subpg_pte; old_pte 54 arch/powerpc/mm/book3s64/hash_64k.c old_pte = pte_val(pte); old_pte 56 arch/powerpc/mm/book3s64/hash_64k.c if (unlikely(old_pte & H_PAGE_BUSY)) old_pte 59 arch/powerpc/mm/book3s64/hash_64k.c if (unlikely(!check_pte_access(access, old_pte))) old_pte 66 arch/powerpc/mm/book3s64/hash_64k.c new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED | H_PAGE_COMBO; old_pte 69 arch/powerpc/mm/book3s64/hash_64k.c } while (!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); old_pte 84 arch/powerpc/mm/book3s64/hash_64k.c rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); old_pte 89 arch/powerpc/mm/book3s64/hash_64k.c rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); old_pte 93 arch/powerpc/mm/book3s64/hash_64k.c if (!(old_pte & H_PAGE_HASHPTE)) old_pte 99 arch/powerpc/mm/book3s64/hash_64k.c if (!(old_pte & H_PAGE_COMBO)) { old_pte 106 arch/powerpc/mm/book3s64/hash_64k.c old_pte &= ~H_PAGE_HASHPTE; old_pte 139 arch/powerpc/mm/book3s64/hash_64k.c if (!(old_pte & H_PAGE_COMBO)) old_pte 145 arch/powerpc/mm/book3s64/hash_64k.c if (old_pte & H_PAGE_4K_PFN) { old_pte 150 arch/powerpc/mm/book3s64/hash_64k.c pa = pte_pfn(__pte(old_pte)) << HW_PAGE_SHIFT; old_pte 152 arch/powerpc/mm/book3s64/hash_64k.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; old_pte 210 arch/powerpc/mm/book3s64/hash_64k.c *ptep = __pte(old_pte); old_pte 212 arch/powerpc/mm/book3s64/hash_64k.c MMU_PAGE_4K, MMU_PAGE_4K, old_pte); old_pte 230 arch/powerpc/mm/book3s64/hash_64k.c unsigned long old_pte, new_pte; old_pte 240 arch/powerpc/mm/book3s64/hash_64k.c old_pte = pte_val(pte); old_pte 242 arch/powerpc/mm/book3s64/hash_64k.c if (unlikely(old_pte & H_PAGE_BUSY)) old_pte 245 arch/powerpc/mm/book3s64/hash_64k.c if (unlikely(!check_pte_access(access, old_pte))) old_pte 258 arch/powerpc/mm/book3s64/hash_64k.c new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED; old_pte 261 arch/powerpc/mm/book3s64/hash_64k.c } while (!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); old_pte 264 arch/powerpc/mm/book3s64/hash_64k.c rpte = __real_pte(__pte(old_pte), ptep, PTRS_PER_PTE); old_pte 268 arch/powerpc/mm/book3s64/hash_64k.c rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); old_pte 271 arch/powerpc/mm/book3s64/hash_64k.c if (unlikely(old_pte & H_PAGE_HASHPTE)) { old_pte 281 arch/powerpc/mm/book3s64/hash_64k.c old_pte &= ~_PAGE_HPTEFLAGS; old_pte 284 arch/powerpc/mm/book3s64/hash_64k.c if (likely(!(old_pte & H_PAGE_HASHPTE))) { old_pte 286 arch/powerpc/mm/book3s64/hash_64k.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; old_pte 322 arch/powerpc/mm/book3s64/hash_64k.c *ptep = __pte(old_pte); old_pte 324 arch/powerpc/mm/book3s64/hash_64k.c MMU_PAGE_64K, MMU_PAGE_64K, old_pte); old_pte 69 arch/powerpc/mm/book3s64/hash_hugepage.c rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); old_pte 31 arch/powerpc/mm/book3s64/hash_hugetlbpage.c unsigned long old_pte, new_pte; old_pte 54 arch/powerpc/mm/book3s64/hash_hugetlbpage.c old_pte = pte_val(*ptep); old_pte 56 arch/powerpc/mm/book3s64/hash_hugetlbpage.c if (unlikely(old_pte & H_PAGE_BUSY)) old_pte 59 arch/powerpc/mm/book3s64/hash_hugetlbpage.c if (unlikely(!check_pte_access(access, old_pte))) old_pte 66 arch/powerpc/mm/book3s64/hash_hugetlbpage.c new_pte = old_pte | H_PAGE_BUSY | _PAGE_ACCESSED; old_pte 69 arch/powerpc/mm/book3s64/hash_hugetlbpage.c } while(!pte_xchg(ptep, __pte(old_pte), __pte(new_pte))); old_pte 72 arch/powerpc/mm/book3s64/hash_hugetlbpage.c if (old_pte & (H_PAGE_THP_HUGE | _PAGE_DEVMAP)) old_pte 80 arch/powerpc/mm/book3s64/hash_hugetlbpage.c rpte = __real_pte(__pte(old_pte), ptep, offset); old_pte 87 arch/powerpc/mm/book3s64/hash_hugetlbpage.c rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); old_pte 90 arch/powerpc/mm/book3s64/hash_hugetlbpage.c if (unlikely(old_pte & H_PAGE_HASHPTE)) { old_pte 97 arch/powerpc/mm/book3s64/hash_hugetlbpage.c old_pte &= ~_PAGE_HPTEFLAGS; old_pte 100 arch/powerpc/mm/book3s64/hash_hugetlbpage.c if (likely(!(old_pte & H_PAGE_HASHPTE))) { old_pte 103 arch/powerpc/mm/book3s64/hash_hugetlbpage.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; old_pte 116 arch/powerpc/mm/book3s64/hash_hugetlbpage.c *ptep = __pte(old_pte); old_pte 118 arch/powerpc/mm/book3s64/hash_hugetlbpage.c mmu_psize, mmu_psize, old_pte); old_pte 148 arch/powerpc/mm/book3s64/hash_hugetlbpage.c pte_t *ptep, pte_t old_pte, pte_t pte) old_pte 153 arch/powerpc/mm/book3s64/hash_hugetlbpage.c old_pte, pte); old_pte 437 arch/powerpc/mm/book3s64/pgtable.c pte_t *ptep, pte_t old_pte, pte_t pte) old_pte 441 arch/powerpc/mm/book3s64/pgtable.c ptep, old_pte, pte); old_pte 97 arch/powerpc/mm/book3s64/radix_hugetlbpage.c pte_t old_pte, pte_t pte) old_pte 105 arch/powerpc/mm/book3s64/radix_hugetlbpage.c if (is_pte_rw_upgrade(pte_val(old_pte), pte_val(pte)) && old_pte 1045 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long old_pte, new_pte; old_pte 1047 arch/powerpc/mm/book3s64/radix_pgtable.c old_pte = __radix_pte_update(ptep, _PAGE_PRESENT, _PAGE_INVALID); old_pte 1051 arch/powerpc/mm/book3s64/radix_pgtable.c new_pte = old_pte | set; old_pte 1068 arch/powerpc/mm/book3s64/radix_pgtable.c pte_t old_pte, pte_t pte) old_pte 1077 arch/powerpc/mm/book3s64/radix_pgtable.c if (is_pte_rw_upgrade(pte_val(old_pte), pte_val(pte)) && old_pte 324 arch/s390/mm/pgtable.c pte_t *ptep, pte_t old_pte, pte_t pte) old_pte 39 arch/sparc/include/asm/hugetlb.h pte_t old_pte = *ptep; old_pte 40 arch/sparc/include/asm/hugetlb.h set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); old_pte 424 arch/x86/include/asm/paravirt.h pte_t *ptep, pte_t old_pte, pte_t pte) old_pte 1495 arch/x86/mm/pageattr.c pte_t *kpte, old_pte; old_pte 1503 arch/x86/mm/pageattr.c old_pte = *kpte; old_pte 1504 arch/x86/mm/pageattr.c if (pte_none(old_pte)) old_pte 1509 arch/x86/mm/pageattr.c pgprot_t new_prot = pte_pgprot(old_pte); old_pte 1510 arch/x86/mm/pageattr.c unsigned long pfn = pte_pfn(old_pte); old_pte 1532 arch/x86/mm/pageattr.c if (pte_val(old_pte) != pte_val(new_pte)) { old_pte 1000 fs/proc/task_mmu.c pte_t old_pte; old_pte 1002 fs/proc/task_mmu.c old_pte = ptep_modify_prot_start(vma, addr, pte); old_pte 1003 fs/proc/task_mmu.c ptent = pte_wrprotect(old_pte); old_pte 1005 fs/proc/task_mmu.c ptep_modify_prot_commit(vma, addr, pte, old_pte, ptent); old_pte 224 include/asm-generic/pgtable.h pte_t old_pte = *ptep; old_pte 225 include/asm-generic/pgtable.h set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); old_pte 660 include/asm-generic/pgtable.h pte_t *ptep, pte_t old_pte, pte_t pte) old_pte 587 include/linux/hugetlb.h pte_t old_pte, pte_t pte) old_pte 4612 mm/hugetlb.c pte_t old_pte; old_pte 4614 mm/hugetlb.c old_pte = huge_ptep_modify_prot_start(vma, address, ptep); old_pte 4615 mm/hugetlb.c pte = pte_mkhuge(huge_pte_modify(old_pte, newprot)); old_pte 4617 mm/hugetlb.c huge_ptep_modify_prot_commit(vma, address, ptep, old_pte, pte); old_pte 3671 mm/memory.c pte_t pte, old_pte; old_pte 3691 mm/memory.c old_pte = ptep_modify_prot_start(vma, vmf->address, vmf->pte); old_pte 3692 mm/memory.c pte = pte_modify(old_pte, vma->vm_page_prot); old_pte 3696 mm/memory.c ptep_modify_prot_commit(vma, vmf->address, vmf->pte, old_pte, pte); old_pte 121 mm/mremap.c pte_t *old_pte, *new_pte, pte; old_pte 151 mm/mremap.c old_pte = pte_offset_map_lock(mm, old_pmd, old_addr, &old_ptl); old_pte 159 mm/mremap.c for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, old_pte 161 mm/mremap.c if (pte_none(*old_pte)) old_pte 164 mm/mremap.c pte = ptep_get_and_clear(mm, old_addr, old_pte); old_pte 189 mm/mremap.c pte_unmap_unlock(old_pte - 1, old_ptl); old_pte 251 virt/kvm/arm/mmu.c pte_t old_pte = *pte; old_pte 257 virt/kvm/arm/mmu.c if (!kvm_is_device_pfn(pte_pfn(old_pte))) old_pte 258 virt/kvm/arm/mmu.c kvm_flush_dcache_pte(old_pte); old_pte 1227 virt/kvm/arm/mmu.c pte_t *pte, old_pte; old_pte 1289 virt/kvm/arm/mmu.c old_pte = *pte; old_pte 1290 virt/kvm/arm/mmu.c if (pte_present(old_pte)) { old_pte 1292 virt/kvm/arm/mmu.c if (pte_val(old_pte) == pte_val(*new_pte))