| /Linux-v4.19/mm/ |
| D | gup.c | 438 unsigned int gup_flags, struct vm_area_struct **vma, in get_gate_page() argument 449 if (gup_flags & FOLL_WRITE) in get_gate_page() 472 if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(*pte))) in get_gate_page() 554 static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) in check_vma_flags() argument 557 int write = (gup_flags & FOLL_WRITE); in check_vma_flags() 558 int foreign = (gup_flags & FOLL_REMOTE); in check_vma_flags() 563 if (gup_flags & FOLL_ANON && !vma_is_anonymous(vma)) in check_vma_flags() 568 if (!(gup_flags & FOLL_FORCE)) in check_vma_flags() 583 if (!(gup_flags & FOLL_FORCE)) in check_vma_flags() 659 unsigned int gup_flags, struct page **pages, in __get_user_pages() argument [all …]
|
| D | nommu.c | 164 unsigned int gup_flags, struct page **pages, in get_user_pages() argument 168 gup_flags, pages, vmas, NULL); in get_user_pages() 173 unsigned int gup_flags, struct page **pages, in get_user_pages_locked() argument 176 return get_user_pages(start, nr_pages, gup_flags, pages, NULL); in get_user_pages_locked() 183 unsigned int gup_flags) in __get_user_pages_unlocked() argument 187 ret = __get_user_pages(tsk, mm, start, nr_pages, gup_flags, pages, in __get_user_pages_unlocked() 194 struct page **pages, unsigned int gup_flags) in get_user_pages_unlocked() argument 197 pages, gup_flags); in get_user_pages_unlocked() 1777 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm() argument 1780 int write = gup_flags & FOLL_WRITE; in __access_remote_vm() [all …]
|
| D | frame_vector.c | 35 unsigned int gup_flags, struct frame_vector *vec) in get_vaddr_frames() argument 74 gup_flags, (struct page **)(vec->ptrs), &locked); in get_vaddr_frames()
|
| D | memory.c | 4430 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm() argument 4434 int write = gup_flags & FOLL_WRITE; in __access_remote_vm() 4444 gup_flags, &page, &vma, NULL); in __access_remote_vm() 4501 void *buf, int len, unsigned int gup_flags) in access_remote_vm() argument 4503 return __access_remote_vm(NULL, mm, addr, buf, len, gup_flags); in access_remote_vm() 4512 void *buf, int len, unsigned int gup_flags) in access_process_vm() argument 4521 ret = __access_remote_vm(tsk, mm, addr, buf, len, gup_flags); in access_process_vm()
|
| /Linux-v4.19/drivers/infiniband/core/ |
| D | umem.c | 94 unsigned int gup_flags = FOLL_WRITE; in ib_umem_get() local 171 gup_flags |= FOLL_FORCE; in ib_umem_get() 180 gup_flags, page_list, vma_list); in ib_umem_get()
|
| /Linux-v4.19/drivers/infiniband/hw/usnic/ |
| D | usnic_uiom.c | 116 unsigned int gup_flags; in usnic_uiom_get_pages() local 151 gup_flags = FOLL_WRITE; in usnic_uiom_get_pages() 152 gup_flags |= (writable) ? 0 : FOLL_FORCE; in usnic_uiom_get_pages() 160 gup_flags, page_list, NULL); in usnic_uiom_get_pages()
|
| /Linux-v4.19/include/linux/ |
| D | mm.h | 1444 void *buf, int len, unsigned int gup_flags); 1446 void *buf, int len, unsigned int gup_flags); 1448 unsigned long addr, void *buf, int len, unsigned int gup_flags); 1452 unsigned int gup_flags, struct page **pages, 1455 unsigned int gup_flags, struct page **pages, 1458 unsigned int gup_flags, struct page **pages, int *locked); 1460 struct page **pages, unsigned int gup_flags); 1463 unsigned int gup_flags, struct page **pages, 1467 unsigned long nr_pages, unsigned int gup_flags, in get_user_pages_longterm() argument 1470 return get_user_pages(start, nr_pages, gup_flags, pages, vmas); in get_user_pages_longterm() [all …]
|
| D | ptrace.h | 14 void *buf, int len, unsigned int gup_flags);
|
| /Linux-v4.19/net/xdp/ |
| D | xdp_umem.c | 215 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages() local 226 gup_flags, &umem->pgs[0], NULL); in xdp_umem_pin_pages()
|
| /Linux-v4.19/kernel/ |
| D | ptrace.c | 39 void *buf, int len, unsigned int gup_flags) in ptrace_access_vm() argument 56 ret = __access_remote_vm(tsk, mm, addr, buf, len, gup_flags); in ptrace_access_vm()
|
| /Linux-v4.19/fs/ |
| D | exec.c | 199 unsigned int gup_flags = FOLL_FORCE; in get_arg_page() local 210 gup_flags |= FOLL_WRITE; in get_arg_page() 216 ret = get_user_pages_remote(current, bprm->mm, pos, 1, gup_flags, in get_arg_page()
|