Home
last modified time | relevance | path

Searched refs:bi_vcnt (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/block/
H A Dbio.c276 bio->bi_vcnt = 0; in bio_init()
899 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full()
975 if (bio->bi_vcnt > 0) { in bio_add_hw_page()
976 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
984 if (bio->bi_vcnt >= in bio_add_hw_page()
996 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, offset); in bio_add_hw_page()
997 bio->bi_vcnt++; in bio_add_hw_page()
1075 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, off); in __bio_add_page()
1077 bio->bi_vcnt++; in __bio_add_page()
1101 if (bio->bi_vcnt > 0 && in bio_add_page()
[all …]
H A 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()
H A Dblk-crypto-fallback.c149 for (i = 0; i < enc_bio->bi_vcnt; i++) in blk_crypto_fallback_encrypt_endio()
179 bio->bi_io_vec[bio->bi_vcnt++] = bv; in blk_crypto_fallback_clone_bio()
316 for (i = 0; i < enc_bio->bi_vcnt; i++) { in blk_crypto_fallback_encrypt_bio()
H A Dblk.h316 return lim->chunk_sectors || bio->bi_vcnt != 1 || in bio_may_exceed_limits()
H A Dblk-map.c365 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
/openbmc/linux/drivers/md/bcache/
H A Dutil.c237 BUG_ON(bio->bi_vcnt); in bch_bio_map()
242 for (; size; bio->bi_vcnt++, bv++) { in bch_bio_map()
277 for (i = 0, bv = bio->bi_io_vec; i < bio->bi_vcnt; bv++, i++) { in bch_bio_alloc_pages()
H A Dbtree.c393 b->bio->bi_vcnt = 0; in do_btree_node_write()
/openbmc/linux/Documentation/block/
H A Dbiovecs.rst72 reached the end of a bio, not bi_vcnt - and the bio_iovec() macro takes
106 * bi_vcnt can't be trusted or relied upon by driver code - i.e. anything that
110 biovec, in order to calculate bi_vcnt for the new bio we'd have to iterate
113 So, don't use bi_vcnt anymore.
/openbmc/linux/include/linux/
H A Dbio.h84 if (iter->idx >= bio->bi_vcnt) in bio_next_segment()
170 i < (bio)->bi_vcnt; i++, bvl++)
264 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all()
289 if (unlikely(i >= bio->bi_vcnt)) { in bio_first_folio()
H A Dblk_types.h305 unsigned short bi_vcnt; /* how many bio_vec's */ member
/openbmc/linux/drivers/md/
H A Ddm-flakey.c396 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in clone_free()
H A Draid5.c1291 bi->bi_vcnt = 1; in ops_run_io()
1300 bi->bi_vcnt = 0; in ops_run_io()
1341 rbi->bi_vcnt = 1; in ops_run_io()
1350 rbi->bi_vcnt = 0; in ops_run_io()
H A Ddm-crypt.c1754 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in crypt_free_buffer_pages()
/openbmc/linux/drivers/target/
H A Dtarget_core_pscsi.c885 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
/openbmc/linux/drivers/block/
H A Dpktcdvd.c1279 dev_dbg(ddev, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()