gup_flags 207 drivers/infiniband/core/umem.c unsigned int gup_flags = FOLL_WRITE; gup_flags 272 drivers/infiniband/core/umem.c gup_flags |= FOLL_FORCE; gup_flags 281 drivers/infiniband/core/umem.c gup_flags | FOLL_LONGTERM, gup_flags 107 drivers/infiniband/hw/hfi1/user_pages.c unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); gup_flags 109 drivers/infiniband/hw/hfi1/user_pages.c ret = get_user_pages_fast(vaddr, npages, gup_flags, pages); gup_flags 101 drivers/infiniband/hw/usnic/usnic_uiom.c unsigned int gup_flags; gup_flags 138 drivers/infiniband/hw/usnic/usnic_uiom.c gup_flags = FOLL_WRITE; gup_flags 139 drivers/infiniband/hw/usnic/usnic_uiom.c gup_flags |= (writable) ? 0 : FOLL_FORCE; gup_flags 147 drivers/infiniband/hw/usnic/usnic_uiom.c gup_flags | FOLL_LONGTERM, gup_flags 200 fs/exec.c unsigned int gup_flags = FOLL_FORCE; gup_flags 211 fs/exec.c gup_flags |= FOLL_WRITE; gup_flags 217 fs/exec.c ret = get_user_pages_remote(current, bprm->mm, pos, 1, gup_flags, gup_flags 1526 include/linux/mm.h void *buf, int len, unsigned int gup_flags); gup_flags 1528 include/linux/mm.h void *buf, int len, unsigned int gup_flags); gup_flags 1530 include/linux/mm.h unsigned long addr, void *buf, int len, unsigned int gup_flags); gup_flags 1534 include/linux/mm.h unsigned int gup_flags, struct page **pages, gup_flags 1537 include/linux/mm.h unsigned int gup_flags, struct page **pages, gup_flags 1540 include/linux/mm.h unsigned int gup_flags, struct page **pages, int *locked); gup_flags 1542 include/linux/mm.h struct page **pages, unsigned int gup_flags); gup_flags 1545 include/linux/mm.h unsigned int gup_flags, struct page **pages); gup_flags 1565 include/linux/mm.h unsigned int gup_flags, struct frame_vector *vec); gup_flags 21 include/linux/ptrace.h void *buf, int len, unsigned int gup_flags); gup_flags 477 kernel/events/uprobes.c unsigned int gup_flags = FOLL_FORCE; gup_flags 484 kernel/events/uprobes.c gup_flags |= FOLL_SPLIT_PMD; gup_flags 486 kernel/events/uprobes.c ret = get_user_pages_remote(NULL, mm, vaddr, 1, gup_flags, gup_flags 43 kernel/ptrace.c void *buf, int len, unsigned int gup_flags) gup_flags 60 kernel/ptrace.c ret = __access_remote_vm(tsk, mm, addr, buf, len, gup_flags); gup_flags 35 mm/frame_vector.c unsigned int gup_flags, struct frame_vector *vec) gup_flags 76 mm/frame_vector.c gup_flags, (struct page **)(vec->ptrs), &locked); gup_flags 570 mm/gup.c unsigned int gup_flags, struct vm_area_struct **vma, gup_flags 581 mm/gup.c if (gup_flags & FOLL_WRITE) gup_flags 607 mm/gup.c if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(*pte))) gup_flags 685 mm/gup.c static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) gup_flags 688 mm/gup.c int write = (gup_flags & FOLL_WRITE); gup_flags 689 mm/gup.c int foreign = (gup_flags & FOLL_REMOTE); gup_flags 694 mm/gup.c if (gup_flags & FOLL_ANON && !vma_is_anonymous(vma)) gup_flags 699 mm/gup.c if (!(gup_flags & FOLL_FORCE)) gup_flags 714 mm/gup.c if (!(gup_flags & FOLL_FORCE)) gup_flags 790 mm/gup.c unsigned int gup_flags, struct page **pages, gup_flags 802 mm/gup.c VM_BUG_ON(!!pages != !!(gup_flags & FOLL_GET)); gup_flags 809 mm/gup.c if (!(gup_flags & FOLL_FORCE)) gup_flags 810 mm/gup.c gup_flags |= FOLL_NUMA; gup_flags 814 mm/gup.c unsigned int foll_flags = gup_flags; gup_flags 822 mm/gup.c gup_flags, &vma, gup_flags 830 mm/gup.c if (!vma || check_vma_flags(vma, gup_flags)) { gup_flags 1166 mm/gup.c unsigned int gup_flags, struct page **pages, gup_flags 1175 mm/gup.c if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) gup_flags 1180 mm/gup.c gup_flags | FOLL_TOUCH | FOLL_REMOTE); gup_flags 1208 mm/gup.c int gup_flags; gup_flags 1216 mm/gup.c gup_flags = FOLL_TOUCH | FOLL_POPULATE | FOLL_MLOCK; gup_flags 1218 mm/gup.c gup_flags &= ~FOLL_POPULATE; gup_flags 1225 mm/gup.c gup_flags |= FOLL_WRITE; gup_flags 1232 mm/gup.c gup_flags |= FOLL_FORCE; gup_flags 1238 mm/gup.c return __get_user_pages(current, mm, start, nr_pages, gup_flags, gup_flags 1454 mm/gup.c unsigned int gup_flags) gup_flags 1524 mm/gup.c gup_flags); gup_flags 1541 mm/gup.c unsigned int gup_flags) gup_flags 1557 mm/gup.c unsigned int gup_flags) gup_flags 1563 mm/gup.c if (gup_flags & FOLL_LONGTERM) { gup_flags 1578 mm/gup.c vmas_tmp, NULL, gup_flags); gup_flags 1580 mm/gup.c if (gup_flags & FOLL_LONGTERM) { gup_flags 1593 mm/gup.c vmas_tmp, gup_flags); gup_flags 1623 mm/gup.c unsigned int gup_flags, struct page **pages, gup_flags 1627 mm/gup.c pages, vmas, gup_flags | FOLL_TOUCH); gup_flags 1653 mm/gup.c unsigned int gup_flags, struct page **pages, gup_flags 1662 mm/gup.c if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) gup_flags 1667 mm/gup.c gup_flags | FOLL_TOUCH); gup_flags 1687 mm/gup.c struct page **pages, unsigned int gup_flags) gup_flags 1699 mm/gup.c if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) gup_flags 1704 mm/gup.c &locked, gup_flags | FOLL_TOUCH); gup_flags 2385 mm/gup.c unsigned int gup_flags, struct page **pages) gup_flags 2393 mm/gup.c if (gup_flags & FOLL_LONGTERM) { gup_flags 2397 mm/gup.c pages, NULL, gup_flags); gup_flags 2401 mm/gup.c pages, gup_flags); gup_flags 2424 mm/gup.c unsigned int gup_flags, struct page **pages) gup_flags 2429 mm/gup.c if (WARN_ON_ONCE(gup_flags & ~(FOLL_WRITE | FOLL_LONGTERM | gup_flags 2453 mm/gup.c gup_pgd_range(addr, end, gup_flags | FOLL_WRITE, pages, &nr); gup_flags 2464 mm/gup.c gup_flags, pages); gup_flags 4314 mm/memory.c unsigned long addr, void *buf, int len, unsigned int gup_flags) gup_flags 4318 mm/memory.c int write = gup_flags & FOLL_WRITE; gup_flags 4330 mm/memory.c gup_flags, &page, &vma, NULL); gup_flags 4389 mm/memory.c void *buf, int len, unsigned int gup_flags) gup_flags 4391 mm/memory.c return __access_remote_vm(NULL, mm, addr, buf, len, gup_flags); gup_flags 4400 mm/memory.c void *buf, int len, unsigned int gup_flags) gup_flags 4409 mm/memory.c ret = __access_remote_vm(tsk, mm, addr, buf, len, gup_flags); gup_flags 1708 mm/nommu.c unsigned long addr, void *buf, int len, unsigned int gup_flags) gup_flags 1711 mm/nommu.c int write = gup_flags & FOLL_WRITE; gup_flags 1752 mm/nommu.c void *buf, int len, unsigned int gup_flags) gup_flags 1754 mm/nommu.c return __access_remote_vm(NULL, mm, addr, buf, len, gup_flags); gup_flags 1762 mm/nommu.c unsigned int gup_flags) gup_flags 1773 mm/nommu.c len = __access_remote_vm(tsk, mm, addr, buf, len, gup_flags); gup_flags 284 net/xdp/xdp_umem.c unsigned int gup_flags = FOLL_WRITE; gup_flags 295 net/xdp/xdp_umem.c gup_flags | FOLL_LONGTERM, &umem->pgs[0], NULL);