Searched refs:bi_vcnt (Results 1 – 16 of 16) sorted by relevance
/Linux-v6.6/block/ |
D | bio.c | 276 bio->bi_vcnt = 0; in bio_init() 899 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full() 975 if (bio->bi_vcnt > 0) { in bio_add_hw_page() 976 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page() 984 if (bio->bi_vcnt >= in bio_add_hw_page() 996 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, offset); in bio_add_hw_page() 997 bio->bi_vcnt++; in bio_add_hw_page() 1075 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, off); in __bio_add_page() 1077 bio->bi_vcnt++; in __bio_add_page() 1101 if (bio->bi_vcnt > 0 && in bio_add_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 | 316 return lim->chunk_sectors || bio->bi_vcnt != 1 || in bio_may_exceed_limits()
|
D | blk-map.c | 358 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
|
/Linux-v6.6/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.6/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.6/include/linux/ |
D | bio.h | 84 if (iter->idx >= bio->bi_vcnt) in bio_next_segment() 170 i < (bio)->bi_vcnt; i++, bvl++) 264 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all() 306 } else if (fi->_i + 1 < bio->bi_vcnt) { in bio_next_folio()
|
D | blk_types.h | 304 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
/Linux-v6.6/drivers/md/ |
D | dm-flakey.c | 396 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in clone_free()
|
D | raid5.c | 1293 bi->bi_vcnt = 1; in ops_run_io() 1302 bi->bi_vcnt = 0; in ops_run_io() 1343 rbi->bi_vcnt = 1; in ops_run_io() 1352 rbi->bi_vcnt = 0; in ops_run_io()
|
D | dm-crypt.c | 1742 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */ in crypt_free_buffer_pages()
|
/Linux-v6.6/drivers/target/ |
D | target_core_pscsi.c | 885 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
/Linux-v6.6/drivers/block/ |
D | pktcdvd.c | 1279 dev_dbg(ddev, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
|
/Linux-v6.6/fs/f2fs/ |
D | data.c | 803 unsigned int left_vecs = bio->bi_max_vecs - bio->bi_vcnt; in io_is_mergeable()
|