Searched refs:FOLL_PIN (Results 1 – 5 of 5) sorted by relevance
18 Basic description of FOLL_PIN21 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 and25 FOLL_PIN is internal to gup, meaning that it should not appear at the gup call39 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 the44 The FOLL_PIN implementation is nearly the same as FOLL_GET, except that FOLL_PIN47 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 …]
119 else if (flags & FOLL_PIN) { in try_grab_compound_head()163 if (flags & FOLL_PIN) { in put_compound_head()199 WARN_ON_ONCE((flags & (FOLL_GET | FOLL_PIN)) == (FOLL_GET | FOLL_PIN)); in try_grab_page()203 else if (flags & FOLL_PIN) { in try_grab_page()241 put_compound_head(compound_head(page), 1, FOLL_PIN); in unpin_user_page()405 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_page_pte()406 (FOLL_PIN | FOLL_GET))) in follow_page_pte()452 if (!page && pte_devmap(pte) && (flags & (FOLL_GET | FOLL_PIN))) { in follow_page_pte()501 if (flags & FOLL_PIN) { in follow_page_pte()769 WARN_ON_ONCE(flags & (FOLL_GET | FOLL_PIN)); in follow_page_mask()[all …]
980 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_devmap_pmd()981 (FOLL_PIN | FOLL_GET))) in follow_devmap_pmd()999 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pmd()1149 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_devmap_pud()1150 (FOLL_PIN | FOLL_GET))) in follow_devmap_pud()1167 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pud()
5608 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_huge_pmd_pte()5609 (FOLL_PIN | FOLL_GET))) in follow_huge_pmd_pte()5654 if (flags & (FOLL_GET | FOLL_PIN)) in follow_huge_pud()5663 if (flags & (FOLL_GET | FOLL_PIN)) in follow_huge_pgd()
2853 #define FOLL_PIN 0x40000 /* pages must be released via unpin_user_page */ macro