Lines Matching defs:pages
16 * Main data structure for tracking mapped user pages of bitmap data.
44 /* number of pages pinned */
47 /* pinned pages representing the bitmap data */
48 struct page **pages;
60 * The bitmap object uses one base page to store all the pinned pages
92 * mapping up to PAGE_SIZE / sizeof(struct page*) maximum of pages.
117 /* length of the IOVA range set ahead the pinned pages */
160 * Pins the bitmap user pages for the current range window.
175 * mapped but capped at a maximum number of pages.
195 FOLL_WRITE, mapped->pages);
200 /* Base IOVA where @pages point to i.e. bit 0 of the first page */
204 * offset of the page where pinned pages bit 0 is located.
213 * Unpins the bitmap user pages and clears @npages
222 unpin_user_pages(mapped->pages, mapped->npages);
236 * first user pages of @data.
260 mapped->pages = (struct page **)__get_free_page(GFP_KERNEL);
261 if (!mapped->pages) {
281 * It unpins and releases pages array memory and clears any leftover
290 if (mapped->pages) {
291 free_page((unsigned long)mapped->pages);
292 mapped->pages = NULL;
301 * the currently pinned bitmap pages.
376 * pages and pins the next set of bitmap pages.
399 /* When advancing the index we pin the next set of bitmap pages */
411 * mapped bitmap user pages into IOVA ranges to process.
463 kaddr = kmap_local_page(mapped->pages[page_idx]);