Searched refs:piter (Results 1 – 1 of 1) sorted by relevance
600 void __sg_page_iter_start(struct sg_page_iter *piter, in __sg_page_iter_start() argument604 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() argument619 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 …]