/linux-6.1.9/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 171 do { pte_update(mm, addr, ptep, ~0, 0, 0); } while (0) 248 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 277 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 298 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 308 return __pte(pte_update(mm, addr, ptep, ~0, 0, 0)); in ptep_get_and_clear() 316 pte_update(mm, addr, ptep, _PAGE_RW, 0, 0); in ptep_set_wrprotect() 330 pte_update(vma->vm_mm, address, ptep, 0, set, huge); in __ptep_set_access_flags()
|
D | pte-8xx.h | 139 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, 144 pte_update(mm, addr, ptep, 0, _PAGE_RO, 0); in ptep_set_wrprotect() 155 pte_update(vma->vm_mm, address, ptep, clr, set, huge); in __ptep_set_access_flags()
|
D | hugetlb-8xx.h | 55 pte_update(mm, addr, ptep, ~0UL, 0, 1); in huge_pte_clear() 65 pte_update(mm, addr, ptep, clr, set, 1); in huge_ptep_set_wrprotect()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | pageattr.c | 21 return pte_update(&init_mm, addr, ptep, old & ~new, new & ~old, 0); in pte_update_delta() 51 pte_update(&init_mm, addr, ptep, _PAGE_PRESENT, 0, 0); in change_page_attr() 54 pte_update(&init_mm, addr, ptep, 0, _PAGE_PRESENT, 0); in change_page_attr()
|
/linux-6.1.9/arch/powerpc/include/asm/nohash/64/ |
D | pgtable.h | 174 static inline unsigned long pte_update(struct mm_struct *mm, in pte_update() function 202 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 221 pte_update(mm, addr, ptep, _PAGE_RW, 0, 0); in ptep_set_wrprotect() 231 pte_update(mm, addr, ptep, _PAGE_RW, 0, 1); in huge_ptep_set_wrprotect() 246 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear() 253 pte_update(mm, addr, ptep, ~0UL, 0, 0); in pte_clear()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | kfence.h | 38 pte_update(&init_mm, addr, kpte, _PAGE_PRESENT, 0, 0); in kfence_protect_page() 41 pte_update(&init_mm, addr, kpte, 0, _PAGE_PRESENT, 0); in kfence_protect_page()
|
D | hugetlb.h | 42 return __pte(pte_update(mm, addr, ptep, ~0UL, 0, 1)); in huge_ptep_get_and_clear()
|
/linux-6.1.9/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 235 do { pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, 0, 0); } while (0) 277 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 323 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 336 return __pte(pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, 0, 0)); in ptep_get_and_clear() 343 pte_update(mm, addr, ptep, _PAGE_RW, 0, 0); in ptep_set_wrprotect() 354 pte_update(vma->vm_mm, address, ptep, 0, set, 0); in __ptep_set_access_flags() 535 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); in __set_pte_at()
|
/linux-6.1.9/arch/microblaze/include/asm/ |
D | pgtable.h | 307 static inline unsigned long pte_update(pte_t *p, unsigned long clr, in pte_update() function 346 return (pte_update(ptep, _PAGE_ACCESSED, 0) & _PAGE_ACCESSED) != 0; in ptep_test_and_clear_young() 352 return (pte_update(ptep, \ in ptep_test_and_clear_dirty() 360 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0)); in ptep_get_and_clear() 372 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
|
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 347 static inline unsigned long pte_update(struct mm_struct *mm, unsigned long addr, in pte_update() function 372 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 445 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0); in ptep_set_wrprotect() 447 pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 0); in ptep_set_wrprotect() 459 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1); in huge_ptep_set_wrprotect() 461 pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 1); in huge_ptep_set_wrprotect() 468 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear() 491 pte_update(mm, addr, ptep, ~0UL, 0, 0); in pte_clear()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | hugetlbpage.c | 137 pte_val = pte_update(vma->vm_mm, addr, ptep, in huge_ptep_modify_prot_start()
|
D | subpage_prot.c | 76 pte_update(mm, addr, pte, 0, 0, 0); in hpte_flush_range()
|
D | pgtable.c | 451 pte_val = pte_update(vma->vm_mm, addr, ptep, _PAGE_PRESENT, _PAGE_INVALID, 0); in ptep_modify_prot_start()
|