Home
last modified time | relevance | path

Searched refs:bvl (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
A Dbio.h94 #define bio_for_each_segment_all(bvl, bio, iter) \ argument
147 ((bvl = bio_iter_iovec((bio), (iter))), 1); \
150 #define bio_for_each_segment(bvl, bio, iter) \ argument
151 __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)
153 #define __bio_for_each_bvec(bvl, bio, iter, start) \ argument
160 #define bio_for_each_bvec(bvl, bio, iter) \ argument
161 __bio_for_each_bvec(bvl, bio, iter, (bio)->bi_iter)
167 #define bio_for_each_bvec_all(bvl, bio, i) \ argument
168 for (i = 0, bvl = bio_first_bvec_all(bio); \
169 i < (bio)->bi_vcnt; i++, bvl++) \
[all …]
A Dbvec.h142 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
145 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
146 bvec_iter_advance_single((bio_vec), &(iter), (bvl).bv_len))
A Dblk-mq.h934 #define rq_for_each_segment(bvl, _rq, _iter) \ argument
936 bio_for_each_segment(bvl, _iter.bio, _iter.iter)
938 #define rq_for_each_bvec(bvl, _rq, _iter) \ argument
940 bio_for_each_bvec(bvl, _iter.bio, _iter.iter)
/linux/block/
A Dbio.c198 struct bio_vec *bvl; in bvec_alloc() local
200 bvl = kmem_cache_alloc(bvs->slab, bvec_alloc_gfp(gfp_mask)); in bvec_alloc()
201 if (likely(bvl) || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in bvec_alloc()
202 return bvl; in bvec_alloc()
479 struct bio_vec *bvl = NULL; in bio_alloc_bioset() local
481 bvl = bvec_alloc(&bs->bvec_pool, &nr_iovecs, gfp_mask); in bio_alloc_bioset()
482 if (!bvl && gfp_mask != saved_gfp) { in bio_alloc_bioset()
485 bvl = bvec_alloc(&bs->bvec_pool, &nr_iovecs, gfp_mask); in bio_alloc_bioset()
487 if (unlikely(!bvl)) in bio_alloc_bioset()
490 bio_init(bio, bvl, nr_iovecs); in bio_alloc_bioset()
/linux/drivers/md/
A Draid5.c1310 struct bio_vec bvl; in async_copy_data() local
1327 bio_for_each_segment(bvl, bio, iter) { in async_copy_data()
1328 int len = bvl.bv_len; in async_copy_data()
1344 b_offset += bvl.bv_offset; in async_copy_data()
1345 bio_page = bvl.bv_page; in async_copy_data()

Completed in 23 milliseconds