Home
last modified time | relevance | path

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

/linux-6.15/block/
H A Dbio.c276 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 Dbounce.c181 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 Dblk-crypto-fallback.c149 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 Dblk-map.c306 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
H A Dblk.h367 if (bio->bi_vcnt != 1) in bio_may_need_split()
/linux-6.15/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()
/linux-6.15/include/linux/
H A Dbio.h82 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 Dblk_types.h258 unsigned short bi_vcnt; /* how many bio_vec's */ member
/linux-6.15/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.
/linux-6.15/fs/erofs/
H A Dfileio.c61 iov_iter_bvec(&iter, ITER_DEST, rq->bvecs, rq->bio.bi_vcnt, in erofs_fileio_rq_submit()
H A Dfscache.c213 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 Dfs-io-buffered.c20 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 Dcompress.c266 BUG_ON(!bio->bi_vcnt); in bch2_bio_uncompress_inplace()
H A Ddata_update.c451 BUG_ON(!m->op.wbio.bio.bi_vcnt); in bch2_data_update_read_done()
H A Dio_write.c111 bio->bi_vcnt = 0; in bch2_bio_free_pages_pool()
/linux-6.15/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.c1283 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 Ddm-crypt.c1759 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 Ddirect-io.c251 u32 vec_count = ioend->io_bio.bi_vcnt; in iomap_finish_ioend_direct()
/linux-6.15/drivers/target/
H A Dtarget_core_pscsi.c883 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
/linux-6.15/drivers/block/
H A Dpktcdvd.c1285 dev_dbg(ddev, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()