Lines Matching refs:vma
47 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags() argument
53 set_pte_at(vma->vm_mm, address, ptep, entry); in ptep_set_access_flags()
54 flush_tlb_fix_spurious_fault(vma, address); in ptep_set_access_flags()
61 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() argument
69 set_pmd_at(vma->vm_mm, address, pmdp, entry); in pmdp_set_access_flags()
70 flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_set_access_flags()
81 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young() argument
85 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young()
87 flush_tlb_page(vma, address); in ptep_clear_flush_young()
93 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young() argument
102 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
104 flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_clear_flush_young()
110 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() argument
113 struct mm_struct *mm = (vma)->vm_mm; in ptep_clear_flush()
117 flush_tlb_page(vma, address); in ptep_clear_flush()
124 pmd_t pmdp_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_clear_flush() argument
129 pmd = pmdp_get_and_clear(vma->vm_mm, address, pmdp); in pmdp_clear_flush()
130 flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_clear_flush()
138 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_splitting_flush() argument
143 set_pmd_at(vma->vm_mm, address, pmdp, pmd); in pmdp_splitting_flush()
145 flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_splitting_flush()
192 void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate() argument
198 set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(entry)); in pmdp_invalidate()
199 flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); in pmdp_invalidate()