Searched refs:bvl (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/include/linux/ |
D | bio.h | 93 #define bio_for_each_segment_all(bvl, bio, iter) \ argument 94 for (bvl = bvec_init_iter_all(&iter); bio_next_segment((bio), &iter); ) 143 #define __bio_for_each_segment(bvl, bio, iter, start) \ argument 146 ((bvl = bio_iter_iovec((bio), (iter))), 1); \ 147 bio_advance_iter_single((bio), &(iter), (bvl).bv_len)) 149 #define bio_for_each_segment(bvl, bio, iter) \ argument 150 __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter) 152 #define __bio_for_each_bvec(bvl, bio, iter, start) \ argument 155 ((bvl = mp_bvec_iter_bvec((bio)->bi_io_vec, (iter))), 1); \ 156 bio_advance_iter_single((bio), &(iter), (bvl).bv_len)) [all …]
|
D | bvec.h | 142 #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))
|
D | blk-mq.h | 1010 #define rq_for_each_segment(bvl, _rq, _iter) \ argument 1012 bio_for_each_segment(bvl, _iter.bio, _iter.iter) 1014 #define rq_for_each_bvec(bvl, _rq, _iter) \ argument 1016 bio_for_each_bvec(bvl, _iter.bio, _iter.iter)
|
/linux-6.1.9/block/ |
D | bio.c | 198 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() 532 struct bio_vec *bvl = NULL; in bio_alloc_bioset() local 534 bvl = bvec_alloc(&bs->bvec_pool, &nr_vecs, gfp_mask); in bio_alloc_bioset() 535 if (!bvl && gfp_mask != saved_gfp) { in bio_alloc_bioset() 538 bvl = bvec_alloc(&bs->bvec_pool, &nr_vecs, gfp_mask); in bio_alloc_bioset() 540 if (unlikely(!bvl)) in bio_alloc_bioset() 543 bio_init(bio, bdev, bvl, nr_vecs, opf); in bio_alloc_bioset()
|
/linux-6.1.9/fs/btrfs/ |
D | volumes.h | 457 #define btrfs_bio_for_each_sector(fs_info, bvl, bbio, iter, bio_offset) \ argument 460 (((bvl) = bio_iter_iovec((&(bbio)->bio), (iter))), 1); \
|
/linux-6.1.9/drivers/md/ |
D | raid5.c | 1381 struct bio_vec bvl; in async_copy_data() local 1398 bio_for_each_segment(bvl, bio, iter) { in async_copy_data() 1399 int len = bvl.bv_len; in async_copy_data() 1415 b_offset += bvl.bv_offset; in async_copy_data() 1416 bio_page = bvl.bv_page; in async_copy_data()
|