/linux-6.1.9/tools/testing/selftests/vm/ |
D | gup_test.c | 21 #define FOLL_WRITE 0x01 /* check pte is writable */ macro 210 gup.gup_flags |= FOLL_WRITE; in main()
|
/linux-6.1.9/mm/ |
D | gup.c | 474 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 …]
|
D | process_vm_access.c | 92 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 65 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
|
/linux-6.1.9/drivers/media/common/videobuf2/ |
D | frame_vector.c | 49 FOLL_FORCE | FOLL_WRITE | FOLL_LONGTERM, in get_vaddr_frames()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | mte.c | 427 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/ |
D | info.c | 195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
|
/linux-6.1.9/drivers/misc/lkdtm/ |
D | perms.c | 97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
|
/linux-6.1.9/arch/s390/kernel/ |
D | uv.c | 300 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/ |
D | ptrace32.c | 172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
|
/linux-6.1.9/arch/mips/math-emu/ |
D | dsemul.c | 274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
|
/linux-6.1.9/drivers/vfio/ |
D | iova_bitmap.c | 190 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
|
/linux-6.1.9/virt/kvm/ |
D | async_pf.c | 64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, NULL, in async_pf_execute()
|
/linux-6.1.9/arch/mips/kernel/ |
D | ptrace32.c | 188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | umem.c | 159 unsigned int gup_flags = FOLL_WRITE; in ib_umem_get()
|
/linux-6.1.9/net/xdp/ |
D | xdp_umem.c | 96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | err_inject.c | 145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
|
/linux-6.1.9/arch/s390/kvm/ |
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()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | ptrace_64.c | 183 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/ |
D | ptrace.c | 664 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/ |
D | dfl-afu-dma-region.c | 51 pinned = pin_user_pages_fast(region->user_addr, npages, FOLL_WRITE, in afu_dma_pin_pages()
|
/linux-6.1.9/arch/alpha/kernel/ |
D | ptrace.c | 169 FOLL_FORCE | FOLL_WRITE); in write_int()
|
/linux-6.1.9/drivers/virt/acrn/ |
D | mm.c | 201 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
|