Lines Matching refs:vmas
527 struct vm_area_struct **vmas, int *nonblocking) in __get_user_pages() argument
568 i = follow_hugetlb_page(mm, vma, pages, vmas, in __get_user_pages()
616 if (vmas) { in __get_user_pages()
617 vmas[i] = vma; in __get_user_pages()
737 struct vm_area_struct **vmas, in __get_user_pages_locked() argument
746 BUG_ON(vmas); in __get_user_pages_locked()
758 vmas, locked); in __get_user_pages_locked()
961 struct vm_area_struct **vmas) in get_user_pages_remote() argument
963 return __get_user_pages_locked(tsk, mm, start, nr_pages, pages, vmas, in get_user_pages_remote()
977 struct vm_area_struct **vmas) in get_user_pages() argument
980 pages, vmas, NULL, false, in get_user_pages()
1002 struct vm_area_struct **vmas = vmas_arg; in get_user_pages_longterm() local
1009 if (!vmas) { in get_user_pages_longterm()
1010 vmas = kcalloc(nr_pages, sizeof(struct vm_area_struct *), in get_user_pages_longterm()
1012 if (!vmas) in get_user_pages_longterm()
1016 rc = get_user_pages(start, nr_pages, gup_flags, pages, vmas); in get_user_pages_longterm()
1019 struct vm_area_struct *vma = vmas[i]; in get_user_pages_longterm()
1042 if (vmas != vmas_arg) in get_user_pages_longterm()
1043 kfree(vmas); in get_user_pages_longterm()