Searched refs:FOLL_PIN (Results 1 - 3 of 3) sorted by last modified time

/linux-master/mm/
H A Dinternal.h1212 FOLL_PIN = 1 << 19,
1221 #define INTERNAL_GUP_FLAGS (FOLL_TOUCH | FOLL_TRIED | FOLL_REMOTE | FOLL_PIN | \
1253 if ((flags & (FOLL_WRITE | FOLL_PIN)) != FOLL_PIN)
H A Dhuge_memory.c1326 if (!(flags & (FOLL_GET | FOLL_PIN)))
H A Dgup.c107 * FOLL_PIN or FOLL_GET behavior, when incrementing the folio's refcount.
109 * Either FOLL_PIN or FOLL_GET (or neither) must be set, but not both at the
115 * FOLL_PIN on large folios: folio's refcount will be incremented by
118 * FOLL_PIN on single-page folios: folio's refcount will be incremented by
123 * nor FOLL_PIN was set, that's considered failure, and furthermore,
130 if (WARN_ON_ONCE((flags & (FOLL_GET | FOLL_PIN)) == 0))
139 /* FOLL_PIN is set */
153 * Can't do FOLL_LONGTERM + FOLL_PIN gup fast path if not in a
191 if (flags & FOLL_PIN) {
213 * FOLL_PIN o
275 gup_put_folio(page_folio(page), 1, FOLL_PIN); local
[all...]

Completed in 155 milliseconds