Home
last modified time | relevance | path

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

/lib/
Dscatterlist.c600 void __sg_page_iter_start(struct sg_page_iter *piter, in __sg_page_iter_start() argument
604 piter->__pg_advance = 0; in __sg_page_iter_start()
605 piter->__nents = nents; in __sg_page_iter_start()
607 piter->sg = sglist; in __sg_page_iter_start()
608 piter->sg_pgoffset = pgoffset; in __sg_page_iter_start()
617 bool __sg_page_iter_next(struct sg_page_iter *piter) in __sg_page_iter_next() argument
619 if (!piter->__nents || !piter->sg) in __sg_page_iter_next()
622 piter->sg_pgoffset += piter->__pg_advance; in __sg_page_iter_next()
623 piter->__pg_advance = 1; in __sg_page_iter_next()
625 while (piter->sg_pgoffset >= sg_page_count(piter->sg)) { in __sg_page_iter_next()
[all …]