/linux-5.19.10/Documentation/core-api/ ! |
D | pin_user_pages.rst | 21 FOLL_PIN and FOLL_LONGTERM are flags that can be passed to the get_user_pages*() 23 interdependencies with FOLL_LONGTERM, so both are covered here. 30 FOLL_LONGTERM, on the other hand, *is* allowed to be set at the gup call sites. 32 all combinations of get*(), pin*(), FOLL_LONGTERM, and more. Also, the 47 FOLL_PIN is a prerequisite to FOLL_LONGTERM. Another way of saying that is, 48 FOLL_LONGTERM is a specific case, more restrictive case of FOLL_PIN. 120 FOLL_PIN, FOLL_GET, FOLL_LONGTERM: when to use which flags 145 FOLL_PIN | FOLL_LONGTERM 209 Another way of thinking about FOLL_GET, FOLL_PIN, and FOLL_LONGTERM 216 a "more severe" form of pinning. And finally, FOLL_LONGTERM is an even more
|
/linux-5.19.10/drivers/infiniband/hw/hfi1/ ! |
D | user_pages.c | 65 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
|
/linux-5.19.10/mm/ ! |
D | gup.c | 136 if (unlikely((flags & FOLL_LONGTERM) && in try_grab_folio() 1021 if ((gup_flags & FOLL_LONGTERM) && vma_is_fsdax(vma)) in check_vma_flags() 2006 if (!(gup_flags & FOLL_LONGTERM)) in __gup_longterm_locked() 2035 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) in is_valid_gup_flags() 2054 if (gup_flags & FOLL_LONGTERM) { in __get_user_pages_remote() 2218 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) in get_user_pages_unlocked() 2305 if (unlikely(flags & FOLL_LONGTERM)) in gup_pte_range() 2566 if (unlikely(flags & FOLL_LONGTERM)) in gup_huge_pmd() 2606 if (unlikely(flags & FOLL_LONGTERM)) in gup_huge_pud() 2812 if (gup_flags & FOLL_LONGTERM) { in __gup_longterm_unlocked() [all …]
|
D | gup_test.c | 154 gup->gup_flags | FOLL_LONGTERM, in __gup_test_ioctl()
|
/linux-5.19.10/drivers/infiniband/hw/qib/ ! |
D | qib_user_pages.c | 113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
|
D | qib_user_sdma.c | 673 ret = pin_user_pages_fast(addr, j, FOLL_LONGTERM, pages); in qib_user_sdma_pin_pages()
|
/linux-5.19.10/drivers/media/common/videobuf2/ ! |
D | frame_vector.c | 53 FOLL_FORCE | FOLL_WRITE | FOLL_LONGTERM, in get_vaddr_frames()
|
/linux-5.19.10/drivers/gpu/drm/vmwgfx/ ! |
D | vmwgfx_msg.c | 1087 nr_pinned_stat = pin_user_pages(arg->stat, num_pages_stat, FOLL_LONGTERM, pages_stat, NULL); in vmw_mksstat_add_ioctl() 1094 nr_pinned_info = pin_user_pages(arg->info, num_pages_info, FOLL_LONGTERM, pages_info, NULL); in vmw_mksstat_add_ioctl() 1101 nr_pinned_strs = pin_user_pages(arg->strs, num_pages_strs, FOLL_LONGTERM, pages_strs, NULL); in vmw_mksstat_add_ioctl()
|
/linux-5.19.10/net/xdp/ ! |
D | xdp_umem.c | 108 gup_flags | FOLL_LONGTERM, &umem->pgs[0], NULL); in xdp_umem_pin_pages()
|
/linux-5.19.10/drivers/infiniband/core/ ! |
D | umem.c | 222 gup_flags | FOLL_LONGTERM, page_list); in ib_umem_get()
|
/linux-5.19.10/drivers/virt/acrn/ ! |
D | mm.c | 201 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
|
D | hsm.c | 347 FOLL_WRITE | FOLL_LONGTERM, &page); in acrn_dev_ioctl()
|
D | ioreq.c | 614 FOLL_WRITE | FOLL_LONGTERM, &page); in acrn_ioreq_init()
|
/linux-5.19.10/arch/powerpc/mm/book3s64/ ! |
D | iommu_api.c | 107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
|
/linux-5.19.10/drivers/infiniband/sw/siw/ ! |
D | siw_mem.c | 427 foll_flags | FOLL_LONGTERM, in siw_umem_get()
|
/linux-5.19.10/drivers/infiniband/hw/usnic/ ! |
D | usnic_uiom.c | 146 gup_flags | FOLL_LONGTERM, in usnic_uiom_get_pages()
|
/linux-5.19.10/drivers/media/v4l2-core/ ! |
D | videobuf-dma-sg.c | 187 flags | FOLL_LONGTERM, dma->pages, NULL); in videobuf_dma_init_user_locked()
|
/linux-5.19.10/drivers/gpu/drm/etnaviv/ ! |
D | etnaviv_gem.c | 657 FOLL_WRITE | FOLL_FORCE | FOLL_LONGTERM, in etnaviv_gem_userptr_get_pages()
|
/linux-5.19.10/drivers/infiniband/hw/mthca/ ! |
D | mthca_memfree.c | 476 FOLL_WRITE | FOLL_LONGTERM, pages); in mthca_map_user_db()
|
/linux-5.19.10/net/rds/ ! |
D | rdma.c | 157 unsigned int gup_flags = FOLL_LONGTERM; in rds_pin_pages()
|
/linux-5.19.10/drivers/staging/media/atomisp/pci/hmm/ ! |
D | hmm_bo.c | 922 FOLL_LONGTERM | FOLL_WRITE, in alloc_user_pages()
|
/linux-5.19.10/drivers/vhost/ ! |
D | vdpa.c | 844 unsigned int gup_flags = FOLL_LONGTERM; in vhost_vdpa_pa_map()
|
/linux-5.19.10/drivers/gpu/drm/exynos/ ! |
D | exynos_drm_g2d.c | 480 FOLL_FORCE | FOLL_WRITE | FOLL_LONGTERM, in g2d_userptr_get_dma_addr()
|
/linux-5.19.10/include/linux/ ! |
D | mm.h | 2943 #define FOLL_LONGTERM 0x10000 /* mapping lifetime is indefinite: see below */ macro
|
/linux-5.19.10/drivers/misc/habanalabs/common/ ! |
D | memory.c | 2335 FOLL_FORCE | FOLL_WRITE | FOLL_LONGTERM, in get_user_memory()
|