Searched refs:FOLL_PIN (Results 1 – 3 of 3) sorted by relevance
| /linux/Documentation/core-api/ |
| H A D | pin_user_pages.rst | 18 Basic description of FOLL_PIN 21 FOLL_PIN and FOLL_LONGTERM are flags that can be passed to the get_user_pages*() 22 ("gup") family of functions. FOLL_PIN has significant interactions and 25 FOLL_PIN is internal to gup, meaning that it should not appear at the gup call 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 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. 53 For these pin_user_pages*() functions, FOLL_PIN is OR'd in with whatever gup [all …]
|
| /linux/mm/ |
| H A D | gup.c | 104 if (flags & FOLL_PIN) { in gup_put_folio() 151 else if (flags & FOLL_PIN) { in try_grab_folio() 188 gup_put_folio(page_folio(page), 1, FOLL_PIN); in unpin_user_page() 201 gup_put_folio(folio, 1, FOLL_PIN); in unpin_folio() 324 gup_put_folio(folio, nr, FOLL_PIN); in unpin_user_pages_dirty_lock() 370 gup_put_folio(folio, nr, FOLL_PIN); in unpin_user_page_range_dirty_lock() 388 gup_put_folio(folio, nr, FOLL_PIN); in gup_fast_unpin_user_pages() 422 gup_put_folio(folio, nr, FOLL_PIN); in unpin_user_pages() 436 gup_put_folio(folio, npages, FOLL_PIN); in unpin_user_folio() 468 gup_put_folio(folios[i], j - i, FOLL_PIN); in unpin_folios() [all …]
|
| H A D | internal.h | 1323 FOLL_PIN = 1 << 19, enumerator 1332 #define INTERNAL_GUP_FLAGS (FOLL_TOUCH | FOLL_TRIED | FOLL_REMOTE | FOLL_PIN | \ 1364 if ((flags & (FOLL_WRITE | FOLL_PIN)) != FOLL_PIN) in gup_must_unshare()
|