Searched refs:bvecs (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/md/
H A Draid1.c1006 struct bio_vec *bvecs = kzalloc(bio->bi_vcnt * sizeof(struct bio_vec), alloc_behind_pages() local
1008 if (unlikely(!bvecs)) alloc_behind_pages()
1012 bvecs[i] = *bvec; bio_for_each_segment_all()
1013 bvecs[i].bv_page = alloc_page(GFP_NOIO); bio_for_each_segment_all()
1014 if (unlikely(!bvecs[i].bv_page)) bio_for_each_segment_all()
1016 memcpy(kmap(bvecs[i].bv_page) + bvec->bv_offset, bio_for_each_segment_all()
1018 kunmap(bvecs[i].bv_page); bio_for_each_segment_all()
1021 r1_bio->behind_bvecs = bvecs;
1028 if (bvecs[i].bv_page)
1029 put_page(bvecs[i].bv_page);
1030 kfree(bvecs);
H A Ddm.c1482 * Creates a bio that consists of range of complete bvecs.
/linux-4.1.27/drivers/block/
H A Dps3disk.c138 "%s:%u: %s req has %u bvecs for %u sectors\n", ps3disk_submit_request_sg()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_req.c1518 * We also may need to enforce configured max-bio-bvecs limits.

Completed in 183 milliseconds