Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dscatterlist.c689 piter->sg_pgoffset = pgoffset; in __sg_page_iter_start()
703 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_next()
706 while (piter->sg_pgoffset >= sg_page_count(piter->sg)) { in __sg_page_iter_next()
707 piter->sg_pgoffset -= sg_page_count(piter->sg); in __sg_page_iter_next()
729 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_dma_next()
732 while (piter->sg_pgoffset >= sg_dma_page_count(piter->sg)) { in __sg_page_iter_dma_next()
733 piter->sg_pgoffset -= sg_dma_page_count(piter->sg); in __sg_page_iter_dma_next()
776 miter->__offset = miter->piter.sg_pgoffset ? 0 : sg->offset; in sg_miter_get_next_page()
777 miter->piter.sg_pgoffset += miter->__offset >> PAGE_SHIFT; in sg_miter_get_next_page()
780 (miter->piter.sg_pgoffset << PAGE_SHIFT) - in sg_miter_get_next_page()
/kernel/linux/linux-5.10/include/linux/
Dscatterlist.h374 unsigned int sg_pgoffset; /* page offset within the sg */ member
404 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
416 (dma_iter->base.sg_pgoffset << PAGE_SHIFT); in sg_page_iter_dma_address()