Lines Matching defs:orig_sgl
85 static unsigned int copy_from_bounce_buffer(struct scatterlist *orig_sgl,
88 static unsigned int copy_to_bounce_buffer(struct scatterlist *orig_sgl,
471 static unsigned int copy_to_bounce_buffer(struct scatterlist *orig_sgl,
487 src_addr = (unsigned long)kmap_atomic(sg_page((&orig_sgl[i])),
488 KM_IRQ0) + orig_sgl[i].offset;
490 srclen = orig_sgl[i].length;
492 /* ASSERT(orig_sgl[i].offset + orig_sgl[i].length <= PAGE_SIZE); */
524 kunmap_atomic((void *)(src_addr - orig_sgl[i].offset), KM_IRQ0);
533 static unsigned int copy_from_bounce_buffer(struct scatterlist *orig_sgl,
549 dest_addr = (unsigned long)kmap_atomic(sg_page((&orig_sgl[i])),
550 KM_IRQ0) + orig_sgl[i].offset;
552 destlen = orig_sgl[i].length;
553 /* ASSERT(orig_sgl[i].offset + orig_sgl[i].length <= PAGE_SIZE); */
584 kunmap_atomic((void *)(dest_addr - orig_sgl[i].offset),