Lines Matching refs:walk

35 		  struct mm_walk *walk)  in wp_pte()  argument
37 struct wp_walk *wpwalk = walk->private; in wp_pte()
41 pte_t old_pte = ptep_modify_prot_start(walk->vma, addr, pte); in wp_pte()
44 ptep_modify_prot_commit(walk->vma, addr, pte, old_pte, ptent); in wp_pte()
90 unsigned long end, struct mm_walk *walk) in clean_record_pte() argument
92 struct wp_walk *wpwalk = walk->private; in clean_record_pte()
97 pgoff_t pgoff = ((addr - walk->vma->vm_start) >> PAGE_SHIFT) + in clean_record_pte()
98 walk->vma->vm_pgoff - cwalk->bitmap_pgoff; in clean_record_pte()
99 pte_t old_pte = ptep_modify_prot_start(walk->vma, addr, pte); in clean_record_pte()
102 ptep_modify_prot_commit(walk->vma, addr, pte, old_pte, ptent); in clean_record_pte()
127 struct mm_walk *walk) in wp_clean_pmd_entry() argument
135 walk->action = ACTION_AGAIN; in wp_clean_pmd_entry()
140 walk->action = ACTION_CONTINUE; in wp_clean_pmd_entry()
157 struct mm_walk *walk) in wp_clean_pud_entry() argument
165 walk->action = ACTION_AGAIN; in wp_clean_pud_entry()
171 walk->action = ACTION_CONTINUE; in wp_clean_pud_entry()
186 struct mm_walk *walk) in wp_clean_pre_vma() argument
188 struct wp_walk *wpwalk = walk->private; in wp_clean_pre_vma()
194 walk->vma, walk->mm, start, end); in wp_clean_pre_vma()
196 flush_cache_range(walk->vma, start, end); in wp_clean_pre_vma()
203 inc_tlb_flush_pending(walk->mm); in wp_clean_pre_vma()
214 static void wp_clean_post_vma(struct mm_walk *walk) in wp_clean_post_vma() argument
216 struct wp_walk *wpwalk = walk->private; in wp_clean_post_vma()
218 if (mm_tlb_flush_nested(walk->mm)) in wp_clean_post_vma()
219 flush_tlb_range(walk->vma, wpwalk->range.start, in wp_clean_post_vma()
222 flush_tlb_range(walk->vma, wpwalk->tlbflush_start, in wp_clean_post_vma()
226 dec_tlb_flush_pending(walk->mm); in wp_clean_post_vma()
235 struct mm_walk *walk) in wp_clean_test_walk() argument
237 unsigned long vm_flags = READ_ONCE(walk->vma->vm_flags); in wp_clean_test_walk()