Searched refs:bvl (Results 1 – 3 of 3) sorted by relevance
| /linux/include/linux/ |
| H A D | bvec.h | 181 #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)) 187 #define for_each_mp_bvec(bvl, bio_vec, iter, start) \ argument 190 ((bvl = mp_bvec_iter_bvec((bio_vec), (iter))), 1); \ 191 bvec_iter_advance_single((bio_vec), &(iter), (bvl).bv_len))
|
| H A D | blk-mq.h | 1090 #define rq_for_each_segment(bvl, _rq, _iter) \ argument 1092 bio_for_each_segment(bvl, _iter.bio, _iter.iter) 1094 #define rq_for_each_bvec(bvl, _rq, _iter) \ argument 1096 bio_for_each_bvec(bvl, _iter.bio, _iter.iter)
|
| /linux/block/ |
| H A D | bio.c | 202 struct bio_vec *bvl; in bvec_alloc() local 204 bvl = kmem_cache_alloc(bvs->slab, bvec_alloc_gfp(gfp_mask)); in bvec_alloc() 205 if (likely(bvl) || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in bvec_alloc() 206 return bvl; in bvec_alloc() 574 struct bio_vec *bvl = NULL; in bio_alloc_bioset() local 576 bvl = bvec_alloc(&bs->bvec_pool, &nr_vecs, gfp_mask); in bio_alloc_bioset() 577 if (!bvl && gfp_mask != saved_gfp) { in bio_alloc_bioset() 580 bvl = bvec_alloc(&bs->bvec_pool, &nr_vecs, gfp_mask); in bio_alloc_bioset() 582 if (unlikely(!bvl)) in bio_alloc_bioset() 585 bio_init(bio, bdev, bvl, nr_vecs, opf); in bio_alloc_bioset()
|