Searched refs:last_sg (Results 1 – 2 of 2) sorted by relevance
619 struct scatterlist *last_sg = sg; in sg_fill() local638 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill()639 last_sg->length, npages); in sg_fill()640 while (++last_sg <= sg) { in sg_fill()642 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg), in sg_fill()643 last_sg->length); in sg_fill()
1760 struct mv_sg *mv_sg, *last_sg = NULL; in mv_fill_sg() local1783 last_sg = mv_sg; in mv_fill_sg()1788 if (likely(last_sg)) in mv_fill_sg()1789 last_sg->flags_size |= cpu_to_le32(EPRD_FLAG_END_OF_TBL); in mv_fill_sg()