Home
last modified time | relevance | path

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

1234

/openbmc/linux/mm/
H A Dgup.c439 if (flags & FOLL_WRITE) in follow_pfn_pte()
521 if ((flags & FOLL_WRITE) && in follow_page_pte()
583 if ((flags & FOLL_WRITE) && in follow_page_pte()
782 if (gup_flags & FOLL_WRITE) in get_gate_page()
838 if (*flags & FOLL_WRITE) in faultin_page()
945 int write = (gup_flags & FOLL_WRITE); in check_vma_flags()
1577 gup_flags |= FOLL_WRITE; in populate_vma_page_range()
1643 gup_flags |= FOLL_WRITE; in faultin_page_range()
1738 vm_flags = (foll_flags & FOLL_WRITE) ? in __get_user_pages_locked()
2390 (FOLL_PIN | FOLL_LONGTERM | FOLL_WRITE)) in folio_fast_pin_allowed()
[all …]
H A Dprocess_vm_access.c92 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
H A Dgup_test.c253 gup_flags |= FOLL_WRITE; in pin_longterm_test_start()
/openbmc/linux/tools/testing/selftests/mm/
H A Dgup_test.c21 #define FOLL_WRITE 0x01 /* check pte is writable */ macro
213 gup.gup_flags |= FOLL_WRITE; in main()
/openbmc/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()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE, in qib_get_user_pages()
/openbmc/linux/drivers/media/common/videobuf2/
H A Dframe_vector.c55 gup_flags |= FOLL_WRITE; in get_vaddr_frames()
/openbmc/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()
/openbmc/linux/net/rds/
H A Dinfo.c195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
/openbmc/linux/drivers/misc/lkdtm/
H A Dperms.c97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace32.c172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
/openbmc/linux/arch/mips/math-emu/
H A Ddsemul.c274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
/openbmc/linux/arch/mips/kernel/
H A Dptrace32.c188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
/openbmc/linux/virt/kvm/
H A Dasync_pf.c64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, &locked); in async_pf_execute()
/openbmc/linux/arch/ia64/kernel/
H A Derr_inject.c145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
/openbmc/linux/drivers/vfio/
H A Diova_bitmap.c192 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
/openbmc/linux/net/xdp/
H A Dxdp_umem.c96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
/openbmc/linux/drivers/infiniband/core/
H A Dumem.c209 gup_flags |= FOLL_WRITE; in ib_umem_get()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/kernel/
H A 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()
/openbmc/linux/arch/alpha/kernel/
H A Dptrace.c171 FOLL_FORCE | FOLL_WRITE); in write_int()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
/openbmc/linux/drivers/virt/acrn/
H A Dmm.c241 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()

1234