Home
last modified time | relevance | path

Searched refs:bi_io_vec (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/include/linux/
Dbio.h26 bvec_iter_bvec((bio)->bi_io_vec, (iter))
29 bvec_iter_page((bio)->bi_io_vec, (iter))
31 bvec_iter_len((bio)->bi_io_vec, (iter))
33 bvec_iter_offset((bio)->bi_io_vec, (iter))
87 bvec_advance(&bio->bi_io_vec[iter->idx], iter); in bio_next_segment()
106 bvec_iter_advance(bio->bi_io_vec, iter, bytes); in bio_advance_iter()
120 bvec_iter_advance_single(bio->bi_io_vec, iter, bytes); in bio_advance_iter_single()
157 ((bvl = mp_bvec_iter_bvec((bio)->bi_io_vec, (iter))), 1); \
248 return bio->bi_io_vec; in bio_first_bvec_all()
264 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all()
Dblk_types.h315 struct bio_vec *bi_io_vec; /* the actual vec list */ member
Dblk-mq.h1086 return mp_bvec_iter_bvec(rq->bio->bi_io_vec, rq->bio->bi_iter); in req_bvec()
/linux-6.6.21/drivers/md/bcache/
Dutil.c234 struct bio_vec *bv = bio->bi_io_vec; in bch_bio_map()
277 for (i = 0, bv = bio->bi_io_vec; i < bio->bi_vcnt; bv++, i++) { in bch_bio_alloc_pages()
280 while (--bv >= bio->bi_io_vec) in bch_bio_alloc_pages()
/linux-6.6.21/block/
Dbio.c237 bvec_free(&bs->bvec_pool, bio->bi_io_vec, bio->bi_max_vecs); in bio_free()
283 bio->bi_io_vec = table; in bio_init()
858 bio->bi_io_vec = bio_src->bi_io_vec; in bio_alloc_clone()
881 bio_init(bio, bdev, bio_src->bi_io_vec, 0, bio_src->bi_opf); in bio_init_clone()
976 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
996 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, offset); in bio_add_hw_page()
1075 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, off); in __bio_add_page()
1102 bvec_try_merge_page(&bio->bi_io_vec[bio->bi_vcnt - 1], in bio_add_page()
1182 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1197 bvec_try_merge_page(&bio->bi_io_vec[bio->bi_vcnt - 1], in bio_iov_add_page()
[all …]
Dbounce.c182 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio()
241 for (i = 0, to = bio->bi_io_vec; i < bio->bi_vcnt; to++, i++) { in __blk_queue_bounce()
Dblk-crypto-fallback.c150 mempool_free(enc_bio->bi_io_vec[i].bv_page, in blk_crypto_fallback_encrypt_endio()
179 bio->bi_io_vec[bio->bi_vcnt++] = bv; in blk_crypto_fallback_clone_bio()
317 struct bio_vec *enc_bvec = &enc_bio->bi_io_vec[i]; in blk_crypto_fallback_encrypt_bio()
359 mempool_free(enc_bio->bi_io_vec[--i].bv_page, in blk_crypto_fallback_encrypt_bio()
Dblk.h317 bio->bi_io_vec->bv_len + bio->bi_io_vec->bv_offset > PAGE_SIZE; in bio_may_exceed_limits()
Dblk-merge.c23 *bv = mp_bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); in bio_get_first_bvec()
42 *bv = bio->bi_io_vec[idx]; in bio_get_last_bvec()
Dblk-map.c366 len += bio->bi_io_vec[i].bv_len; in bio_invalidate_vmalloc_pages()
/linux-6.6.21/drivers/md/
Ddm-io-rewind.c119 dm_bvec_iter_rewind(bio->bi_io_vec, iter, bytes); in dm_bio_rewind_iter()
Ddm-flakey.c460 struct bio_vec bvec = bvec_iter_bvec(bio->bi_io_vec, iter); in clone_bio()
466 bvec_iter_advance(bio->bi_io_vec, &iter, this_step); in clone_bio()
Ddm-io.c247 dp->context_ptr = bio->bi_io_vec; in bio_dp_init()
Draid5.c1294 bi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1295 bi->bi_io_vec[0].bv_offset = sh->dev[i].offset; in ops_run_io()
1344 rbi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1345 rbi->bi_io_vec[0].bv_offset = sh->dev[i].offset; in ops_run_io()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_bitmap.c966 mempool_free(bio->bi_io_vec[0].bv_page, &drbd_md_io_page_pool); in drbd_bm_endio()
/linux-6.6.21/drivers/block/
Dloop.c436 bvec = __bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); in lo_rw_aio()
/linux-6.6.21/drivers/nvme/host/
Dtcp.c295 vec = __bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); in nvme_tcp_init_iter()