Searched refs:bi_vcnt (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.1/block/ |
D | bio.c | 271 bio->bi_vcnt = 0; in bio_init() 847 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full() 897 if (bio->bi_vcnt > 0) { in __bio_try_merge_page() 898 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page() 922 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg() 959 if (bio->bi_vcnt > 0) { in bio_add_hw_page() 967 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page() 975 if (bio->bi_vcnt >= queue_max_segments(q)) in bio_add_hw_page() 978 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page() 982 bio->bi_vcnt++; in bio_add_hw_page() [all …]
|
D | bounce.c | 182 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio() 241 for (i = 0, to = bio->bi_io_vec; i < bio->bi_vcnt; to++, i++) { in __blk_queue_bounce()
|
D | blk-crypto-fallback.c | 149 for (i = 0; i < enc_bio->bi_vcnt; i++) in blk_crypto_fallback_encrypt_endio() 179 bio->bi_io_vec[bio->bi_vcnt++] = bv; in blk_crypto_fallback_clone_bio() 316 for (i = 0; i < enc_bio->bi_vcnt; i++) { in blk_crypto_fallback_encrypt_bio()
|
D | blk.h | 319 return lim->chunk_sectors || bio->bi_vcnt != 1 || in bio_may_exceed_limits()
|
D | blk-map.c | 355 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
|
/Linux-v6.1/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()
|
/Linux-v6.1/Documentation/block/ |
D | biovecs.rst | 72 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-v6.1/include/linux/ |
D | bio.h | 82 if (iter->idx >= bio->bi_vcnt) in bio_next_segment() 168 i < (bio)->bi_vcnt; i++, bvl++) 257 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all() 299 } else if (fi->_i + 1 < bio->bi_vcnt) { in bio_next_folio()
|
D | blk_types.h | 292 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
/Linux-v6.1/drivers/target/ |
D | target_core_pscsi.c | 888 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
/Linux-v6.1/drivers/md/ |
D | raid5.c | 1286 bi->bi_vcnt = 1; in ops_run_io() 1295 bi->bi_vcnt = 0; in ops_run_io() 1336 rbi->bi_vcnt = 1; in ops_run_io() 1345 rbi->bi_vcnt = 0; in ops_run_io()
|
/Linux-v6.1/drivers/block/ |
D | pktcdvd.c | 1245 pkt_dbg(2, pd, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
|
/Linux-v6.1/fs/f2fs/ |
D | data.c | 767 unsigned int left_vecs = bio->bi_max_vecs - bio->bi_vcnt; in io_is_mergeable()
|