Home
last modified time | relevance | path

Searched refs:pte_update (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/arch/powerpc/include/asm/nohash/
Dpgtable.h6 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/
Dpte-8xx.h122 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
Dhugetlb-8xx.h34 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/
Dpageattr.c22 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/
Dpgtable.h217 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/
Dkfence.h47 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()
Dhugetlb.h41 return __pte(pte_update(mm, addr, ptep, ~0UL, 0, 1)); in huge_ptep_get_and_clear()
/linux-6.12.1/arch/microblaze/include/asm/
Dpgtable.h310 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/
Dpgtable.h333 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/
Dhugetlbpage.c147 pte_val = pte_update(vma->vm_mm, addr, ptep, in huge_ptep_modify_prot_start()
Dsubpage_prot.c78 pte_update(mm, addr, pte, 0, 0, 0); in hpte_flush_range()
Dpgtable.c539 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/
Dpgtable.h152 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1); in huge_ptep_set_wrprotect()