Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dbio.h95 #define bio_for_each_segment_all(bvl, bio, iter) \ argument
96 for (bvl = bvec_init_iter_all(&iter); bio_next_segment((bio), &iter); )
145 #define __bio_for_each_segment(bvl, bio, iter, start) \ argument
148 ((bvl = bio_iter_iovec((bio), (iter))), 1); \
149 bio_advance_iter_single((bio), &(iter), (bvl).bv_len))
151 #define bio_for_each_segment(bvl, bio, iter) \ argument
152 __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)
154 #define __bio_for_each_bvec(bvl, bio, iter, start) \ argument
157 ((bvl = mp_bvec_iter_bvec((bio)->bi_io_vec, (iter))), 1); \
158 bio_advance_iter_single((bio), &(iter), (bvl).bv_len))
[all …]
Dbvec.h181 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
184 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
185 bvec_iter_advance_single((bio_vec), &(iter), (bvl).bv_len))
Dblk-mq.h1011 #define rq_for_each_segment(bvl, _rq, _iter) \ argument
1013 bio_for_each_segment(bvl, _iter.bio, _iter.iter)
1015 #define rq_for_each_bvec(bvl, _rq, _iter) \ argument
1017 bio_for_each_bvec(bvl, _iter.bio, _iter.iter)
/linux-6.6.21/block/
Dbio.c203 struct bio_vec *bvl; in bvec_alloc() local
205 bvl = kmem_cache_alloc(bvs->slab, bvec_alloc_gfp(gfp_mask)); in bvec_alloc()
206 if (likely(bvl) || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in bvec_alloc()
207 return bvl; in bvec_alloc()
556 struct bio_vec *bvl = NULL; in bio_alloc_bioset() local
558 bvl = bvec_alloc(&bs->bvec_pool, &nr_vecs, gfp_mask); in bio_alloc_bioset()
559 if (!bvl && gfp_mask != saved_gfp) { in bio_alloc_bioset()
562 bvl = bvec_alloc(&bs->bvec_pool, &nr_vecs, gfp_mask); in bio_alloc_bioset()
564 if (unlikely(!bvl)) in bio_alloc_bioset()
567 bio_init(bio, bdev, bvl, nr_vecs, opf); in bio_alloc_bioset()
/linux-6.6.21/drivers/md/
Draid5.c1388 struct bio_vec bvl; in async_copy_data() local
1405 bio_for_each_segment(bvl, bio, iter) { in async_copy_data()
1406 int len = bvl.bv_len; in async_copy_data()
1422 b_offset += bvl.bv_offset; in async_copy_data()
1423 bio_page = bvl.bv_page; in async_copy_data()