Lines Matching refs:nr_pages
25 unsigned long nr_pages)
32 for (i = 0; i < nr_pages; i++)
39 unpin_user_pages(pages, nr_pages);
45 unsigned long nr_pages)
54 for (i = 0; i < nr_pages; i++) {
71 unsigned long i, nr_pages, addr, next;
81 nr_pages = gup->size / PAGE_SIZE;
82 pages = kvcalloc(nr_pages, sizeof(void *), GFP_KERNEL);
140 /* Shifting the meaning of nr_pages: now it is actual number pinned: */
141 nr_pages = i;
150 verify_dma_pinned(cmd, pages, nr_pages);
154 put_back_pages(cmd, pages, nr_pages);