Home
last modified time | relevance | path

Searched refs:FOLL_GET (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/Documentation/core-api/
H A Dpin_user_pages.rst39 FOLL_PIN and FOLL_GET are mutually exclusive for a given gup call. However,
41 FOLL_PIN and FOLL_GET. It's just the call site that needs to choose one or the
44 The FOLL_PIN implementation is nearly the same as FOLL_GET, except that FOLL_PIN
77 For these get_user_pages*() functions, FOLL_GET might not even be specified.
78 Behavior is a little more complex than above. If FOLL_GET was *not* specified,
80 sets FOLL_GET for you, and proceeds to pin pages by incrementing the refcount
85 get_user_pages FOLL_GET is sometimes set internally by this function.
86 get_user_pages_fast FOLL_GET is sometimes set internally by this function.
87 get_user_pages_remote FOLL_GET is sometimes set internally by this function.
125 FOLL_PIN, FOLL_GET, FOLL_LONGTERM: when to use which flags
[all …]
/openbmc/linux/mm/
H A Dgup.c148 if (flags & FOLL_GET) in try_grab_folio()
502 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_page_pte()
503 (FOLL_PIN | FOLL_GET))) in follow_page_pte()
527 if (!page && pte_devmap(pte) && (flags & (FOLL_GET | FOLL_PIN))) { in follow_page_pte()
1110 VM_BUG_ON(!!pages != !!(gup_flags & (FOLL_GET | FOLL_PIN))); in __get_user_pages()
1427 flags |= FOLL_GET; in __get_user_pages_locked()
1940 FOLL_FORCE | FOLL_DUMP | FOLL_GET); in get_dump_page()
2162 if (WARN_ON_ONCE((gup_flags & (FOLL_PIN | FOLL_GET)) == in is_valid_gup_args()
2163 (FOLL_PIN | FOLL_GET))) in is_valid_gup_args()
2171 if (WARN_ON_ONCE((gup_flags & (FOLL_GET | FOLL_PIN)) && !pages)) in is_valid_gup_args()
[all …]
H A Dhuge_memory.c1040 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pmd()
1197 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pud()
3034 page = follow_page(vma, addr, FOLL_GET | FOLL_DUMP); in split_huge_pages_pid()
H A Dmigrate.c2085 page = follow_page(vma, addr, FOLL_GET | FOLL_DUMP); in add_page_for_migration()
2293 page = follow_page(vma, addr, FOLL_GET | FOLL_DUMP); in do_pages_stat_array()
H A Dksm.c598 page = follow_page(vma, addr, FOLL_GET); in get_mergeable_page()
2395 *page = follow_page(vma, ksm_scan.address, FOLL_GET); in scan_get_next_rmap_item()
H A Drmap.c2336 FOLL_GET | FOLL_WRITE | FOLL_SPLIT_PMD, in make_device_exclusive_range()
/openbmc/linux/arch/s390/kernel/
H A Duv.c418 page = follow_page(vma, uaddr, FOLL_WRITE | FOLL_GET); in gmap_destroy_page()
/openbmc/linux/arch/s390/mm/
H A Dfault.c643 page = follow_page(vma, addr, FOLL_WRITE | FOLL_GET); in do_secure_storage_access()
/openbmc/linux/include/linux/
H A Dmm_types.h1394 FOLL_GET = 1 << 1, enumerator
/openbmc/linux/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c967 ne_mem_region->pages + i, FOLL_GET); in ne_set_user_memory_region_ioctl()