| /Linux-v5.15/arch/powerpc/include/asm/nohash/32/ |
| D | pgtable.h | 170 do { pte_update(mm, addr, ptep, ~0, 0, 0); } while (0) 245 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 274 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 295 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 305 return __pte(pte_update(mm, addr, ptep, ~0, 0, 0)); in ptep_get_and_clear() 315 pte_update(mm, addr, ptep, clr, set, 0); in ptep_set_wrprotect() 329 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-v5.15/arch/powerpc/include/asm/nohash/64/ |
| D | pgtable.h | 191 static inline unsigned long pte_update(struct mm_struct *mm, in pte_update() function 219 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 238 pte_update(mm, addr, ptep, _PAGE_RW, 0, 0); in ptep_set_wrprotect() 248 pte_update(mm, addr, ptep, _PAGE_RW, 0, 1); in huge_ptep_set_wrprotect() 263 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear() 270 pte_update(mm, addr, ptep, ~0UL, 0, 0); in pte_clear()
|
| /Linux-v5.15/arch/powerpc/include/asm/ |
| D | kfence.h | 24 pte_update(&init_mm, addr, kpte, _PAGE_PRESENT, 0, 0); in kfence_protect_page() 27 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-v5.15/arch/powerpc/include/asm/book3s/32/ |
| D | pgtable.h | 254 do { pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, 0, 0); } while (0) 296 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 335 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 348 return __pte(pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, 0, 0)); in ptep_get_and_clear() 355 pte_update(mm, addr, ptep, _PAGE_RW, 0, 0); in ptep_set_wrprotect() 366 pte_update(vma->vm_mm, address, ptep, 0, set, 0); in __ptep_set_access_flags() 547 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); in __set_pte_at()
|
| /Linux-v5.15/arch/microblaze/include/asm/ |
| D | pgtable.h | 324 static inline unsigned long pte_update(pte_t *p, unsigned long clr, in pte_update() function 363 return (pte_update(ptep, _PAGE_ACCESSED, 0) & _PAGE_ACCESSED) != 0; in ptep_test_and_clear_young() 369 return (pte_update(ptep, \ in ptep_test_and_clear_dirty() 377 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0)); in ptep_get_and_clear() 389 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
|
| /Linux-v5.15/arch/powerpc/include/asm/book3s/64/ |
| D | pgtable.h | 365 static inline unsigned long pte_update(struct mm_struct *mm, unsigned long addr, in pte_update() function 390 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 460 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0); in ptep_set_wrprotect() 462 pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 0); in ptep_set_wrprotect() 474 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1); in huge_ptep_set_wrprotect() 476 pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 1); in huge_ptep_set_wrprotect() 483 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear() 506 pte_update(mm, addr, ptep, ~0UL, 0, 0); in pte_clear()
|
| /Linux-v5.15/arch/powerpc/mm/ |
| D | pageattr.c | 56 pte_update(&init_mm, addr, ptep, ~0UL, pte_val(pte), 0); in change_page_attr()
|
| /Linux-v5.15/arch/powerpc/mm/book3s64/ |
| D | hash_hugetlbpage.c | 135 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 | 447 pte_val = pte_update(vma->vm_mm, addr, ptep, _PAGE_PRESENT, _PAGE_INVALID, 0); in ptep_modify_prot_start()
|