/linux/mm/ |
H A D | gup.c | 628 if ((flags & FOLL_WRITE) && !pud_write(pud)) in follow_huge_pud() 649 touch_pud(vma, addr, pudp, flags & FOLL_WRITE); in follow_huge_pud() 722 if ((flags & FOLL_WRITE) && in follow_huge_pmd() 745 touch_pmd(vma, addr, pmd, flags & FOLL_WRITE); in follow_huge_pmd() 778 if (flags & FOLL_WRITE) in follow_pfn_pte() 861 if ((flags & FOLL_WRITE) && in follow_page_pte() 924 if ((flags & FOLL_WRITE) && in follow_page_pte() 1101 if (gup_flags & FOLL_WRITE) in get_gate_page() 1157 if (flags & FOLL_WRITE) in faultin_page() 1264 int write = (gup_flags & FOLL_WRITE); in check_vma_flags() [all …]
|
H A D | process_vm_access.c | 93 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()
|
/linux/tools/testing/selftests/mm/ |
H A D | gup_test.c | 21 #define FOLL_WRITE 0x01 /* check pte is writable */ 213 gup.gup_flags |= FOLL_WRITE; in main() 20 #define FOLL_WRITE global() macro
|
/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()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_user_pages.c | 113 FOLL_LONGTERM | FOLL_WRITE, in qib_get_user_pages()
|
/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()
|
/linux/drivers/media/common/videobuf2/ |
H A D | frame_vector.c | 55 gup_flags |= FOLL_WRITE; in get_vaddr_frames()
|
/linux/net/rds/ |
H A D | info.c | 195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt()
|
/linux/drivers/misc/lkdtm/ |
H A D | perms.c | 97 EXEC_SIZE, FOLL_WRITE); in execute_user_location()
|
/linux/arch/mips/math-emu/ |
H A D | dsemul.c | 274 FOLL_FORCE | FOLL_WRITE); in mips_dsemul()
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace32.c | 172 FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) in compat_arch_ptrace()
|
/linux/virt/kvm/ |
H A D | async_pf.c | 67 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, &locked); in async_pf_execute()
|
/linux/arch/mips/kernel/ |
H A D | ptrace32.c | 188 FOLL_FORCE | FOLL_WRITE) == sizeof(data)) in compat_arch_ptrace()
|
/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()
|
/linux/drivers/infiniband/core/ |
H A D | umem.c | 209 gup_flags |= FOLL_WRITE; in ib_umem_get()
|
/linux/net/xdp/ |
H A D | xdp_umem.c | 96 unsigned int gup_flags = FOLL_WRITE; in xdp_umem_pin_pages()
|
/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()
|
/linux/drivers/iommu/iommufd/ |
H A D | iova_bitmap.c | 197 FOLL_WRITE, mapped->pages); in iova_bitmap_get()
|
/linux/kernel/ |
H A D | ptrace.c | 645 FOLL_FORCE | FOLL_WRITE); in ptrace_writedata() 1313 FOLL_FORCE | FOLL_WRITE); in generic_ptrace_pokedata() 1341 FOLL_FORCE | FOLL_WRITE); in compat_ptrace_request()
|
/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()
|
/linux/io_uring/ |
H A D | memmap.c | 148 ret = pin_user_pages_fast(uaddr, nr_pages, FOLL_WRITE | FOLL_LONGTERM, in io_pin_pages()
|
/linux/arch/alpha/kernel/ |
H A D | ptrace.c | 171 FOLL_FORCE | FOLL_WRITE); in write_int()
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | iommu_api.c | 107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
|
/linux/drivers/virt/acrn/ |
H A D | mm.c | 243 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
|