• Home
  • Raw
  • Download

Lines Matching refs:vma

39 		if (pmd_none(*pmd) || !walk->vma) {  in walk_pmd_range()
62 split_huge_pmd(walk->vma, pmd, addr); in walk_pmd_range()
84 if (pud_none(*pud) || !walk->vma) { in walk_pud_range()
93 spinlock_t *ptl = pud_trans_huge_lock(pud, walk->vma); in walk_pud_range()
104 split_huge_pud(walk->vma, pud, addr); in walk_pud_range()
180 struct vm_area_struct *vma = walk->vma; in walk_hugetlb_range() local
181 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
222 struct vm_area_struct *vma = walk->vma; in walk_page_test() local
235 if (vma->vm_flags & VM_PFNMAP) { in walk_page_test()
248 struct vm_area_struct *vma = walk->vma; in __walk_page_range() local
250 if (vma && is_vm_hugetlb_page(vma)) { in __walk_page_range()
294 struct vm_area_struct *vma; in walk_page_range() local
304 vma = find_vma(walk->mm, start); in walk_page_range()
306 if (!vma) { /* after the last vma */ in walk_page_range()
307 walk->vma = NULL; in walk_page_range()
309 } else if (start < vma->vm_start) { /* outside vma */ in walk_page_range()
310 walk->vma = NULL; in walk_page_range()
311 next = min(end, vma->vm_start); in walk_page_range()
313 walk->vma = vma; in walk_page_range()
314 next = min(end, vma->vm_end); in walk_page_range()
315 vma = vma->vm_next; in walk_page_range()
330 if (walk->vma || walk->pte_hole) in walk_page_range()
338 int walk_page_vma(struct vm_area_struct *vma, struct mm_walk *walk) in walk_page_vma() argument
346 VM_BUG_ON(!vma); in walk_page_vma()
347 walk->vma = vma; in walk_page_vma()
348 err = walk_page_test(vma->vm_start, vma->vm_end, walk); in walk_page_vma()
353 return __walk_page_range(vma->vm_start, vma->vm_end, walk); in walk_page_vma()