Home
last modified time | relevance | path

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

1234

/linux-6.6.21/mm/
Dgup.c527 if (flags & FOLL_WRITE) in follow_pfn_pte()
609 if ((flags & FOLL_WRITE) && in follow_page_pte()
671 if ((flags & FOLL_WRITE) && in follow_page_pte()
870 if (gup_flags & FOLL_WRITE) in get_gate_page()
926 if (*flags & FOLL_WRITE) in faultin_page()
1033 int write = (gup_flags & FOLL_WRITE); in check_vma_flags()
1650 gup_flags |= FOLL_WRITE; in populate_vma_page_range()
1715 gup_flags |= FOLL_WRITE; in faultin_vma_page_range()
1817 vm_flags = (foll_flags & FOLL_WRITE) ? in __get_user_pages_locked()
2469 if ((flags & (FOLL_PIN | FOLL_LONGTERM | FOLL_WRITE)) != in folio_fast_pin_allowed()
[all …]
Dprocess_vm_access.c92 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
Dgup_test.c253 gup_flags |= FOLL_WRITE; in pin_longterm_test_start()
/linux-6.6.21/tools/testing/selftests/mm/
Dgup_test.c20 #define FOLL_WRITE 0x01 /* check pte is writable */ macro
209 gup.gup_flags |= FOLL_WRITE; in main()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Duser_pages.c84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE, in qib_get_user_pages()
/linux-6.6.21/drivers/media/common/videobuf2/
Dframe_vector.c55 gup_flags |= FOLL_WRITE; in get_vaddr_frames()
/linux-6.6.21/arch/arm64/kernel/
Dmte.c399 int write = gup_flags & FOLL_WRITE; in __access_remote_tags()
512 gup_flags |= FOLL_WRITE; in mte_ptrace_copy_tags()
/linux-6.6.21/net/rds/
Dinfo.c195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
/linux-6.6.21/drivers/misc/lkdtm/
Dperms.c97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
/linux-6.6.21/arch/mips/math-emu/
Ddsemul.c274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
/linux-6.6.21/arch/powerpc/kernel/ptrace/
Dptrace32.c172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
/linux-6.6.21/arch/mips/kernel/
Dptrace32.c188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
/linux-6.6.21/virt/kvm/
Dasync_pf.c64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, &locked); in async_pf_execute()
/linux-6.6.21/drivers/vfio/
Diova_bitmap.c192 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
/linux-6.6.21/arch/ia64/kernel/
Derr_inject.c145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
/linux-6.6.21/net/xdp/
Dxdp_umem.c96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
/linux-6.6.21/drivers/infiniband/core/
Dumem.c209 gup_flags |= FOLL_WRITE; in ib_umem_get()
/linux-6.6.21/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.6.21/arch/sparc/kernel/
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-6.6.21/kernel/
Dptrace.c665 FOLL_FORCE | FOLL_WRITE); in ptrace_writedata()
1333 FOLL_FORCE | FOLL_WRITE); in generic_ptrace_pokedata()
1361 FOLL_FORCE | FOLL_WRITE); in compat_ptrace_request()
/linux-6.6.21/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.6.21/arch/alpha/kernel/
Dptrace.c171 FOLL_FORCE | FOLL_WRITE); in write_int()
/linux-6.6.21/drivers/virt/acrn/
Dmm.c201 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()

1234