Searched refs:bi_vcnt (Results 1 – 18 of 18) sorted by relevance
/kernel/linux/linux-5.10/block/ |
D | bio.c | 766 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg() 803 if (bio->bi_vcnt > 0) { in bio_add_hw_page() 811 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page() 819 if (bio->bi_vcnt >= queue_max_segments(q)) in bio_add_hw_page() 822 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page() 826 bio->bi_vcnt++; in bio_add_hw_page() 877 if (bio->bi_vcnt > 0) { in __bio_try_merge_page() 878 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page() 907 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page() 917 bio->bi_vcnt++; in __bio_add_page() [all …]
|
D | bounce.c | 262 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; in bounce_clone_bio() 266 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio() 322 for (i = 0, to = bio->bi_io_vec; i < bio->bi_vcnt; to++, i++) { in __blk_queue_bounce()
|
D | blk-crypto-fallback.c | 151 for (i = 0; i < enc_bio->bi_vcnt; i++) in blk_crypto_fallback_encrypt_endio() 178 bio->bi_io_vec[bio->bi_vcnt++] = bv; in blk_crypto_clone_bio() 313 for (i = 0; i < enc_bio->bi_vcnt; i++) { in blk_crypto_fallback_encrypt_bio()
|
D | blk-lib.c | 194 bio->bi_vcnt = 1; in __blkdev_issue_write_same()
|
D | blk-map.c | 358 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
|
D | blk-merge.c | 326 (*bio)->bi_vcnt == 1 && in __blk_queue_split()
|
/kernel/linux/linux-5.10/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() 277 for (i = 0, bv = bio->bi_io_vec; i < bio->bi_vcnt; bv++, i++) { in bch_bio_alloc_pages()
|
D | btree.c | 393 b->bio->bi_vcnt = 0; in do_btree_node_write()
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | biovecs.rst | 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.rst | 461 unsigned int bi_vcnt; /* how may bio_vec's */
|
/kernel/linux/linux-5.10/include/linux/ |
D | bio.h | 110 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full() 122 if (iter->idx >= bio->bi_vcnt) in bio_next_segment() 173 i < (bio)->bi_vcnt; i++, bvl++) \ 295 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all()
|
D | blk_types.h | 246 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-core.c | 330 for (i = 0; i < bio->bi_vcnt; i++) { in pblk_bio_free_pages() 359 pblk_bio_free_pages(pblk, bio, (bio->bi_vcnt - i), i); in pblk_bio_add_pages() 2127 rqd->bio->bi_io_vec[rqd->bio->bi_vcnt - 1].bv_page); in pblk_get_meta_for_writes() 2142 page = page_to_virt(rqd->bio->bi_io_vec[rqd->bio->bi_vcnt - 1].bv_page); in pblk_get_packed_meta()
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_pscsi.c | 913 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | raid5.c | 1209 bi->bi_vcnt = 1; in ops_run_io() 1221 bi->bi_vcnt = 0; in ops_run_io() 1263 rbi->bi_vcnt = 1; in ops_run_io() 1274 rbi->bi_vcnt = 0; in ops_run_io()
|
D | raid10.c | 4546 read_bio->bi_vcnt = 0; in reshape_request()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | pktcdvd.c | 1224 pkt_dbg(2, pd, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | data.c | 762 unsigned int left_vecs = bio->bi_max_vecs - bio->bi_vcnt; in io_is_mergeable()
|