Lines Matching defs:pages
54 * @p9_max_pages: maximum number of pinned pages
207 * this takes a list of pages.
210 * @limit: maximum number of pages in sg list.
211 * @pdata: a list of pages to add into sg.
212 * @nr_pages: number of pages to pack into the scatter/gather list
309 struct page ***pages,
333 n = iov_iter_get_pages_alloc2(data, pages, count, offs);
341 /* kernel buffer, no need to pin pages */
361 *pages = kmalloc_array(nr_pages, sizeof(struct page *),
363 if (!*pages)
370 (*pages)[index] = vmalloc_to_page(p);
372 (*pages)[index] = kmap_to_page(p);
381 size_t offs, struct page **pages)
387 if (req->rc.size < in_hdr_len || !pages)
397 // data won't span more than two pages
401 memcpy_from_page(to, *pages++, offs, n);
406 memcpy_from_page(to, *pages, offs, size);
554 /* wakeup anybody waiting for slots to pin pages */