Home
last modified time | relevance | path

Searched refs:FOLL_WRITE (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v5.4/mm/
Dgup.c149 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 …]
Dhuge_memory.c926 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()
Dprocess_vm_access.c96 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Duser_pages.c107 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/Linux-v5.4/drivers/media/common/videobuf2/
Dvideobuf2-memops.c43 unsigned int flags = FOLL_FORCE | FOLL_WRITE; in vb2_create_framevec()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
/Linux-v5.4/drivers/misc/lkdtm/
Dperms.c73 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
/Linux-v5.4/arch/sparc/kernel/
Dptrace_64.c185 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/
Dinfo.c196 ret = get_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
/Linux-v5.4/arch/mips/math-emu/
Ddsemul.c277 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
/Linux-v5.4/arch/powerpc/kernel/
Dptrace32.c183 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
/Linux-v5.4/virt/kvm/
Dasync_pf.c78 get_user_pages_remote(NULL, mm, addr, 1, FOLL_WRITE, NULL, NULL, in async_pf_execute()
/Linux-v5.4/arch/mips/kernel/
Dptrace32.c189 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
/Linux-v5.4/arch/ia64/kernel/
Derr_inject.c145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
/Linux-v5.4/kernel/
Dptrace.c626 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/
Dumem.c204 unsigned int gup_flags = FOLL_WRITE; in ib_umem_get()
/Linux-v5.4/arch/alpha/kernel/
Dptrace.c171 FOLL_FORCE | FOLL_WRITE); in write_int()
/Linux-v5.4/drivers/fpga/
Ddfl-afu-dma-region.c60 pinned = get_user_pages_fast(region->user_addr, npages, FOLL_WRITE, in afu_dma_pin_pages()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
/Linux-v5.4/net/xdp/
Dxdp_umem.c284 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_mem.c374 unsigned int foll_flags = FOLL_WRITE; in siw_umem_get()
/Linux-v5.4/drivers/staging/kpc2000/kpc_dma/
Dfileops.c80 …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/
Dorangefs-bufmap.c272 bufmap->page_count, FOLL_WRITE, bufmap->page_array); in orangefs_bufmap_map()
/Linux-v5.4/drivers/tee/
Dtee_shm.c268 rc = get_user_pages_fast(start, num_pages, FOLL_WRITE, shm->pages); in tee_shm_register()
/Linux-v5.4/arch/x86/mm/
Dmpx.c424 write ? FOLL_WRITE : 0, NULL, NULL); in mpx_resolve_fault()

123