Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbio.h28 bvec_iter_bvec((bio)->bi_io_vec, (iter))
31 bvec_iter_page((bio)->bi_io_vec, (iter))
33 bvec_iter_len((bio)->bi_io_vec, (iter))
35 bvec_iter_offset((bio)->bi_io_vec, (iter))
125 bvec_advance(&bio->bi_io_vec[iter->idx], iter); in bio_next_segment()
144 bvec_iter_advance(bio->bi_io_vec, iter, bytes); in bio_advance_iter()
160 ((bvl = mp_bvec_iter_bvec((bio)->bi_io_vec, (iter))), 1); \
252 *bv = mp_bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); in bio_get_first_bvec()
271 *bv = bio->bi_io_vec[idx]; in bio_get_last_bvec()
284 return bio->bi_io_vec; in bio_first_bvec_all()
[all …]
Dblk_types.h256 struct bio_vec *bi_io_vec; /* the actual vec list */ member
Dblkdev.h1071 return mp_bvec_iter_bvec(rq->bio->bi_io_vec, rq->bio->bi_iter); in req_bvec()
/kernel/linux/linux-5.10/block/
Dbounce.c262 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; in bounce_clone_bio()
266 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio()
322 for (i = 0, to = bio->bi_io_vec; i < bio->bi_vcnt; to++, i++) { in __blk_queue_bounce()
Dbio.c258 bvec_free(&bs->bvec_pool, bio->bi_io_vec, BVEC_POOL_IDX(bio)); in bio_free()
285 bio->bi_io_vec = table; in bio_init()
523 bio->bi_io_vec = bvl; in bio_alloc_bioset()
692 bio->bi_io_vec = bio_src->bi_io_vec; in __bio_clone_fast()
766 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg()
811 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
822 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page()
878 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page()
907 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page()
1006 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_iter_get_pages()
[all …]
Dblk-lib.c195 bio->bi_io_vec->bv_page = page; in __blkdev_issue_write_same()
196 bio->bi_io_vec->bv_offset = 0; in __blkdev_issue_write_same()
197 bio->bi_io_vec->bv_len = bdev_logical_block_size(bdev); in __blkdev_issue_write_same()
Dblk-crypto-fallback.c152 mempool_free(enc_bio->bi_io_vec[i].bv_page, in blk_crypto_fallback_encrypt_endio()
178 bio->bi_io_vec[bio->bi_vcnt++] = bv; in blk_crypto_clone_bio()
314 struct bio_vec *enc_bvec = &enc_bio->bi_io_vec[i]; in blk_crypto_fallback_encrypt_bio()
356 mempool_free(enc_bio->bi_io_vec[--i].bv_page, in blk_crypto_fallback_encrypt_bio()
Dblk-merge.c328 ((*bio)->bi_io_vec[0].bv_len + in __blk_queue_split()
329 (*bio)->bi_io_vec[0].bv_offset) <= PAGE_SIZE) { in __blk_queue_split()
Dblk-map.c359 len += bio->bi_io_vec[i].bv_len; in bio_invalidate_vmalloc_pages()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/md/
Ddm-io.c239 dp->context_ptr = bio->bi_io_vec; in bio_dp_init()
Draid5.c1211 bi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1212 bi->bi_io_vec[0].bv_offset = sh->dev[i].offset; in ops_run_io()
1265 rbi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1266 rbi->bi_io_vec[0].bv_offset = sh->dev[i].offset; in ops_run_io()
/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-core.c331 bv = &bio->bi_io_vec[i]; in pblk_bio_free_pages()
2127 rqd->bio->bi_io_vec[rqd->bio->bi_vcnt - 1].bv_page); in pblk_get_meta_for_writes()
2142 page = page_to_virt(rqd->bio->bi_io_vec[rqd->bio->bi_vcnt - 1].bv_page); in pblk_get_packed_meta()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_bitmap.c966 mempool_free(bio->bi_io_vec[0].bv_page, &drbd_md_io_page_pool); in drbd_bm_endio()
/kernel/linux/linux-5.10/Documentation/block/
Dbiodoc.rst468 struct bio_vec *bi_io_vec; /* the actual vec list */
481 the same bi_io_vec array, but with the index and size accordingly modified)
817 cloning, in this case rather than PRE_BUILT bio_vecs, we set the bi_io_vec
/kernel/linux/linux-5.10/drivers/block/
Dloop.c558 bvec = __bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); in lo_rw_aio()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dtcp.c280 vec = __bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); in nvme_tcp_init_iter()