Home
last modified time | relevance | path

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

/mm/
Dgup.c270 unsigned int gup_flags, struct vm_area_struct **vma, in get_gate_page() argument
280 if (gup_flags & FOLL_WRITE) in get_gate_page()
301 if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(*pte))) in get_gate_page()
380 static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) in check_vma_flags() argument
387 if (gup_flags & FOLL_ANON && !vma_is_anonymous(vma)) in check_vma_flags()
390 if (gup_flags & FOLL_WRITE) { in check_vma_flags()
392 if (!(gup_flags & FOLL_FORCE)) in check_vma_flags()
409 if (!(gup_flags & FOLL_FORCE)) in check_vma_flags()
479 unsigned int gup_flags, struct page **pages, in __get_user_pages() argument
489 VM_BUG_ON(!!pages != !!(gup_flags & FOLL_GET)); in __get_user_pages()
[all …]
Dnommu.c187 unsigned int gup_flags, struct page **pages, in get_user_pages() argument
191 gup_flags, pages, vmas, NULL); in get_user_pages()
197 unsigned int gup_flags, struct page **pages, in get_user_pages_locked() argument
200 return get_user_pages(tsk, mm, start, nr_pages, gup_flags, in get_user_pages_locked()
207 struct page **pages, unsigned int gup_flags) in __get_user_pages_unlocked() argument
211 ret = __get_user_pages(tsk, mm, start, nr_pages, gup_flags, pages, in __get_user_pages_unlocked()
220 struct page **pages, unsigned int gup_flags) in get_user_pages_unlocked() argument
223 pages, gup_flags); in get_user_pages_unlocked()
1936 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm() argument
1939 int write = gup_flags & FOLL_WRITE; in __access_remote_vm()
[all …]
Dframe_vector.c34 unsigned int gup_flags, struct frame_vector *vec) in get_vaddr_frames() argument
59 gup_flags, (struct page **)(vec->ptrs), &locked); in get_vaddr_frames()
Dmemory.c3716 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm() argument
3720 int write = gup_flags & FOLL_WRITE; in __access_remote_vm()
3730 gup_flags, &page, &vma); in __access_remote_vm()
3787 void *buf, int len, unsigned int gup_flags) in access_remote_vm() argument
3789 return __access_remote_vm(NULL, mm, addr, buf, len, gup_flags); in access_remote_vm()