/linux-6.6.21/mm/ |
D | gup.c | 527 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 …]
|
D | process_vm_access.c | 92 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
|
D | gup_test.c | 253 gup_flags |= FOLL_WRITE; in pin_longterm_test_start()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | gup_test.c | 20 #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/ |
D | user_pages.c | 84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
|
/linux-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 113 FOLL_LONGTERM | FOLL_WRITE, in qib_get_user_pages()
|
/linux-6.6.21/drivers/media/common/videobuf2/ |
D | frame_vector.c | 55 gup_flags |= FOLL_WRITE; in get_vaddr_frames()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | mte.c | 399 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/ |
D | info.c | 195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
|
/linux-6.6.21/drivers/misc/lkdtm/ |
D | perms.c | 97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
|
/linux-6.6.21/arch/mips/math-emu/ |
D | dsemul.c | 274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
|
/linux-6.6.21/arch/powerpc/kernel/ptrace/ |
D | ptrace32.c | 172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
|
/linux-6.6.21/arch/mips/kernel/ |
D | ptrace32.c | 188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
|
/linux-6.6.21/virt/kvm/ |
D | async_pf.c | 64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, &locked); in async_pf_execute()
|
/linux-6.6.21/drivers/vfio/ |
D | iova_bitmap.c | 192 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
|
/linux-6.6.21/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.6.21/net/xdp/ |
D | xdp_umem.c | 96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | umem.c | 209 gup_flags |= FOLL_WRITE; in ib_umem_get()
|
/linux-6.6.21/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.6.21/arch/sparc/kernel/ |
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()
|
/linux-6.6.21/kernel/ |
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()
|
/linux-6.6.21/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.6.21/arch/alpha/kernel/ |
D | ptrace.c | 171 FOLL_FORCE | FOLL_WRITE); in write_int()
|
/linux-6.6.21/drivers/virt/acrn/ |
D | mm.c | 201 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
|