Lines Matching refs:to
52 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) in bounce_copy_vec() argument
58 vto = kmap_atomic(to->bv_page); in bounce_copy_vec()
59 memcpy(vto + to->bv_offset, vfrom, to->bv_len); in bounce_copy_vec()
66 #define bounce_copy_vec(to, vfrom) \ argument
67 memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len)
101 static void copy_to_high_bio_irq(struct bio *to, struct bio *from) in copy_to_high_bio_irq() argument
107 bio_for_each_segment(tovec, to, iter) { in copy_to_high_bio_irq()
204 struct bio_vec *to, from; in __blk_queue_bounce() local
218 bio_for_each_segment_all(to, bio, i) { in __blk_queue_bounce()
219 struct page *page = to->bv_page; in __blk_queue_bounce()
224 to->bv_page = mempool_alloc(pool, q->bounce_gfp); in __blk_queue_bounce()
225 inc_zone_page_state(to->bv_page, NR_BOUNCE); in __blk_queue_bounce()
232 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce()
233 vfrom = kmap_atomic(page) + to->bv_offset; in __blk_queue_bounce()
234 memcpy(vto, vfrom, to->bv_len); in __blk_queue_bounce()