Lines Matching refs:to
53 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) in bounce_copy_vec() argument
59 vto = kmap_atomic(to->bv_page); in bounce_copy_vec()
60 memcpy(vto + to->bv_offset, vfrom, to->bv_len); in bounce_copy_vec()
67 #define bounce_copy_vec(to, vfrom) \ argument
68 memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len)
102 static void copy_to_high_bio_irq(struct bio *to, struct bio *from) in copy_to_high_bio_irq() argument
108 bio_for_each_segment(tovec, to, iter) { in copy_to_high_bio_irq()
187 struct bio_vec *to, from; in __blk_queue_bounce() local
199 bio_for_each_segment_all(to, bio, i) { in __blk_queue_bounce()
200 struct page *page = to->bv_page; in __blk_queue_bounce()
205 to->bv_page = mempool_alloc(pool, q->bounce_gfp); in __blk_queue_bounce()
206 inc_zone_page_state(to->bv_page, NR_BOUNCE); in __blk_queue_bounce()
213 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce()
214 vfrom = kmap_atomic(page) + to->bv_offset; in __blk_queue_bounce()
215 memcpy(vto, vfrom, to->bv_len); in __blk_queue_bounce()