/linux-6.12.1/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 6 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, 56 #ifndef pte_update 57 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 107 old = pte_update(vma->vm_mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in ptep_test_and_clear_young() 117 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0); in ptep_set_wrprotect() 125 return __pte(pte_update(mm, addr, ptep, ~0UL, 0, 0)); in ptep_get_and_clear() 131 pte_update(mm, addr, ptep, ~0UL, 0, 0); in pte_clear() 145 pte_update(vma->vm_mm, address, ptep, 0, set, huge); in __ptep_set_access_flags()
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/32/ |
D | pte-8xx.h | 122 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *ptep, 127 pte_update(mm, addr, ptep, 0, _PAGE_RO, 0); in ptep_set_wrprotect() 138 pte_update(vma->vm_mm, address, ptep, clr, set, huge); in __ptep_set_access_flags() 210 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *ptep, in pte_update() function 225 #define pte_update pte_update macro
|
D | hugetlb-8xx.h | 34 pte_update(mm, addr, ptep, ~0UL, 0, 1); in huge_pte_clear() 44 pte_update(mm, addr, ptep, clr, set, 1); in huge_ptep_set_wrprotect()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | pageattr.c | 22 return pte_update(&init_mm, addr, ptep, old & ~new, new & ~old, 0); in pte_update_delta() 56 pte_update(&init_mm, addr, ptep, _PAGE_PRESENT, 0, 0); in change_page_attr() 59 pte_update(&init_mm, addr, ptep, 0, _PAGE_PRESENT, 0); in change_page_attr()
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 217 do { pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, 0, 0); } while (0) 259 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update() function 305 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 318 return __pte(pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, 0, 0)); in ptep_get_and_clear() 325 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0); in ptep_set_wrprotect() 336 pte_update(vma->vm_mm, address, ptep, 0, set, 0); in __ptep_set_access_flags() 554 pte_update(mm, addr, ptep, ~_PAGE_HASHPTE, pte_val(pte), 0); in __set_pte_at()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kfence.h | 47 pte_update(&init_mm, addr, kpte, _PAGE_PRESENT, 0, 0); in kfence_protect_page() 50 pte_update(&init_mm, addr, kpte, 0, _PAGE_PRESENT, 0); in kfence_protect_page()
|
D | hugetlb.h | 41 return __pte(pte_update(mm, addr, ptep, ~0UL, 0, 1)); in huge_ptep_get_and_clear()
|
/linux-6.12.1/arch/microblaze/include/asm/ |
D | pgtable.h | 310 static inline unsigned long pte_update(pte_t *p, unsigned long clr, in pte_update() function 343 return (pte_update(ptep, _PAGE_ACCESSED, 0) & _PAGE_ACCESSED) != 0; in ptep_test_and_clear_young() 349 return (pte_update(ptep, \ in ptep_test_and_clear_dirty() 357 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0)); in ptep_get_and_clear() 369 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 333 static inline unsigned long pte_update(struct mm_struct *mm, unsigned long addr, in pte_update() function 358 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 405 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0); in ptep_set_wrprotect() 413 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1); in huge_ptep_set_wrprotect() 420 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear() 443 pte_update(mm, addr, ptep, ~0UL, 0, 0); in pte_clear()
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | hugetlbpage.c | 147 pte_val = pte_update(vma->vm_mm, addr, ptep, in huge_ptep_modify_prot_start()
|
D | subpage_prot.c | 78 pte_update(mm, addr, pte, 0, 0, 0); in hpte_flush_range()
|
D | pgtable.c | 539 pte_val = pte_update(vma->vm_mm, addr, ptep, _PAGE_PRESENT, _PAGE_INVALID, 0); in ptep_modify_prot_start()
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/64/ |
D | pgtable.h | 152 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1); in huge_ptep_set_wrprotect()
|