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

/linux-4.1.27/include/linux/
H A Dbio.h204 #define bio_for_each_segment_all(bvl, bio, i) \
205 for (i = 0, bvl = (bio)->bi_io_vec; i < (bio)->bi_vcnt; i++, bvl++)
227 #define for_each_bvec(bvl, bio_vec, iter, start) \
230 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
231 bvec_iter_advance((bio_vec), &(iter), (bvl).bv_len))
245 #define __bio_for_each_segment(bvl, bio, iter, start) \
248 ((bvl = bio_iter_iovec((bio), (iter))), 1); \
249 bio_advance_iter((bio), &(iter), (bvl).bv_len))
251 #define bio_for_each_segment(bvl, bio, iter) \
252 __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)
692 #define bip_for_each_vec(bvl, bip, iter) \
693 for_each_bvec(bvl, (bip)->bip_vec, iter, (bip)->bip_iter)
H A Dblkdev.h773 #define rq_for_each_segment(bvl, _rq, _iter) \
775 bio_for_each_segment(bvl, _iter.bio, _iter.iter)
/linux-4.1.27/block/
H A Dbio.c177 struct bio_vec *bvl; bvec_alloc() local
211 bvl = mempool_alloc(pool, gfp_mask); bvec_alloc()
227 bvl = kmem_cache_alloc(bvs->slab, __gfp_mask); bvec_alloc()
228 if (unlikely(!bvl && (gfp_mask & __GFP_WAIT))) { bvec_alloc()
234 return bvl; bvec_alloc()
416 struct bio_vec *bvl = NULL; bio_alloc_bioset() local
475 bvl = bvec_alloc(gfp_mask, nr_iovecs, &idx, bs->bvec_pool); bio_alloc_bioset()
476 if (!bvl && gfp_mask != saved_gfp) { bio_alloc_bioset()
479 bvl = bvec_alloc(gfp_mask, nr_iovecs, &idx, bs->bvec_pool); bio_alloc_bioset()
482 if (unlikely(!bvl)) bio_alloc_bioset()
487 bvl = bio->bi_inline_vecs; bio_alloc_bioset()
493 bio->bi_io_vec = bvl; bio_alloc_bioset()
/linux-4.1.27/drivers/md/
H A Draid5.c1108 struct bio_vec bvl; async_copy_data() local
1124 bio_for_each_segment(bvl, bio, iter) { bio_for_each_segment()
1125 int len = bvl.bv_len; bio_for_each_segment()
1141 b_offset += bvl.bv_offset; bio_for_each_segment()
1142 bio_page = bvl.bv_page; bio_for_each_segment()

Completed in 187 milliseconds