Home
last modified time | relevance | path

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

123

/linux/mm/
H A Dgup.c628 if ((flags & FOLL_WRITE) && !pud_write(pud)) in follow_huge_pud()
649 touch_pud(vma, addr, pudp, flags & FOLL_WRITE); in follow_huge_pud()
722 if ((flags & FOLL_WRITE) && in follow_huge_pmd()
745 touch_pmd(vma, addr, pmd, flags & FOLL_WRITE); in follow_huge_pmd()
778 if (flags & FOLL_WRITE) in follow_pfn_pte()
861 if ((flags & FOLL_WRITE) && in follow_page_pte()
924 if ((flags & FOLL_WRITE) && in follow_page_pte()
1101 if (gup_flags & FOLL_WRITE) in get_gate_page()
1157 if (flags & FOLL_WRITE) in faultin_page()
1264 int write = (gup_flags & FOLL_WRITE); in check_vma_flags()
[all …]
H A Dprocess_vm_access.c93 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
H A Dgup_test.c253 gup_flags |= FOLL_WRITE; in pin_longterm_test_start()
/linux/tools/testing/selftests/mm/
H A Dgup_test.c21 #define FOLL_WRITE 0x01 /* check pte is writable */
213 gup.gup_flags |= FOLL_WRITE; in main()
20 #define FOLL_WRITE global() macro
/linux/drivers/infiniband/hw/hfi1/
H A Duser_pages.c84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/linux/drivers/infiniband/hw/qib/
H A Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE, in qib_get_user_pages()
/linux/arch/arm64/kernel/
H A Dmte.c399 int write = gup_flags & FOLL_WRITE; in __access_remote_tags()
512 gup_flags |= FOLL_WRITE; in mte_ptrace_copy_tags()
/linux/drivers/media/common/videobuf2/
H A Dframe_vector.c55 gup_flags |= FOLL_WRITE; in get_vaddr_frames()
/linux/net/rds/
H A Dinfo.c195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
/linux/drivers/misc/lkdtm/
H A Dperms.c97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
/linux/arch/mips/math-emu/
H A Ddsemul.c274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
/linux/arch/powerpc/kernel/ptrace/
H A Dptrace32.c172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
/linux/virt/kvm/
H A Dasync_pf.c67 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, &locked); in async_pf_execute()
/linux/arch/mips/kernel/
H A Dptrace32.c188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
/linux/arch/sparc/kernel/
H A Dptrace_64.c183 FOLL_FORCE | FOLL_WRITE); in set_to_target()
593 FOLL_FORCE | FOLL_WRITE) in genregs32_set()
623 FOLL_FORCE | FOLL_WRITE) in genregs32_set()
/linux/drivers/infiniband/core/
H A Dumem.c209 gup_flags |= FOLL_WRITE; in ib_umem_get()
/linux/net/xdp/
H A Dxdp_umem.c96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
/linux/arch/s390/kvm/
H A Dpci.c253 npages = pin_user_pages_fast(hva, 1, FOLL_WRITE | FOLL_LONGTERM, pages); in kvm_s390_pci_aif_enable()
268 npages = pin_user_pages_fast(hva, 1, FOLL_WRITE | FOLL_LONGTERM, in kvm_s390_pci_aif_enable()
/linux/drivers/iommu/iommufd/
H A Diova_bitmap.c197 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
/linux/kernel/
H A Dptrace.c645 FOLL_FORCE | FOLL_WRITE); in ptrace_writedata()
1313 FOLL_FORCE | FOLL_WRITE); in generic_ptrace_pokedata()
1341 FOLL_FORCE | FOLL_WRITE); in compat_ptrace_request()
/linux/drivers/fpga/
H A Ddfl-afu-dma-region.c51 pinned = pin_user_pages_fast(region->user_addr, npages, FOLL_WRITE, in afu_dma_pin_pages()
/linux/io_uring/
H A Dmemmap.c148 ret = pin_user_pages_fast(uaddr, nr_pages, FOLL_WRITE | FOLL_LONGTERM, in io_pin_pages()
/linux/arch/alpha/kernel/
H A Dptrace.c171 FOLL_FORCE | FOLL_WRITE); in write_int()
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
/linux/drivers/virt/acrn/
H A Dmm.c243 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()

123