Home
last modified time | relevance | path

Searched refs:FOLL_PIN (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/Documentation/core-api/
H A Dpin_user_pages.rst18 Basic description of FOLL_PIN
22 ("gup") family of functions. FOLL_PIN has significant interactions and
44 The FOLL_PIN implementation is nearly the same as FOLL_GET, except that FOLL_PIN
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
138 FOLL_PIN
141 the pin_user_pages*() routines that set FOLL_PIN.
150 FOLL_PIN | FOLL_LONGTERM
187 FOLL_PIN, for patterns like this:
189 Correct (uses FOLL_PIN calls):
[all …]
/linux-6.15/mm/
H A Dgup.c108 if (flags & FOLL_PIN) { in gup_put_folio()
155 else if (flags & FOLL_PIN) { in try_grab_folio()
849 (FOLL_PIN | FOLL_GET))) in follow_page_pte()
921 if (flags & FOLL_PIN) { in follow_page_pte()
1257 (FOLL_PIN | FOLL_LONGTERM)) in writable_file_mapping_allowed()
1740 if (flags & FOLL_PIN) in __get_user_pages_locked()
2573 (FOLL_PIN | FOLL_GET))) in is_valid_gup_args()
2957 if (flags & FOLL_PIN) { in gup_fast_pte_range()
3348 if (gup_flags & FOLL_PIN) { in gup_fast()
3372 if (gup_flags & FOLL_PIN) { in gup_fast()
[all …]
H A Dinternal.h1406 FOLL_PIN = 1 << 19, enumerator
1415 #define INTERNAL_GUP_FLAGS (FOLL_TOUCH | FOLL_TRIED | FOLL_REMOTE | FOLL_PIN | \
1447 if ((flags & (FOLL_WRITE | FOLL_PIN)) != FOLL_PIN) in gup_must_unshare()
H A Dhuge_memory.c1674 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pmd()
/linux-6.15/Documentation/kernel-hacking/
H A Dfalse-sharing.rst171 - Commit 292648ac5cf1 ("mm: gup: allow FOLL_PIN to scale in SMP")