Home
last modified time | relevance | path

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

1234

/linux-6.1.9/tools/testing/selftests/vm/
Dgup_test.c21 #define FOLL_WRITE 0x01 /* check pte is writable */ macro
210 gup.gup_flags |= FOLL_WRITE; in main()
/linux-6.1.9/mm/
Dgup.c474 if (flags & FOLL_WRITE) in follow_pfn_pte()
585 if ((flags & FOLL_WRITE) && in follow_page_pte()
645 if ((flags & FOLL_WRITE) && in follow_page_pte()
874 page = follow_huge_addr(mm, address, flags & FOLL_WRITE); in follow_page_mask()
933 if (gup_flags & FOLL_WRITE) in get_gate_page()
988 if (*flags & FOLL_WRITE) in faultin_page()
1049 int write = (gup_flags & FOLL_WRITE); in check_vma_flags()
1577 gup_flags |= FOLL_WRITE; in populate_vma_page_range()
1644 gup_flags |= FOLL_WRITE; in faultin_vma_page_range()
1732 vm_flags = (foll_flags & FOLL_WRITE) ? in __get_user_pages_locked()
[all …]
Dprocess_vm_access.c92 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duser_pages.c65 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
/linux-6.1.9/drivers/media/common/videobuf2/
Dframe_vector.c49 FOLL_FORCE | FOLL_WRITE | FOLL_LONGTERM, in get_vaddr_frames()
/linux-6.1.9/arch/arm64/kernel/
Dmte.c427 int write = gup_flags & FOLL_WRITE; in __access_remote_tags()
538 gup_flags |= FOLL_WRITE; in mte_ptrace_copy_tags()
/linux-6.1.9/net/rds/
Dinfo.c195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
/linux-6.1.9/drivers/misc/lkdtm/
Dperms.c97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
/linux-6.1.9/arch/s390/kernel/
Duv.c300 page = follow_page(vma, uaddr, FOLL_WRITE); in gmap_make_secure()
398 page = follow_page(vma, uaddr, FOLL_WRITE | FOLL_GET); in gmap_destroy_page()
/linux-6.1.9/arch/powerpc/kernel/ptrace/
Dptrace32.c172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
/linux-6.1.9/arch/mips/math-emu/
Ddsemul.c274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
/linux-6.1.9/drivers/vfio/
Diova_bitmap.c190 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
/linux-6.1.9/virt/kvm/
Dasync_pf.c64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, NULL, in async_pf_execute()
/linux-6.1.9/arch/mips/kernel/
Dptrace32.c188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
/linux-6.1.9/drivers/infiniband/core/
Dumem.c159 unsigned int gup_flags = FOLL_WRITE; in ib_umem_get()
/linux-6.1.9/net/xdp/
Dxdp_umem.c96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
/linux-6.1.9/arch/ia64/kernel/
Derr_inject.c145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
/linux-6.1.9/arch/s390/kvm/
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-6.1.9/arch/sparc/kernel/
Dptrace_64.c183 FOLL_FORCE | FOLL_WRITE); in set_to_target()
595 FOLL_FORCE | FOLL_WRITE) in genregs32_set()
625 FOLL_FORCE | FOLL_WRITE) in genregs32_set()
/linux-6.1.9/kernel/
Dptrace.c664 FOLL_FORCE | FOLL_WRITE); in ptrace_writedata()
1324 FOLL_FORCE | FOLL_WRITE); in generic_ptrace_pokedata()
1352 FOLL_FORCE | FOLL_WRITE); in compat_ptrace_request()
/linux-6.1.9/drivers/fpga/
Ddfl-afu-dma-region.c51 pinned = pin_user_pages_fast(region->user_addr, npages, FOLL_WRITE, in afu_dma_pin_pages()
/linux-6.1.9/arch/alpha/kernel/
Dptrace.c169 FOLL_FORCE | FOLL_WRITE); in write_int()
/linux-6.1.9/drivers/virt/acrn/
Dmm.c201 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()

1234