Searched defs:gup_flags (Results 1 - 2 of 2) sorted by relevance

/mm/
H A Dgup.c222 unsigned int gup_flags, struct vm_area_struct **vma,
232 if (gup_flags & FOLL_WRITE)
253 if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(*pte)))
331 static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) argument
338 if (gup_flags & FOLL_WRITE) {
340 if (!(gup_flags & FOLL_FORCE))
357 if (!(gup_flags & FOLL_FORCE))
375 * @gup_flags: flags modifying pin behaviour
405 * If @gup_flags & FOLL_WRITE == 0, the page must not be written to. If
412 * *@nonblocking will be set to 0. Further, if @gup_flags doe
221 get_gate_page(struct mm_struct *mm, unsigned long address, unsigned int gup_flags, struct vm_area_struct **vma, struct page **page) argument
425 __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, unsigned int gup_flags, struct page **pages, struct vm_area_struct **vmas, int *nonblocking) argument
[all...]
H A Dmlock.c232 int gup_flags; local
240 gup_flags = FOLL_TOUCH | FOLL_MLOCK;
247 gup_flags |= FOLL_WRITE;
254 gup_flags |= FOLL_FORCE;
260 return __get_user_pages(current, mm, start, nr_pages, gup_flags,

Completed in 501 milliseconds