Lines Matching refs:bvec
69 struct bio_vec *bvec; in bio_copy_from_iter() local
72 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_from_iter()
75 ret = copy_page_from_iter(bvec->bv_page, in bio_copy_from_iter()
76 bvec->bv_offset, in bio_copy_from_iter()
77 bvec->bv_len, in bio_copy_from_iter()
83 if (ret < bvec->bv_len) in bio_copy_from_iter()
100 struct bio_vec *bvec; in bio_copy_to_iter() local
103 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_to_iter()
106 ret = copy_page_to_iter(bvec->bv_page, in bio_copy_to_iter()
107 bvec->bv_offset, in bio_copy_to_iter()
108 bvec->bv_len, in bio_copy_to_iter()
114 if (ret < bvec->bv_len) in bio_copy_to_iter()
343 struct bio_vec *bvec; in bio_copy_kern_endio_read() local
346 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_kern_endio_read()
347 memcpy_from_bvec(p, bvec); in bio_copy_kern_endio_read()
348 p += bvec->bv_len; in bio_copy_kern_endio_read()