Searched refs:bi_vcnt (Results 1 – 20 of 20) sorted by relevance
/Linux-v4.19/block/ |
D | bio.c | 684 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 …]
|
D | bounce.c | 242 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()
|
D | blk-lib.c | 171 bio->bi_vcnt = 1; in __blkdev_issue_write_same()
|
D | blk-merge.c | 317 seg_cnt = bio->bi_vcnt; in blk_recount_segments()
|
/Linux-v4.19/drivers/md/bcache/ |
D | util.c | 237 BUG_ON(bio->bi_vcnt); in bch_bio_map() 242 for (; size; bio->bi_vcnt++, bv++) { in bch_bio_map()
|
D | btree.c | 443 b->bio->bi_vcnt = 0; in do_btree_node_write()
|
/Linux-v4.19/Documentation/block/ |
D | biovecs.txt | 70 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.
|
D | biodoc.txt | 436 unsigned int bi_vcnt; /* how may bio_vec's */
|
/Linux-v4.19/include/linux/ |
D | bio.h | 132 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()
|
D | blk_types.h | 191 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
/Linux-v4.19/drivers/lightnvm/ |
D | pblk-read.c | 330 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()
|
D | pblk-core.c | 294 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/ |
D | data.c | 292 if (unlikely(bio->bi_vcnt >= bio->bi_max_vecs)) { in erofs_read_raw_page()
|
/Linux-v4.19/fs/exofs/ |
D | ore_raid.c | 414 per_dev->bio->bi_vcnt); in _add_to_r4w()
|
D | ore.c | 650 per_dev->bio->bi_vcnt, in _ore_add_stripe_unit()
|
/Linux-v4.19/drivers/target/ |
D | target_core_pscsi.c | 943 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
/Linux-v4.19/drivers/block/ |
D | pktcdvd.c | 1130 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/ |
D | raid5.c | 1136 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()
|
D | raid10.c | 4566 read_bio->bi_vcnt = 0; in reshape_request()
|
/Linux-v4.19/fs/btrfs/ |
D | inode.c | 7836 ASSERT(bio->bi_vcnt == 1); in btrfs_retry_endio_nocsum() 7928 ASSERT(bio->bi_vcnt == 1); in btrfs_retry_endio()
|