Home
last modified time | relevance | path

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

/linux/Documentation/core-api/
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/mm/
A Dgup.c104 if (flags & FOLL_PIN) { in gup_put_folio()
152 else if (flags & FOLL_PIN) { in try_grab_folio()
843 (FOLL_PIN | FOLL_GET))) in follow_page_pte()
915 if (flags & FOLL_PIN) { in follow_page_pte()
1251 (FOLL_PIN | FOLL_LONGTERM)) in writable_file_mapping_allowed()
1734 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()
3353 if (gup_flags & FOLL_PIN) { in gup_fast()
3378 if (gup_flags & FOLL_PIN) { in gup_fast()
[all …]
A Dinternal.h1287 FOLL_PIN = 1 << 19, enumerator
1296 #define INTERNAL_GUP_FLAGS (FOLL_TOUCH | FOLL_TRIED | FOLL_REMOTE | FOLL_PIN | \
1328 if ((flags & (FOLL_WRITE | FOLL_PIN)) != FOLL_PIN) in gup_must_unshare()
A Dhuge_memory.c1551 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pmd()
/linux/Documentation/kernel-hacking/
A Dfalse-sharing.rst171 - Commit 292648ac5cf1 ("mm: gup: allow FOLL_PIN to scale in SMP")

Completed in 25 milliseconds