Searched refs:bi_io_vec (Results 1 - 19 of 19) sorted by relevance

/linux-master/include/linux/
H A 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);
106 bvec_iter_advance(bio->bi_io_vec, iter, bytes);
120 bvec_iter_advance_single(bio->bi_io_vec, iter, bytes);
157 ((bvl = mp_bvec_iter_bvec((bio)->bi_io_vec, (iter))), 1); \
248 return bio->bi_io_vec;
264 return &bio->bi_io_vec[bi
[all...]
H A Dblk_types.h274 struct bio_vec *bi_io_vec; /* the actual vec list */ member in struct:bio
H A Dblk-mq.h1091 return mp_bvec_iter_bvec(rq->bio->bi_io_vec, rq->bio->bi_iter);
/linux-master/drivers/md/bcache/
H A Dutil.c225 * Generally it isn't good to access .bi_io_vec and .bi_vcnt directly,
228 * .bi_vcnt & .bi_io_vec in this way even after multipage bvec is
234 struct bio_vec *bv = bio->bi_io_vec;
277 for (i = 0, bv = bio->bi_io_vec; i < bio->bi_vcnt; bv++, i++) {
280 while (--bv >= bio->bi_io_vec)
/linux-master/block/
H A Dbio.c236 bvec_free(&bs->bvec_pool, bio->bi_io_vec, bio->bi_max_vecs);
283 bio->bi_io_vec = table;
861 bio->bi_io_vec = bio_src->bi_io_vec;
884 bio_init(bio, bdev, bio_src->bi_io_vec, 0, bio_src->bi_opf);
982 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1];
1002 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, offset);
1081 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, off);
1108 bvec_try_merge_page(&bio->bi_io_vec[bio->bi_vcnt - 1],
1189 bio->bi_io_vec
[all...]
H A Dbounce.c149 * bio_src->bi_io_vec to bio->bi_io_vec.
183 bio->bi_io_vec[bio->bi_vcnt++] = bv;
242 for (i = 0, to = bio->bi_io_vec; i < bio->bi_vcnt; to++, i++) {
H A Dblk-crypto-fallback.c150 mempool_free(enc_bio->bi_io_vec[i].bv_page,
180 bio->bi_io_vec[bio->bi_vcnt++] = bv;
318 struct bio_vec *enc_bvec = &enc_bio->bi_io_vec[i];
360 mempool_free(enc_bio->bi_io_vec[--i].bv_page,
H A Dblk.h325 * bi_io_vec[0] is always valid if a bio has data. The check might
331 bio->bi_io_vec->bv_len + bio->bi_io_vec->bv_offset > PAGE_SIZE;
H A Dblk-merge.c23 *bv = mp_bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter);
42 *bv = bio->bi_io_vec[idx];
269 * Except for discard requests the cloned bio will point at the bi_io_vec of
H A Dblk-map.c366 len += bio->bi_io_vec[i].bv_len;
/linux-master/drivers/md/
H A Ddm-io-rewind.c119 dm_bvec_iter_rewind(bio->bi_io_vec, iter, bytes);
H A Ddm-flakey.c460 struct bio_vec bvec = bvec_iter_bvec(bio->bi_io_vec, iter);
466 bvec_iter_advance(bio->bi_io_vec, &iter, this_step);
H A Ddm-io.c247 dp->context_ptr = bio->bi_io_vec;
H A Draid5.c1286 bi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf);
1287 bi->bi_io_vec[0].bv_offset = sh->dev[i].offset;
1333 rbi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf);
1334 rbi->bi_io_vec[0].bv_offset = sh->dev[i].offset;
/linux-master/drivers/md/dm-vdo/
H A Dvio.c205 bio->bi_io_vec = bio->bi_inline_vecs;
/linux-master/fs/bcachefs/
H A Dio_read.c152 memcpy(bio->bi_io_vec, rbio->bio.bi_io_vec,
/linux-master/drivers/block/drbd/
H A Ddrbd_bitmap.c966 mempool_free(bio->bi_io_vec[0].bv_page, &drbd_md_io_page_pool);
/linux-master/drivers/block/
H A Dloop.c434 bvec = __bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter);
/linux-master/drivers/nvme/host/
H A Dtcp.c327 vec = __bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter);

Completed in 848 milliseconds