Searched refs:cur_src_sgl (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dstorvsc_drv.c647 struct scatterlist *cur_src_sgl; copy_from_bounce_buffer() local
651 cur_src_sgl = bounce_sgl; copy_from_bounce_buffer()
661 sg_page(cur_src_sgl)); copy_from_bounce_buffer()
664 src = bounce_addr + cur_src_sgl->offset; copy_from_bounce_buffer()
665 srclen = cur_src_sgl->length - cur_src_sgl->offset; copy_from_bounce_buffer()
671 cur_src_sgl->offset += copylen; copy_from_bounce_buffer()
675 if (cur_src_sgl->offset == cur_src_sgl->length) { copy_from_bounce_buffer()
699 cur_src_sgl = sg_next(cur_src_sgl); copy_from_bounce_buffer()
702 sg_page(cur_src_sgl)); copy_from_bounce_buffer()
732 struct scatterlist *cur_src_sgl; copy_to_bounce_buffer() local
737 cur_src_sgl = orig_sgl; copy_to_bounce_buffer()
742 kmap_atomic(sg_page(cur_src_sgl)) + copy_to_bounce_buffer()
743 cur_src_sgl->offset; copy_to_bounce_buffer()
745 srclen = cur_src_sgl->length; copy_to_bounce_buffer()
781 kunmap_atomic((void *)(src_addr - cur_src_sgl->offset)); copy_to_bounce_buffer()
782 cur_src_sgl = sg_next(cur_src_sgl); copy_to_bounce_buffer()

Completed in 66 milliseconds