Lines Matching full:pinned

42 	 * We only pin anonymous pages if they are exclusive. Once pinned, we  in sanity_check_pinned_pages()
46 * We'd like to verify that our pinned anonymous pages are still mapped in sanity_check_pinned_pages()
167 * so that the page really is pinned. in try_grab_folio()
183 * unpin_user_page() - release a dma-pinned page
186 * Pages that were pinned via pin_user_pages*() must be released via either
199 * unpin_folio() - release a dma-pinned folio
202 * Folios that were pinned via memfd_pin_folios() or other similar routines
212 * folio_add_pin - Try to get an additional pin on a pinned folio
213 * @folio: The folio to be pinned
226 * pinned. in folio_add_pin()
269 * unpin_user_pages_dirty_lock() - release and optionally dirty gup-pinned pages
274 * "gup-pinned page" refers to a page that has had one of the get_user_pages()
337 * gup-pinned page range
343 * "gup-pinned page range" refers to a range of pages that has had one of the
393 * unpin_user_pages() - release an array of gup-pinned pages.
409 * leaving them pinned), but probably not. More likely, gup/pup returned in unpin_user_pages()
441 * unpin_folios() - release an array of gup-pinned folios.
455 * (by leaving them pinned), but probably not. More likely, gup/pup in unpin_folios()
477 * cache bouncing on large SMP machines for concurrent pinned gups.
578 * is pinned. That's why the refcount from the earlier in try_grab_folio_fast()
1376 * @pages: array that receives pointers to the pages pinned.
1381 * Returns either number of pages pinned (which may be less than the
1385 * -- If nr_pages is >0, but no pages were pinned, returns -errno.
1386 * -- If nr_pages is >0, and some pages were pinned, returns the number of
1387 * pages pinned. Again, this may be less than nr_pages.
1874 * Return either number of pages pinned in the vma, or a negative error
2261 * Returns struct page pointer of user page pinned for dump,
2388 * Migration will fail if the folio is pinned, so in migrate_longterm_unpinnable_folios()
2456 * Check whether all folios are *allowed* to be pinned indefinitely (long term).
2457 * Rather confusingly, all folios in the range are required to be pinned via
2462 * 0: if everything is OK and all folios in the range are allowed to be pinned,
2463 * then this routine leaves all folios pinned and returns zero for success.
2465 * -EAGAIN: if any folios in the range are not allowed to be pinned, then this
2609 * @pages: array that receives pointers to the pages pinned.
2616 * Returns either number of pages pinned (which may be less than the
2620 * -- If nr_pages is >0, but no pages were pinned, returns -errno.
2621 * -- If nr_pages is >0, and some pages were pinned, returns the number of
2622 * pages pinned. Again, this may be less than nr_pages.
2691 * @pages: array that receives pointers to the pages pinned.
2780 * This call assumes the caller has pinned the folio, that the lowest page table
2785 * Writing to pinned file-backed dirty tracked folios is inherently problematic
2886 * is pinned.
3439 * The caller has to unpin the pages we already pinned so in gup_fast_fallback()
3454 * @pages: array that receives pointers to the pages pinned.
3461 * pages pinned.
3490 * @pages: array that receives pointers to the pages pinned.
3497 * Returns number of pages pinned. This may be fewer than the number requested.
3498 * If nr_pages is 0 or negative, returns 0. If no pages were pinned, returns
3522 * @pages: array that receives pointers to the pages pinned.
3551 * @pages: array that receives pointers to the pages pinned.
3589 * @pages: array that receives pointers to the pages pinned.
3637 * @memfd: the memfd whose folios are to be pinned
3640 * @folios: array that receives pointers to the folios pinned
3647 * if necessary. Once the folios are located, they are all pinned via
3649 * And, eventually, these pinned folios must be released either using
3652 * It must be noted that the folios may be pinned for an indefinite amount
3653 * of time. And, in most cases, the duration of time they may stay pinned
3657 * Returns number of folios pinned, which could be less than @max_folios
3659 * If no folios were pinned, it returns -errno.
3774 * folio_add_pins() - add pins to an already-pinned folio
3778 * Try to add more pins to an already-pinned folio. The semantics