Home
last modified time | relevance | path

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

/lib/
Dscatterlist.c725 void __sg_page_iter_start(struct sg_page_iter *piter, in __sg_page_iter_start() argument
729 piter->__pg_advance = 0; in __sg_page_iter_start()
730 piter->__nents = nents; in __sg_page_iter_start()
732 piter->sg = sglist; in __sg_page_iter_start()
733 piter->sg_pgoffset = pgoffset; in __sg_page_iter_start()
742 bool __sg_page_iter_next(struct sg_page_iter *piter) in __sg_page_iter_next() argument
744 if (!piter->__nents || !piter->sg) in __sg_page_iter_next()
747 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_next()
748 piter->__pg_advance = 1; in __sg_page_iter_next()
750 while (piter->sg_pgoffset >= sg_page_count(piter->sg)) { in __sg_page_iter_next()
[all …]