Lines Matching refs:FOLL_LONGTERM
123 * Can't do FOLL_LONGTERM + FOLL_PIN with CMA in the gup fast
126 if (unlikely(flags & FOLL_LONGTERM) &&
1705 * allows us to process the FOLL_LONGTERM flag.
1718 if (gup_flags & FOLL_LONGTERM) {
1735 if (gup_flags & FOLL_LONGTERM) {
1781 * FOLL_PIN is a prerequisite to FOLL_LONGTERM. Another way of saying
1782 * that is, FOLL_LONGTERM is a specific case, more restrictive case of
1785 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM))
1798 * Parts of FOLL_LONGTERM behavior are incompatible with
1801 * callers that do request FOLL_LONGTERM, but do not set locked. So,
1804 if (gup_flags & FOLL_LONGTERM) {
1977 * FIXME: Current FOLL_LONGTERM behavior is incompatible with
1982 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM))
2020 * FIXME: Current FOLL_LONGTERM behavior is incompatible with
2025 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM))
2186 if (unlikely(flags & FOLL_LONGTERM))
2437 if (unlikely(flags & FOLL_LONGTERM))
2471 if (unlikely(flags & FOLL_LONGTERM))
2668 * FIXME: FOLL_LONGTERM does not work with
2671 if (gup_flags & FOLL_LONGTERM) {
2741 if (WARN_ON_ONCE(gup_flags & ~(FOLL_WRITE | FOLL_LONGTERM |
3023 * FIXME: Current FOLL_LONGTERM behavior is incompatible with
3028 if (WARN_ON_ONCE(gup_flags & FOLL_LONGTERM))