| /Linux-v5.4/mm/ |
| D | gup.c | 149 if (flags & FOLL_WRITE) in follow_pfn_pte() 208 if ((flags & FOLL_WRITE) && !can_follow_write_pte(pte, flags)) { in follow_page_pte() 262 if ((flags & FOLL_WRITE) && in follow_page_pte() 519 page = follow_huge_addr(mm, address, flags & FOLL_WRITE); in follow_page_mask() 572 if (gup_flags & FOLL_WRITE) in get_gate_page() 627 if (*flags & FOLL_WRITE) in faultin_page() 679 int write = (gup_flags & FOLL_WRITE); in check_vma_flags() 1210 gup_flags |= FOLL_WRITE; in populate_vma_page_range() 1329 vm_flags = (foll_flags & FOLL_WRITE) ? in __get_user_pages_locked() 1830 if (!pte_access_permitted(pte, flags & FOLL_WRITE)) in gup_pte_range() [all …]
|
| D | huge_memory.c | 926 if (flags & FOLL_WRITE) in touch_pmd() 929 pmd, _pmd, flags & FOLL_WRITE)) in touch_pmd() 948 if (flags & FOLL_WRITE && !pmd_write(*pmd)) in follow_devmap_pmd() 1072 if (flags & FOLL_WRITE) in touch_pud() 1075 pud, _pud, flags & FOLL_WRITE)) in touch_pud() 1088 if (flags & FOLL_WRITE && !pud_write(*pud)) in follow_devmap_pud() 1474 if (flags & FOLL_WRITE && !can_follow_write_pmd(*pmd, flags)) in follow_trans_huge_pmd()
|
| D | process_vm_access.c | 96 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
|
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ |
| D | user_pages.c | 107 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
|
| /Linux-v5.4/drivers/media/common/videobuf2/ |
| D | videobuf2-memops.c | 43 unsigned int flags = FOLL_FORCE | FOLL_WRITE; in vb2_create_framevec()
|
| /Linux-v5.4/drivers/infiniband/hw/qib/ |
| D | qib_user_pages.c | 113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
|
| /Linux-v5.4/drivers/misc/lkdtm/ |
| D | perms.c | 73 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
|
| /Linux-v5.4/arch/sparc/kernel/ |
| D | ptrace_64.c | 185 FOLL_FORCE | FOLL_WRITE); in set_to_target() 583 FOLL_FORCE | FOLL_WRITE) in genregs32_get() 663 FOLL_FORCE | FOLL_WRITE) in genregs32_set() 698 FOLL_FORCE | FOLL_WRITE) in genregs32_set()
|
| /Linux-v5.4/net/rds/ |
| D | info.c | 196 ret = get_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
|
| /Linux-v5.4/arch/mips/math-emu/ |
| D | dsemul.c | 277 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | ptrace32.c | 183 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
|
| /Linux-v5.4/virt/kvm/ |
| D | async_pf.c | 78 get_user_pages_remote(NULL, mm, addr, 1, FOLL_WRITE, NULL, NULL, in async_pf_execute()
|
| /Linux-v5.4/arch/mips/kernel/ |
| D | ptrace32.c | 189 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
|
| /Linux-v5.4/arch/ia64/kernel/ |
| D | err_inject.c | 145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
|
| /Linux-v5.4/kernel/ |
| D | ptrace.c | 626 FOLL_FORCE | FOLL_WRITE); in ptrace_writedata() 1300 FOLL_FORCE | FOLL_WRITE); in generic_ptrace_pokedata() 1328 FOLL_FORCE | FOLL_WRITE); in compat_ptrace_request()
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | umem.c | 204 unsigned int gup_flags = FOLL_WRITE; in ib_umem_get()
|
| /Linux-v5.4/arch/alpha/kernel/ |
| D | ptrace.c | 171 FOLL_FORCE | FOLL_WRITE); in write_int()
|
| /Linux-v5.4/drivers/fpga/ |
| D | dfl-afu-dma-region.c | 60 pinned = get_user_pages_fast(region->user_addr, npages, FOLL_WRITE, in afu_dma_pin_pages()
|
| /Linux-v5.4/arch/powerpc/mm/book3s64/ |
| D | iommu_api.c | 107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
|
| /Linux-v5.4/net/xdp/ |
| D | xdp_umem.c | 284 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
|
| /Linux-v5.4/drivers/infiniband/sw/siw/ |
| D | siw_mem.c | 374 unsigned int foll_flags = FOLL_WRITE; in siw_umem_get()
|
| /Linux-v5.4/drivers/staging/kpc2000/kpc_dma/ |
| D | fileops.c | 80 …rv = get_user_pages(iov_base, acd->page_count, FOLL_TOUCH | FOLL_WRITE | FOLL_GET, acd->user_pages… in kpc_dma_transfer()
|
| /Linux-v5.4/fs/orangefs/ |
| D | orangefs-bufmap.c | 272 bufmap->page_count, FOLL_WRITE, bufmap->page_array); in orangefs_bufmap_map()
|
| /Linux-v5.4/drivers/tee/ |
| D | tee_shm.c | 268 rc = get_user_pages_fast(start, num_pages, FOLL_WRITE, shm->pages); in tee_shm_register()
|
| /Linux-v5.4/arch/x86/mm/ |
| D | mpx.c | 424 write ? FOLL_WRITE : 0, NULL, NULL); in mpx_resolve_fault()
|