Lines Matching refs:walk

34 		  struct mm_walk *walk)  in wp_pte()  argument
36 struct wp_walk *wpwalk = walk->private; in wp_pte()
40 pte_t old_pte = ptep_modify_prot_start(walk->vma, addr, pte); in wp_pte()
43 ptep_modify_prot_commit(walk->vma, addr, pte, old_pte, ptent); in wp_pte()
89 unsigned long end, struct mm_walk *walk) in clean_record_pte() argument
91 struct wp_walk *wpwalk = walk->private; in clean_record_pte()
96 pgoff_t pgoff = ((addr - walk->vma->vm_start) >> PAGE_SHIFT) + in clean_record_pte()
97 walk->vma->vm_pgoff - cwalk->bitmap_pgoff; in clean_record_pte()
98 pte_t old_pte = ptep_modify_prot_start(walk->vma, addr, pte); in clean_record_pte()
101 ptep_modify_prot_commit(walk->vma, addr, pte, old_pte, ptent); in clean_record_pte()
126 struct mm_walk *walk) in wp_clean_pmd_entry() argument
134 walk->action = ACTION_AGAIN; in wp_clean_pmd_entry()
139 walk->action = ACTION_CONTINUE; in wp_clean_pmd_entry()
156 struct mm_walk *walk) in wp_clean_pud_entry() argument
164 walk->action = ACTION_AGAIN; in wp_clean_pud_entry()
170 walk->action = ACTION_CONTINUE; in wp_clean_pud_entry()
185 struct mm_walk *walk) in wp_clean_pre_vma() argument
187 struct wp_walk *wpwalk = walk->private; in wp_clean_pre_vma()
193 walk->vma, walk->mm, start, end); in wp_clean_pre_vma()
195 flush_cache_range(walk->vma, start, end); in wp_clean_pre_vma()
202 inc_tlb_flush_pending(walk->mm); in wp_clean_pre_vma()
213 static void wp_clean_post_vma(struct mm_walk *walk) in wp_clean_post_vma() argument
215 struct wp_walk *wpwalk = walk->private; in wp_clean_post_vma()
217 if (mm_tlb_flush_nested(walk->mm)) in wp_clean_post_vma()
218 flush_tlb_range(walk->vma, wpwalk->range.start, in wp_clean_post_vma()
221 flush_tlb_range(walk->vma, wpwalk->tlbflush_start, in wp_clean_post_vma()
225 dec_tlb_flush_pending(walk->mm); in wp_clean_post_vma()
234 struct mm_walk *walk) in wp_clean_test_walk() argument
236 unsigned long vm_flags = READ_ONCE(walk->vma->vm_flags); in wp_clean_test_walk()