Lines Matching refs:vma
55 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags() argument
61 set_pte_at(vma->vm_mm, address, ptep, entry); in ptep_set_access_flags()
62 flush_tlb_fix_spurious_fault(vma, address); in ptep_set_access_flags()
69 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young() argument
73 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young()
75 flush_tlb_page(vma, address); in ptep_clear_flush_young()
81 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() argument
84 struct mm_struct *mm = (vma)->vm_mm; in ptep_clear_flush()
88 flush_tlb_page(vma, address); in ptep_clear_flush()
96 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() argument
103 set_pmd_at(vma->vm_mm, address, pmdp, entry); in pmdp_set_access_flags()
104 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_set_access_flags()
111 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young() argument
116 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
118 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_clear_flush_young()
124 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush() argument
131 pmd = pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); in pmdp_huge_clear_flush()
132 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_huge_clear_flush()
137 pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pudp_huge_clear_flush() argument
144 pud = pudp_huge_get_and_clear(vma->vm_mm, address, pudp); in pudp_huge_clear_flush()
145 flush_pud_tlb_range(vma, address, address + HPAGE_PUD_SIZE); in pudp_huge_clear_flush()
185 pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate() argument
188 pmd_t old = pmdp_establish(vma, address, pmdp, pmd_mknotpresent(*pmdp)); in pmdp_invalidate()
189 flush_pmd_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_invalidate()
195 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush() argument
206 pmd = pmdp_huge_get_and_clear(vma->vm_mm, address, pmdp); in pmdp_collapse_flush()
209 flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_collapse_flush()