Home
last modified time | relevance | path

Searched refs:FOLL_LONGTERM (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/Documentation/core-api/
Dpin_user_pages.rst21 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/
Dgup.c126 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 …]
Dgup_benchmark.c126 gup->flags | FOLL_LONGTERM, in __gup_benchmark_ioctl()
/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/drivers/infiniband/hw/qib/
Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE | FOLL_FORCE, in qib_get_user_pages()
Dqib_user_sdma.c673 ret = pin_user_pages_fast(addr, j, FOLL_LONGTERM, pages); in qib_user_sdma_pin_pages()
/kernel/linux/linux-5.10/net/xdp/
Dxdp_umem.c109 gup_flags | FOLL_LONGTERM, &umem->pgs[0], NULL); in xdp_umem_pin_pages()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem.c217 gup_flags | FOLL_LONGTERM, page_list); in ib_umem_get()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_mem.c427 foll_flags | FOLL_LONGTERM, in siw_umem_get()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_uiom.c147 gup_flags | FOLL_LONGTERM, in usnic_uiom_get_pages()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c187 flags | FOLL_LONGTERM, dma->pages, NULL); in videobuf_dma_init_user_locked()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_memfree.c476 FOLL_WRITE | FOLL_LONGTERM, pages); in mthca_map_user_db()
/kernel/linux/linux-5.10/net/rds/
Drdma.c157 unsigned int gup_flags = FOLL_LONGTERM; in rds_pin_pages()
/kernel/linux/linux-5.10/drivers/vhost/
Dvdpa.c622 unsigned int gup_flags = FOLL_LONGTERM; in vhost_vdpa_process_iotlb_update()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c922 FOLL_LONGTERM | FOLL_WRITE, in alloc_user_pages()
/kernel/linux/linux-5.10/include/linux/
Dmm.h2863 #define FOLL_LONGTERM 0x10000 /* mapping lifetime is indefinite: see below */ macro
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio_iommu_type1.c515 ret = pin_user_pages_remote(mm, vaddr, npages, flags | FOLL_LONGTERM, in vaddr_get_pfns()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c9076 pret = pin_user_pages(ubuf, nr_pages, FOLL_WRITE | FOLL_LONGTERM, in io_sqe_buffer_register()