Home
last modified time | relevance | path

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

/linux/block/
H A Dbio.c250 bio->bi_vcnt = 0; in bio_init()
306 unsigned short vcnt = bio->bi_vcnt, i; in bio_reuse()
317 bio->bi_vcnt = vcnt; in bio_reuse()
943 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full()
1014 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, off); in __bio_add_page()
1016 bio->bi_vcnt++; in __bio_add_page()
1056 if (bio->bi_vcnt > 0) { in bio_add_page()
1057 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_page()
1068 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_add_page()
1218 if (!--bio->bi_vcnt) in bio_iov_iter_align_down()
[all …]
H A Dblk-map.c298 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
/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()
/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.
/linux/include/linux/
H A Dbio.h97 if (iter->idx >= bio->bi_vcnt) in bio_next_segment()
183 i < (bio)->bi_vcnt; i++, bvl++)
281 if (unlikely(i >= bio->bi_vcnt)) { in bio_first_folio()
H A Dblk_types.h270 unsigned short bi_vcnt; /* how many bio_vec's */ member
/linux/fs/erofs/
H A Dfileio.c57 iov_iter_bvec(&iter, ITER_DEST, rq->bvecs, rq->bio.bi_vcnt, in erofs_fileio_rq_submit()
/linux/drivers/md/
H A Ddm-flakey.c411 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in clone_free()
H A Draid5.c1298 bi->bi_vcnt = 1; in ops_run_io()
1307 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()
/linux/drivers/target/
H A Dtarget_core_pscsi.c884 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
/linux/fs/iomap/
H A Ddirect-io.c285 u32 vec_count = ioend->io_bio.bi_vcnt; in iomap_finish_ioend_direct()
/linux/fs/btrfs/
H A Dinode.c827 ASSERT(bio->bi_vcnt); in compressed_bio_last_folio()
829 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in compressed_bio_last_folio()