Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dgup_benchmark.c26 #define FOLL_WRITE 0x01 /* check pte is writable */ macro
105 gup.flags |= FOLL_WRITE; in main()
/kernel/linux/linux-5.10/mm/
Dgup.c370 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 …]
Dgup_benchmark.c105 gup->flags &= FOLL_WRITE; in __gup_benchmark_ioctl()
Dprocess_vm_access.c93 flags |= FOLL_WRITE; in process_vm_rw_single_vec()
Dhuge_memory.c957 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/
Duser_pages.c107 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dmte.c220 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/
Dvideobuf2-memops.c43 unsigned int flags = FOLL_FORCE | FOLL_WRITE; in vb2_create_framevec()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dcallchain_64.c34 if (get_user_page_fast_only(addr, FOLL_WRITE, &page)) { in read_user_stack_slow()
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dperms.c74 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
/kernel/linux/linux-5.10/net/rds/
Dinfo.c195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
/kernel/linux/linux-5.10/arch/mips/math-emu/
Ddsemul.c277 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
/kernel/linux/linux-5.10/virt/kvm/
Dasync_pf.c64 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, NULL, in async_pf_execute()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dptrace32.c188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace32.c172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Derr_inject.c145 ret = get_user_pages_fast(virt_addr, 1, FOLL_WRITE, NULL); in store_virtual_to_phys()
/kernel/linux/linux-5.10/net/xdp/
Dxdp_umem.c98 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem.c154 unsigned int gup_flags = FOLL_WRITE; in ib_umem_get()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c462 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/
Dptrace_64.c184 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/
Dptrace.c669 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/
Ddfl-afu-dma-region.c51 pinned = pin_user_pages_fast(region->user_addr, npages, FOLL_WRITE, in afu_dma_pin_pages()
/kernel/linux/linux-5.10/arch/s390/kernel/
Duv.c250 page = follow_page(vma, uaddr, FOLL_WRITE); in gmap_make_secure()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dptrace.c170 FOLL_FORCE | FOLL_WRITE); in write_int()

1234