/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | gup_benchmark.c | 26 #define FOLL_WRITE 0x01 /* check pte is writable */ macro 105 gup.flags |= FOLL_WRITE; in main()
|
/kernel/linux/linux-5.10/mm/ |
D | gup.c | 370 if (flags & FOLL_WRITE) in follow_pfn_pte() 446 if ((flags & FOLL_WRITE) && !can_follow_write_pte(pte, flags)) { in follow_page_pte() 510 if ((flags & FOLL_WRITE) && in follow_page_pte() 767 page = follow_huge_addr(mm, address, flags & FOLL_WRITE); in follow_page_mask() 820 if (gup_flags & FOLL_WRITE) in get_gate_page() 875 if (*flags & FOLL_WRITE) in faultin_page() 923 int write = (gup_flags & FOLL_WRITE); in check_vma_flags() 1423 gup_flags |= FOLL_WRITE; in populate_vma_page_range() 1512 vm_flags = (foll_flags & FOLL_WRITE) ? in __get_user_pages_locked() 2182 if (!pte_access_permitted(pte, flags & FOLL_WRITE)) in gup_pte_range() [all …]
|
D | gup_benchmark.c | 105 gup->flags &= FOLL_WRITE; in __gup_benchmark_ioctl()
|
D | process_vm_access.c | 93 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
|
D | huge_memory.c | 957 if (flags & FOLL_WRITE) in touch_pmd() 960 pmd, _pmd, flags & FOLL_WRITE)) in touch_pmd() 984 if (flags & FOLL_WRITE && !pmd_write(*pmd)) in follow_devmap_pmd() 1129 if (flags & FOLL_WRITE) in touch_pud() 1132 pud, _pud, flags & FOLL_WRITE)) in touch_pud() 1145 if (flags & FOLL_WRITE && !pud_write(*pud)) in follow_devmap_pud() 1350 if (flags & FOLL_WRITE && !can_follow_write_pmd(*pmd, flags)) in follow_trans_huge_pmd()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 107 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | mte.c | 220 int write = gup_flags & FOLL_WRITE; in __access_remote_tags() 331 gup_flags |= FOLL_WRITE; in mte_ptrace_copy_tags()
|
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
D | videobuf2-memops.c | 43 unsigned int flags = FOLL_FORCE | FOLL_WRITE; in vb2_create_framevec()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
D | callchain_64.c | 34 if (get_user_page_fast_only(addr, FOLL_WRITE, &page)) { in read_user_stack_slow()
|
/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
D | perms.c | 74 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
|
/kernel/linux/linux-5.10/net/rds/ |
D | info.c | 195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
|
/kernel/linux/linux-5.10/arch/mips/math-emu/ |
D | dsemul.c | 277 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | async_pf.c | 64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, NULL, in async_pf_execute()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | ptrace32.c | 188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
D | ptrace32.c | 172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | err_inject.c | 145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xdp_umem.c | 98 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | umem.c | 154 unsigned int gup_flags = FOLL_WRITE; in ib_umem_get()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_userptr.c | 462 flags |= FOLL_WRITE; in __i915_gem_userptr_get_pages_worker() 602 gup_flags |= FOLL_WRITE; in i915_gem_userptr_get_pages()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | ptrace_64.c | 184 FOLL_FORCE | FOLL_WRITE); in set_to_target() 596 FOLL_FORCE | FOLL_WRITE) in genregs32_set() 626 FOLL_FORCE | FOLL_WRITE) in genregs32_set()
|
/kernel/linux/linux-5.10/kernel/ |
D | ptrace.c | 669 FOLL_FORCE | FOLL_WRITE); in ptrace_writedata() 1331 FOLL_FORCE | FOLL_WRITE); in generic_ptrace_pokedata() 1359 FOLL_FORCE | FOLL_WRITE); in compat_ptrace_request()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | uv.c | 250 page = follow_page(vma, uaddr, FOLL_WRITE); in gmap_make_secure()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | ptrace.c | 170 FOLL_FORCE | FOLL_WRITE); in write_int()
|