Searched refs:bi_vcnt (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/block/ |
H A D | bio.c | 276 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 D | bounce.c | 182 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 D | blk-crypto-fallback.c | 149 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 D | blk.h | 316 return lim->chunk_sectors || bio->bi_vcnt != 1 || in bio_may_exceed_limits()
|
H A D | blk-map.c | 365 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | util.c | 237 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 D | btree.c | 393 b->bio->bi_vcnt = 0; in do_btree_node_write()
|
/openbmc/linux/Documentation/block/ |
H A D | biovecs.rst | 72 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 D | bio.h | 84 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 D | blk_types.h | 305 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
/openbmc/linux/drivers/md/ |
H A D | dm-flakey.c | 396 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in clone_free()
|
H A D | raid5.c | 1291 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 D | dm-crypt.c | 1754 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 D | target_core_pscsi.c | 885 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
/openbmc/linux/drivers/block/ |
H A D | pktcdvd.c | 1279 dev_dbg(ddev, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
|