Lines Matching defs:page
37 #include <linux/page.h>
116 sg_assign_page(struct scatterlist *sg, struct page *page)
120 sg->page_link = page_link | (unsigned long)page;
124 sg_set_page(struct scatterlist *sg, struct page *page, unsigned int len,
127 sg_assign_page(sg, page);
132 static inline struct page *
135 return ((struct page *)((sg)->page_link & ~SG_PAGE_LINK_MASK));
331 struct page **pages, unsigned int count,
339 struct page **pages, unsigned int count,
420 struct page **pages, unsigned int count,
436 struct page **pages, unsigned int count, unsigned int off,
559 static inline struct page *
570 struct page *page;
595 page = sg_page_iter_page(&piter);
596 sf = sf_buf_alloc(page, SFB_CPUPRIVATE | SFB_NOWAIT);
606 /* Either we exactly filled the page, or we are done. */
630 struct page *page;
649 page = sg_page_iter_page(&iter);
651 sf = sf_buf_alloc(page, SFB_CPUPRIVATE | SFB_NOWAIT);
656 vaddr = (char *)PHYS_TO_DMAP(page_to_phys(page));
661 /* start at beginning of next page */