Searched refs:old_sg (Results 1 – 2 of 2) sorted by relevance
286 struct scatterlist *sg, *old_sg = NULL; in sr_scatter_pad() local318 old_sg = (struct scatterlist *) SCpnt->request_buffer; in sr_scatter_pad()350 if (old_sg) { in sr_scatter_pad()351 memcpy(sg + i, old_sg, SCpnt->use_sg * sizeof(struct scatterlist)); in sr_scatter_pad()354 scsi_free(old_sg, (((SCpnt->use_sg * sizeof(struct scatterlist)) + in sr_scatter_pad()
719 unsigned short old_sg; in usb_stor_invoke_transport() local756 old_sg = srb->use_sg; in usb_stor_invoke_transport()767 srb->use_sg = old_sg; in usb_stor_invoke_transport()