Searched refs:FOLL_LONGTERM (Results 1 – 19 of 19) sorted by relevance
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.10/mm/ |
D | gup.c | 126 if (unlikely(flags & FOLL_LONGTERM) && in try_grab_compound_head() 1718 if (gup_flags & FOLL_LONGTERM) { in __gup_longterm_locked() 1735 if (gup_flags & FOLL_LONGTERM) { in __gup_longterm_locked() 1785 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) in is_valid_gup_flags() 1804 if (gup_flags & FOLL_LONGTERM) { in __get_user_pages_remote() 1982 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) in get_user_pages_locked() 2025 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM)) in get_user_pages_unlocked() 2186 if (unlikely(flags & FOLL_LONGTERM)) in gup_pte_range() 2437 if (unlikely(flags & FOLL_LONGTERM)) in gup_huge_pmd() 2471 if (unlikely(flags & FOLL_LONGTERM)) in gup_huge_pud() [all …]
|
D | gup_benchmark.c | 126 gup->flags | FOLL_LONGTERM, in __gup_benchmark_ioctl()
|
/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/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()
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xdp_umem.c | 109 gup_flags | FOLL_LONGTERM, &umem->pgs[0], NULL); in xdp_umem_pin_pages()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | umem.c | 217 gup_flags | FOLL_LONGTERM, page_list); in ib_umem_get()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_mem.c | 427 foll_flags | FOLL_LONGTERM, in siw_umem_get()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 147 gup_flags | FOLL_LONGTERM, in usnic_uiom_get_pages()
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 187 flags | FOLL_LONGTERM, dma->pages, NULL); in videobuf_dma_init_user_locked()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 476 FOLL_WRITE | FOLL_LONGTERM, pages); in mthca_map_user_db()
|
/kernel/linux/linux-5.10/net/rds/ |
D | rdma.c | 157 unsigned int gup_flags = FOLL_LONGTERM; in rds_pin_pages()
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | vdpa.c | 622 unsigned int gup_flags = FOLL_LONGTERM; in vhost_vdpa_process_iotlb_update()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 922 FOLL_LONGTERM | FOLL_WRITE, in alloc_user_pages()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm.h | 2863 #define FOLL_LONGTERM 0x10000 /* mapping lifetime is indefinite: see below */ macro
|
/kernel/linux/linux-5.10/drivers/vfio/ |
D | vfio_iommu_type1.c | 515 ret = pin_user_pages_remote(mm, vaddr, npages, flags | FOLL_LONGTERM, in vaddr_get_pfns()
|
/kernel/linux/linux-5.10/io_uring/ |
D | io_uring.c | 9076 pret = pin_user_pages(ubuf, nr_pages, FOLL_WRITE | FOLL_LONGTERM, in io_sqe_buffer_register()
|