Lines Matching refs:sgl
1688 st_map_user_pages(struct scatterlist *sgl, const unsigned int max_pages,
1737 sgl[0].page = pages[0];
1738 sgl[0].offset = uaddr & ~PAGE_MASK;
1740 sgl[0].length = PAGE_SIZE - sgl[0].offset;
1741 count -= sgl[0].length;
1743 sgl[i].page = pages[i];
1744 sgl[i].length = count < PAGE_SIZE ? count : PAGE_SIZE;
1749 sgl[0].length = count;
1768 st_unmap_user_pages(struct scatterlist *sgl, const unsigned int nr_pages,
1774 struct page *page = sgl[i].page;