Searched refs:FOLL_LONGTERM (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/drivers/infiniband/hw/hfi1/
H A Duser_pages.c84 unsigned int gup_flags = FOLL_LONGTERM | (writable ? FOLL_WRITE : 0);
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_user_pages.c113 FOLL_LONGTERM | FOLL_WRITE,
H A Dqib_user_sdma.c668 ret = pin_user_pages_fast(addr, j, FOLL_LONGTERM, pages);
/linux-master/drivers/media/common/videobuf2/
H A Dframe_vector.c44 unsigned int gup_flags = FOLL_LONGTERM;
/linux-master/mm/
H A Dgup_test.c154 gup->gup_flags | FOLL_LONGTERM,
225 int gup_flags = FOLL_LONGTERM;
H A Dgup.c153 * Can't do FOLL_LONGTERM + FOLL_PIN gup fast path if not in a
157 if (unlikely((flags & FOLL_LONGTERM) &&
1021 if ((gup_flags & (FOLL_PIN | FOLL_LONGTERM)) !=
1022 (FOLL_PIN | FOLL_LONGTERM))
1045 if ((gup_flags & FOLL_LONGTERM) && vma_is_fsdax(vma))
2210 * allows us to process the FOLL_LONGTERM flag.
2222 if (!(gup_flags & FOLL_LONGTERM))
2236 /* FOLL_LONGTERM implies FOLL_PIN */
2277 if (WARN_ON_ONCE(!(gup_flags & FOLL_PIN) && (gup_flags & FOLL_LONGTERM)))
2285 if (WARN_ON_ONCE((gup_flags & FOLL_LONGTERM)
[all...]
H A Dinternal.h1177 if (!(flags & FOLL_LONGTERM))
/linux-master/drivers/infiniband/core/
H A Dumem.c154 unsigned int gup_flags = FOLL_LONGTERM;
/linux-master/net/xdp/
H A Dxdp_umem.c106 gup_flags | FOLL_LONGTERM, &umem->pgs[0]);
/linux-master/arch/s390/kvm/
H A Dpci.c253 npages = pin_user_pages_fast(hva, 1, FOLL_WRITE | FOLL_LONGTERM, pages);
268 npages = pin_user_pages_fast(hva, 1, FOLL_WRITE | FOLL_LONGTERM,
/linux-master/drivers/virt/acrn/
H A Dmm.c201 nr_pages, FOLL_WRITE | FOLL_LONGTERM,
H A Dhsm.c347 FOLL_WRITE | FOLL_LONGTERM, &page);
H A Dioreq.c610 FOLL_WRITE | FOLL_LONGTERM, &page);
/linux-master/arch/powerpc/mm/book3s64/
H A Diommu_api.c107 FOLL_WRITE | FOLL_LONGTERM,
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c1074 nr_pinned_stat = pin_user_pages_fast(arg->stat, num_pages_stat, FOLL_LONGTERM, pages_stat);
1081 nr_pinned_info = pin_user_pages_fast(arg->info, num_pages_info, FOLL_LONGTERM, pages_info);
1088 nr_pinned_strs = pin_user_pages_fast(arg->strs, num_pages_strs, FOLL_LONGTERM, pages_strs);
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c88 unsigned int gup_flags = FOLL_LONGTERM;
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.c644 unsigned int gup_flags = FOLL_LONGTERM;
/linux-master/include/linux/
H A Dmm_types.h1374 * FOLL_PIN and FOLL_LONGTERM may be used in various combinations with each
1385 * FOLL_LONGTERM should be avoided on those pages.
1389 * FOLL_LONGTERM is specified.
1441 * FOLL_LONGTERM indicates that the page will be held for an indefinite
1445 FOLL_LONGTERM = 1 << 8, enumerator in enum:__anon1185
/linux-master/tools/testing/selftests/mm/
H A Dhmm-tests.c65 #ifndef FOLL_LONGTERM
66 #define FOLL_LONGTERM 0x100 /* mapping lifetime is indefinite */ macro
1950 PIN_FAST_BENCHMARK, 1, self->page_size, FOLL_LONGTERM), 0); local
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c476 FOLL_WRITE | FOLL_LONGTERM, pages);
/linux-master/io_uring/
H A Drsrc.c891 ret = pin_user_pages(ubuf, nr_pages, FOLL_WRITE | FOLL_LONGTERM, pages);
/linux-master/net/rds/
H A Drdma.c157 unsigned int gup_flags = FOLL_LONGTERM;
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c480 FOLL_WRITE | FOLL_LONGTERM,
/linux-master/drivers/iommu/iommufd/
H A Dpages.c716 user->gup_flags = FOLL_LONGTERM;
/linux-master/drivers/vhost/
H A Dvdpa.c1093 unsigned int gup_flags = FOLL_LONGTERM;

Completed in 229 milliseconds

12