Home
last modified time | relevance | path

Searched refs:gup_flags (Results 1 – 2 of 2) sorted by relevance

/mm/
Dgup.c223 unsigned int gup_flags, struct vm_area_struct **vma, in get_gate_page() argument
233 if (gup_flags & FOLL_WRITE) in get_gate_page()
254 if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(*pte))) in get_gate_page()
327 static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) in check_vma_flags() argument
334 if (gup_flags & FOLL_WRITE) { in check_vma_flags()
336 if (!(gup_flags & FOLL_FORCE)) in check_vma_flags()
353 if (!(gup_flags & FOLL_FORCE)) in check_vma_flags()
423 unsigned int gup_flags, struct page **pages, in __get_user_pages() argument
433 VM_BUG_ON(!!pages != !!(gup_flags & FOLL_GET)); in __get_user_pages()
440 if (!(gup_flags & FOLL_FORCE)) in __get_user_pages()
[all …]
Dmlock.c232 int gup_flags; in __mlock_vma_pages_range() local
240 gup_flags = FOLL_TOUCH | FOLL_MLOCK; in __mlock_vma_pages_range()
247 gup_flags |= FOLL_WRITE; in __mlock_vma_pages_range()
254 gup_flags |= FOLL_FORCE; in __mlock_vma_pages_range()
260 return __get_user_pages(current, mm, start, nr_pages, gup_flags, in __mlock_vma_pages_range()