Lines Matching refs:bvec
48 struct bio_vec *bvec; in bio_copy_from_iter() local
51 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_from_iter()
54 ret = copy_page_from_iter(bvec->bv_page, in bio_copy_from_iter()
55 bvec->bv_offset, in bio_copy_from_iter()
56 bvec->bv_len, in bio_copy_from_iter()
62 if (ret < bvec->bv_len) in bio_copy_from_iter()
79 struct bio_vec *bvec; in bio_copy_to_iter() local
82 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_to_iter()
85 ret = copy_page_to_iter(bvec->bv_page, in bio_copy_to_iter()
86 bvec->bv_offset, in bio_copy_to_iter()
87 bvec->bv_len, in bio_copy_to_iter()
93 if (ret < bvec->bv_len) in bio_copy_to_iter()
442 struct bio_vec *bvec; in bio_copy_kern_endio_read() local
445 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_kern_endio_read()
446 memcpy_from_bvec(p, bvec); in bio_copy_kern_endio_read()
447 p += bvec->bv_len; in bio_copy_kern_endio_read()
577 bvecs = (struct bio_vec *)iter->bvec; in blk_rq_map_user_bvec()