Home
last modified time | relevance | path

Searched refs:sg_pgoffset (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/lib/
A Dscatterlist.c730 piter->sg_pgoffset = pgoffset; in __sg_page_iter_start()
744 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_next()
747 while (piter->sg_pgoffset >= sg_page_count(piter->sg)) { in __sg_page_iter_next()
748 piter->sg_pgoffset -= sg_page_count(piter->sg); in __sg_page_iter_next()
770 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_dma_next()
773 while (piter->sg_pgoffset >= sg_dma_page_count(piter->sg)) { in __sg_page_iter_dma_next()
774 piter->sg_pgoffset -= sg_dma_page_count(piter->sg); in __sg_page_iter_dma_next()
817 miter->__offset = miter->piter.sg_pgoffset ? 0 : sg->offset; in sg_miter_get_next_page()
818 miter->piter.sg_pgoffset += miter->__offset >> PAGE_SHIFT; in sg_miter_get_next_page()
821 (miter->piter.sg_pgoffset << PAGE_SHIFT) - in sg_miter_get_next_page()
/linux-6.3-rc2/include/linux/
A Dscatterlist.h492 unsigned int sg_pgoffset; /* page offset within the sg */ member
522 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
534 (dma_iter->base.sg_pgoffset << PAGE_SHIFT); in sg_page_iter_dma_address()

Completed in 7 milliseconds