Searched refs:FOLL_GET (Results 1 – 5 of 5) sorted by relevance
| /linux/Documentation/core-api/ |
| H A D | pin_user_pages.rst | 39 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 …]
|
| /linux/mm/ |
| H A D | gup.c | 126 * FOLL_PIN or FOLL_GET behavior, when incrementing the folio's refcount. 128 * Either FOLL_PIN or FOLL_GET (or neither) may be set, but not both at the same 132 * nor FOLL_GET was set, nothing is done). A negative error code for failure: 134 * -ENOMEM FOLL_GET or FOLL_PIN was set, but the folio could not 149 if (flags & FOLL_GET) in try_grab_folio() 495 * FOLL_PIN or FOLL_GET behavior, when incrementing the folio's refcount. 497 * Either FOLL_PIN or FOLL_GET (or neither) must be set, but not both at the 501 * FOLL_GET: folio's refcount will be incremented by @refs. 510 * incremented) for success, or NULL upon failure. If neither FOLL_GET 525 if (WARN_ON_ONCE((flags & (FOLL_GET | FOLL_PI in try_grab_folio_fast() [all...] |
| H A D | rmap.c | 2827 FOLL_GET | FOLL_WRITE | FOLL_SPLIT_PMD, in make_device_exclusive()
|
| /linux/include/linux/ |
| H A D | mm_types.h | 1813 FOLL_GET = 1 << 1, enumerator
|
| /linux/drivers/virt/nitro_enclaves/ |
| H A D | ne_misc_dev.c | 964 ne_mem_region->pages + i, FOLL_GET); in ne_set_user_memory_region_ioctl()
|