| /linux/drivers/media/common/videobuf2/ |
| H A D | frame_vector.c | 44 unsigned int gup_flags = FOLL_LONGTERM; in get_vaddr_frames() local 55 gup_flags |= FOLL_WRITE; in get_vaddr_frames() 57 ret = pin_user_pages_fast(start, nr_frames, gup_flags, in get_vaddr_frames()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | user_pages.c | 84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages() local 86 ret = pin_user_pages_fast(vaddr, npages, gup_flags, pages); in hfi1_acquire_user_pages()
|
| /linux/drivers/accel/ivpu/ |
| H A D | ivpu_gem_userptr.c | 73 unsigned int gup_flags = FOLL_LONGTERM; in ivpu_create_userptr_dmabuf() local 78 gup_flags |= FOLL_WRITE; in ivpu_create_userptr_dmabuf() 84 pinned = pin_user_pages_fast((unsigned long)user_ptr, nr_pages, gup_flags, pages); in ivpu_create_userptr_dmabuf()
|
| /linux/drivers/infiniband/core/ |
| H A D | umem.c | 175 unsigned int gup_flags = FOLL_LONGTERM; in ib_umem_get() local 234 gup_flags |= FOLL_WRITE; in ib_umem_get() 242 gup_flags, page_list); in ib_umem_get()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | gup_test.c | 128 gup.gup_flags = strtol(optarg, 0, 0); in main() 210 gup.gup_flags |= FOLL_WRITE; in main()
|
| H A D | hmm-tests.c | 1914 .gup_flags = FOLL_WRITE | flags, in gup_test_exec()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_userptr.c | 238 unsigned int gup_flags = 0; in i915_gem_object_userptr_submit_init() local 266 gup_flags |= FOLL_WRITE; in i915_gem_object_userptr_submit_init() 271 num_pages - pinned, gup_flags, in i915_gem_object_userptr_submit_init()
|
| /linux/mm/ |
| H A D | gup_test.h | 27 __u32 gup_flags; member
|
| H A D | memory.c | 7069 void *buf, int len, unsigned int gup_flags) in __access_remote_vm() argument 7072 int write = gup_flags & FOLL_WRITE; in __access_remote_vm() 7091 gup_flags, &vma); in __access_remote_vm() 7159 void *buf, int len, unsigned int gup_flags) in access_remote_vm() argument 7161 return __access_remote_vm(mm, addr, buf, len, gup_flags); in access_remote_vm() 7170 void *buf, int len, unsigned int gup_flags) in access_process_vm() argument 7179 ret = __access_remote_vm(mm, addr, buf, len, gup_flags); in access_process_vm() 7193 void *buf, int len, unsigned int gup_flags) in __copy_remote_vm_str() argument 7218 page = get_user_page_vma_remote(mm, addr, gup_flags, &vma); in __copy_remote_vm_str() 7284 void *buf, int len, unsigned int gup_flags) in copy_remote_vm_str() argument [all …]
|
| /linux/net/xdp/ |
| H A D | xdp_umem.c | 96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages() local 107 gup_flags | FOLL_LONGTERM, &umem->pgs[0]); in xdp_umem_pin_pages()
|
| /linux/include/linux/ |
| H A D | mm.h | 3186 void *buf, int len, unsigned int gup_flags); 3188 void *buf, int len, unsigned int gup_flags); 3192 void *buf, int len, unsigned int gup_flags); 3197 unsigned int gup_flags, struct page **pages, 3201 unsigned int gup_flags, struct page **pages, 3209 int gup_flags, in get_user_page_vma_remote() argument 3216 if (WARN_ON_ONCE(unlikely(gup_flags & FOLL_NOWAIT))) in get_user_page_vma_remote() 3219 got = get_user_pages_remote(mm, addr, 1, gup_flags, &page, NULL); in get_user_page_vma_remote() 3235 unsigned int gup_flags, struct page **pages); 3237 unsigned int gup_flags, struct page **pages); [all …]
|
| H A D | ptrace.h | 21 void *buf, int len, unsigned int gup_flags);
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_uiom.c | 88 unsigned int gup_flags = FOLL_LONGTERM; in usnic_uiom_get_pages() local 135 gup_flags |= FOLL_WRITE; in usnic_uiom_get_pages() 143 gup_flags, page_list); in usnic_uiom_get_pages()
|
| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_gem.c | 671 unsigned int gup_flags = FOLL_LONGTERM; in etnaviv_gem_userptr_get_pages() local 683 gup_flags |= FOLL_WRITE; in etnaviv_gem_userptr_get_pages() 690 ret = pin_user_pages_fast(ptr, num_pages, gup_flags, pages); in etnaviv_gem_userptr_get_pages()
|
| /linux/net/rds/ |
| H A D | rdma.c | 157 unsigned int gup_flags = FOLL_LONGTERM; in rds_pin_pages() local 161 gup_flags |= FOLL_WRITE; in rds_pin_pages() 163 ret = pin_user_pages_fast(user_addr, nr_pages, gup_flags, pages); in rds_pin_pages()
|
| /linux/drivers/vhost/ |
| H A D | vdpa.c | 1102 unsigned int gup_flags = FOLL_LONGTERM; in vhost_vdpa_pa_map() local 1115 gup_flags |= FOLL_WRITE; in vhost_vdpa_pa_map() 1138 gup_flags, page_list); in vhost_vdpa_pa_map()
|
| /linux/kernel/ |
| H A D | ptrace.c | 45 void *buf, int len, unsigned int gup_flags) in ptrace_access_vm() argument 62 ret = access_remote_vm(mm, addr, buf, len, gup_flags); in ptrace_access_vm()
|
| /linux/arch/x86/kernel/ |
| H A D | uprobes.c | 1035 unsigned int gup_flags = FOLL_FORCE|FOLL_SPLIT_PMD; in copy_from_vaddr() local 1039 page = get_user_page_vma_remote(mm, vaddr, gup_flags, &vma); in copy_from_vaddr()
|
| /linux/drivers/block/ |
| H A D | ublk_drv.c | 5383 unsigned int gup_flags; in ublk_ctrl_reg_buf() local 5414 gup_flags = FOLL_LONGTERM; in ublk_ctrl_reg_buf() 5416 gup_flags |= FOLL_WRITE; in ublk_ctrl_reg_buf() 5418 pinned = pin_user_pages_fast(buf_reg.addr, nr_pages, gup_flags, pages); in ublk_ctrl_reg_buf()
|