Lines Matching refs:bv
238 struct bio_vec *bv;
261 bio_for_each_segment(bv, bio, i) {
262 if (bv->bv_len & (blksize - 1))
265 count += bv->bv_len >> (device->s2b_shift + 9);
267 if (idal_is_needed (page_address(bv->bv_page),
268 bv->bv_len))
269 cidaw += bv->bv_len / blksize;
307 rq_for_each_bio(bio, req) bio_for_each_segment(bv, bio, i) {
308 dst = page_address(bv->bv_page) + bv->bv_offset;
313 memcpy(copy + bv->bv_offset, dst, bv->bv_len);
315 dst = copy + bv->bv_offset;
317 for (off = 0; off < bv->bv_len; off += blksize) {
363 struct bio_vec *bv;
377 rq_for_each_bio(bio, req) bio_for_each_segment(bv, bio, i) {
378 dst = page_address(bv->bv_page) + bv->bv_offset;
379 for (off = 0; off < bv->bv_len; off += blksize) {
390 memcpy(dst, cda, bv->bv_len);