Home
last modified time | relevance | path

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

/Linux-v4.19/block/
Dbio.c684 if (bio->bi_vcnt > 0) { in bio_add_pc_page()
685 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_pc_page()
709 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_pc_page()
713 bio->bi_vcnt++; in bio_add_pc_page()
732 if (bio->bi_vcnt > 1 && (BIOVEC_PHYS_MERGEABLE(bvec-1, bvec))) in bio_add_pc_page()
742 bio->bi_vcnt--; in bio_add_pc_page()
768 if (bio->bi_vcnt > 0) { in __bio_try_merge_page()
769 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page()
794 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page()
804 bio->bi_vcnt++; in __bio_add_page()
[all …]
Dbounce.c242 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; in bounce_clone_bio()
246 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio()
Dblk-lib.c171 bio->bi_vcnt = 1; in __blkdev_issue_write_same()
Dblk-merge.c317 seg_cnt = bio->bi_vcnt; in blk_recount_segments()
/Linux-v4.19/drivers/md/bcache/
Dutil.c237 BUG_ON(bio->bi_vcnt); in bch_bio_map()
242 for (; size; bio->bi_vcnt++, bv++) { in bch_bio_map()
Dbtree.c443 b->bio->bi_vcnt = 0; in do_btree_node_write()
/Linux-v4.19/Documentation/block/
Dbiovecs.txt70 reached the end of a bio, not bi_vcnt - and the bio_iovec() macro takes
104 * bi_vcnt can't be trusted or relied upon by driver code - i.e. anything that
108 biovec, in order to calculate bi_vcnt for the new bio we'd have to iterate
111 So, don't use bi_vcnt anymore.
Dbiodoc.txt436 unsigned int bi_vcnt; /* how may bio_vec's */
/Linux-v4.19/include/linux/
Dbio.h132 return bio->bi_vcnt >= bio->bi_max_vecs; in bio_full()
166 for (i = 0, bvl = (bio)->bi_io_vec; i < (bio)->bi_vcnt; i++, bvl++)
315 return bio->bi_vcnt; in bio_pages_all()
332 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all()
Dblk_types.h191 unsigned short bi_vcnt; /* how many bio_vec's */ member
/Linux-v4.19/drivers/lightnvm/
Dpblk-read.c330 if (nr_holes != new_bio->bi_vcnt) { in pblk_setup_partial_read()
364 pblk_bio_free_pages(pblk, new_bio, 0, new_bio->bi_vcnt); in pblk_setup_partial_read()
399 pblk_bio_free_pages(pblk, rqd->bio, 0, rqd->bio->bi_vcnt); in pblk_partial_read_bio()
Dpblk-core.c294 WARN_ON(off + nr_pages != bio->bi_vcnt); in pblk_bio_free_pages()
322 pblk_bio_free_pages(pblk, bio, (bio->bi_vcnt - i), i); in pblk_bio_add_pages()
/Linux-v4.19/drivers/staging/erofs/
Ddata.c292 if (unlikely(bio->bi_vcnt >= bio->bi_max_vecs)) { in erofs_read_raw_page()
/Linux-v4.19/fs/exofs/
Dore_raid.c414 per_dev->bio->bi_vcnt); in _add_to_r4w()
Dore.c650 per_dev->bio->bi_vcnt, in _ore_add_stripe_unit()
/Linux-v4.19/drivers/target/
Dtarget_core_pscsi.c943 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
/Linux-v4.19/drivers/block/
Dpktcdvd.c1130 pkt->bio->bi_vcnt = pkt->frames; in pkt_start_recovery()
1283 pkt_dbg(2, pd, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
/Linux-v4.19/drivers/md/
Draid5.c1136 bi->bi_vcnt = 1; in ops_run_io()
1148 bi->bi_vcnt = 0; in ops_run_io()
1190 rbi->bi_vcnt = 1; in ops_run_io()
1201 rbi->bi_vcnt = 0; in ops_run_io()
Draid10.c4566 read_bio->bi_vcnt = 0; in reshape_request()
/Linux-v4.19/fs/btrfs/
Dinode.c7836 ASSERT(bio->bi_vcnt == 1); in btrfs_retry_endio_nocsum()
7928 ASSERT(bio->bi_vcnt == 1); in btrfs_retry_endio()