/openbmc/linux/mm/ |
H A D | gup.c | 439 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 D | process_vm_access.c | 92 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
|
H A D | gup_test.c | 253 gup_flags |= FOLL_WRITE; in pin_longterm_test_start()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | gup_test.c | 21 #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 D | user_pages.c | 84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_user_pages.c | 113 FOLL_LONGTERM | FOLL_WRITE, in qib_get_user_pages()
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | frame_vector.c | 55 gup_flags |= FOLL_WRITE; in get_vaddr_frames()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | mte.c | 399 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 D | info.c | 195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
|
/openbmc/linux/drivers/misc/lkdtm/ |
H A D | perms.c | 97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace32.c | 172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
|
/openbmc/linux/arch/mips/math-emu/ |
H A D | dsemul.c | 274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | ptrace32.c | 188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
|
/openbmc/linux/virt/kvm/ |
H A D | async_pf.c | 64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, &locked); in async_pf_execute()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | err_inject.c | 145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
|
/openbmc/linux/drivers/vfio/ |
H A D | iova_bitmap.c | 192 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
|
/openbmc/linux/net/xdp/ |
H A D | xdp_umem.c | 96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | umem.c | 209 gup_flags |= FOLL_WRITE; in ib_umem_get()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pci.c | 253 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 D | ptrace_64.c | 183 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 D | dfl-afu-dma-region.c | 51 pinned = pin_user_pages_fast(region->user_addr, npages, FOLL_WRITE, in afu_dma_pin_pages()
|
/openbmc/linux/kernel/ |
H A D | ptrace.c | 665 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 D | ptrace.c | 171 FOLL_FORCE | FOLL_WRITE); in write_int()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | iommu_api.c | 107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
|
/openbmc/linux/drivers/virt/acrn/ |
H A D | mm.c | 241 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
|