Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/nohash/
A 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()
/arch/powerpc/include/asm/nohash/32/
A 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
A 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()
/arch/powerpc/include/asm/
A Dkfence.h51 pte_update(&init_mm, addr, kpte, _PAGE_PRESENT, 0, 0); in kfence_protect_page()
54 pte_update(&init_mm, addr, kpte, 0, _PAGE_PRESENT, 0); in kfence_protect_page()
A Dhugetlb.h51 return __pte(pte_update(mm, addr, ptep, ~0UL, 0, 1)); in huge_ptep_get_and_clear()
/arch/powerpc/mm/
A 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()
/arch/powerpc/include/asm/book3s/32/
A 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()
/arch/microblaze/include/asm/
A Dpgtable.h302 static inline unsigned long pte_update(pte_t *p, unsigned long clr, in pte_update() function
335 return (pte_update(ptep, _PAGE_ACCESSED, 0) & _PAGE_ACCESSED) != 0; in ptep_test_and_clear_young()
341 return (pte_update(ptep, \ in ptep_test_and_clear_dirty()
349 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0)); in ptep_get_and_clear()
361 pte_update(ptep, 0, _PAGE_DIRTY); in ptep_mkdirty()
/arch/powerpc/include/asm/book3s/64/
A Dpgtable.h332 static inline unsigned long pte_update(struct mm_struct *mm, unsigned long addr, in pte_update() function
357 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young()
404 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0); in ptep_set_wrprotect()
412 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1); in huge_ptep_set_wrprotect()
419 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear()
442 pte_update(mm, addr, ptep, ~0UL, 0, 0); in pte_clear()
/arch/powerpc/mm/book3s64/
A Dhugetlbpage.c147 pte_val = pte_update(vma->vm_mm, addr, ptep, in huge_ptep_modify_prot_start()
A Dsubpage_prot.c78 pte_update(mm, addr, pte, 0, 0, 0); in hpte_flush_range()
A Dpgtable.c540 pte_val = pte_update(vma->vm_mm, addr, ptep, _PAGE_PRESENT, _PAGE_INVALID, 0); in ptep_modify_prot_start()
/arch/powerpc/include/asm/nohash/64/
A Dpgtable.h152 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1); in huge_ptep_set_wrprotect()

Completed in 34 milliseconds