Home
last modified time | relevance | path

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

/Linux-v6.6/lib/
Dscatterlist.c733 piter->sg_pgoffset = pgoffset; in __sg_page_iter_start()
747 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_next()
750 while (piter->sg_pgoffset >= sg_page_count(piter->sg)) { in __sg_page_iter_next()
751 piter->sg_pgoffset -= sg_page_count(piter->sg); in __sg_page_iter_next()
773 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_dma_next()
776 while (piter->sg_pgoffset >= sg_dma_page_count(piter->sg)) { in __sg_page_iter_dma_next()
777 piter->sg_pgoffset -= sg_dma_page_count(piter->sg); in __sg_page_iter_dma_next()
821 miter->__offset = miter->piter.sg_pgoffset ? 0 : sg->offset; in sg_miter_get_next_page()
822 miter->piter.sg_pgoffset += miter->__offset >> PAGE_SHIFT; in sg_miter_get_next_page()
825 (miter->piter.sg_pgoffset << PAGE_SHIFT) - in sg_miter_get_next_page()
/Linux-v6.6/include/linux/
Dscatterlist.h552 unsigned int sg_pgoffset; /* page offset within the sg */ member
582 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
594 (dma_iter->base.sg_pgoffset << PAGE_SHIFT); in sg_page_iter_dma_address()