| /linux-6.15/block/ |
| H A D | bio.c | 276 bio->bi_vcnt = 0; in bio_init() 913 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full() 988 bio->bi_vcnt++; in __bio_add_page() 1012 if (bio->bi_vcnt > 0 && in bio_add_page() 1013 bvec_try_merge_page(&bio->bi_io_vec[bio->bi_vcnt - 1], in bio_add_page() 1019 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_add_page() 1084 bio->bi_vcnt = iter->nr_segs; in bio_iov_bvec_set() 1099 if (bio->bi_vcnt > 0 && in bio_iov_add_folio() 1100 bvec_try_merge_page(&bio->bi_io_vec[bio->bi_vcnt - 1], in bio_iov_add_folio() 1159 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_iter_get_pages() [all …]
|
| H A D | bounce.c | 181 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio() 240 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() 180 bio->bi_io_vec[bio->bi_vcnt++] = bv; in blk_crypto_fallback_clone_bio() 317 for (i = 0; i < enc_bio->bi_vcnt; i++) { in blk_crypto_fallback_encrypt_bio()
|
| H A D | blk-map.c | 306 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
|
| H A D | blk.h | 367 if (bio->bi_vcnt != 1) in bio_may_need_split()
|
| /linux-6.15/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()
|
| /linux-6.15/include/linux/ |
| H A D | bio.h | 82 if (iter->idx >= bio->bi_vcnt) in bio_next_segment() 168 i < (bio)->bi_vcnt; i++, bvl++) 262 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all() 287 if (unlikely(i >= bio->bi_vcnt)) { in bio_first_folio()
|
| H A D | blk_types.h | 258 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
| /linux-6.15/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.
|
| /linux-6.15/fs/erofs/ |
| H A D | fileio.c | 61 iov_iter_bvec(&iter, ITER_DEST, rq->bvecs, rq->bio.bi_vcnt, in erofs_fileio_rq_submit()
|
| H A D | fscache.c | 213 iov_iter_bvec(&io->io.iter, ITER_DEST, io->bvecs, bio->bi_vcnt, in erofs_fscache_submit_bio()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | fs-io-buffered.c | 20 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full() 101 bio->bi_vcnt < bio->bi_max_vecs) { in readpage_bio_extend()
|
| H A D | compress.c | 266 BUG_ON(!bio->bi_vcnt); in bch2_bio_uncompress_inplace()
|
| H A D | data_update.c | 451 BUG_ON(!m->op.wbio.bio.bi_vcnt); in bch2_data_update_read_done()
|
| H A D | io_write.c | 111 bio->bi_vcnt = 0; in bch2_bio_free_pages_pool()
|
| /linux-6.15/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 | 1283 bi->bi_vcnt = 1; in ops_run_io() 1292 bi->bi_vcnt = 0; in ops_run_io() 1330 rbi->bi_vcnt = 1; in ops_run_io() 1339 rbi->bi_vcnt = 0; in ops_run_io()
|
| H A D | dm-crypt.c | 1759 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in crypt_free_buffer_pages()
|
| /linux-6.15/fs/iomap/ |
| H A D | direct-io.c | 251 u32 vec_count = ioend->io_bio.bi_vcnt; in iomap_finish_ioend_direct()
|
| /linux-6.15/drivers/target/ |
| H A D | target_core_pscsi.c | 883 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
| /linux-6.15/drivers/block/ |
| H A D | pktcdvd.c | 1285 dev_dbg(ddev, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
|