Home
last modified time | relevance | path

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

12

/linux/Documentation/core-api/
H A 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.
125 FOLL_PIN, FOLL_GET, FOLL_LONGTERM: when to use which flags
150 FOLL_PIN | FOLL_LONGTERM
216 Another way of thinking about FOLL_GET, FOLL_PIN, and FOLL_LONGTERM
223 a "more severe" form of pinning. And finally, FOLL_LONGTERM is an even more
/linux/drivers/infiniband/hw/hfi1/
H A Duser_pages.c84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0); in hfi1_acquire_user_pages()
/linux/drivers/media/common/videobuf2/
H A Dframe_vector.c44 unsigned int gup_flags = FOLL_LONGTERM; in get_vaddr_frames()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c1021 nr_pinned_stat = pin_user_pages_fast(arg->stat, num_pages_stat, FOLL_LONGTERM, pages_stat); in vmw_mksstat_add_ioctl()
1028 nr_pinned_info = pin_user_pages_fast(arg->info, num_pages_info, FOLL_LONGTERM, pages_info); in vmw_mksstat_add_ioctl()
1035 nr_pinned_strs = pin_user_pages_fast(arg->strs, num_pages_strs, FOLL_LONGTERM, pages_strs); in vmw_mksstat_add_ioctl()
/linux/drivers/accel/ivpu/
H A Divpu_gem_userptr.c73 unsigned int gup_flags = FOLL_LONGTERM; in ivpu_create_userptr_dmabuf()
/linux/net/xdp/
H A Dxdp_umem.c107 gup_flags | FOLL_LONGTERM, &umem->pgs[0]); in xdp_umem_pin_pages()
/linux/drivers/infiniband/core/
H A Dumem.c175 unsigned int gup_flags = FOLL_LONGTERM; in ib_umem_get()
/linux/arch/s390/kvm/
H A Dpci.c251 npages = pin_user_pages_fast(hva, 1, FOLL_WRITE | FOLL_LONGTERM, pages); in kvm_s390_pci_aif_enable()
266 npages = pin_user_pages_fast(hva, 1, FOLL_WRITE | FOLL_LONGTERM, in kvm_s390_pci_aif_enable()
/linux/drivers/accel/amdxdna/
H A Damdxdna_ubuf.c197 FOLL_WRITE | FOLL_LONGTERM, in amdxdna_get_ubuf()
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM, in mm_iommu_do_alloc()
/linux/drivers/virt/acrn/
H A Dmm.c243 nr_pages, FOLL_WRITE | FOLL_LONGTERM, in acrn_vm_ram_map()
H A Dhsm.c347 FOLL_WRITE | FOLL_LONGTERM, &page); in acrn_dev_ioctl()
H A Dioreq.c610 FOLL_WRITE | FOLL_LONGTERM, &page); in acrn_ioreq_init()
/linux/io_uring/
H A Dmemmap.c63 ret = pin_user_pages_fast(uaddr, nr_pages, FOLL_WRITE | FOLL_LONGTERM, in io_pin_pages()
/linux/drivers/hv/
H A Dmshv_regions.c315 FOLL_WRITE | FOLL_LONGTERM, in mshv_region_pin()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c88 unsigned int gup_flags = FOLL_LONGTERM; in usnic_uiom_get_pages()
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.c671 unsigned int gup_flags = FOLL_LONGTERM; in etnaviv_gem_userptr_get_pages()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c476 FOLL_WRITE | FOLL_LONGTERM, pages); in mthca_map_user_db()
/linux/net/rds/
H A Drdma.c157 unsigned int gup_flags = FOLL_LONGTERM; in rds_pin_pages()
/linux/tools/testing/selftests/mm/
H A Dhmm-tests.c69 #ifndef FOLL_LONGTERM
70 #define FOLL_LONGTERM 0x100 /* mapping lifetime is indefinite */ macro
1985 PIN_FAST_BENCHMARK, 1, self->page_size, FOLL_LONGTERM), 0); in TEST_F()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c480 FOLL_WRITE | FOLL_LONGTERM, in g2d_userptr_get_dma_addr()
/linux/drivers/vhost/
H A Dvdpa.c1102 unsigned int gup_flags = FOLL_LONGTERM; in vhost_vdpa_pa_map()
/linux/arch/arm64/kvm/
H A Dmmu.c1678 unsigned int flags = FOLL_HWPOISON | FOLL_LONGTERM | FOLL_WRITE; in pkvm_mem_abort()
/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c1245 pinned = pin_user_pages(uaddr, npages, FOLL_LONGTERM | FOLL_WRITE, in vduse_dev_reg_umem()
/linux/drivers/accel/habanalabs/common/
H A Dmemory.c2330 rc = pin_user_pages_fast(start, npages, FOLL_WRITE | FOLL_LONGTERM, in get_user_memory()

12