Searched refs:bi_vcnt (Results 1 – 16 of 16) sorted by relevance
/linux/block/ |
A D | bio.c | 281 bio->bi_vcnt = 0; in bio_init() 787 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full() 835 if (bio->bi_vcnt > 0) { in __bio_try_merge_page() 897 if (bio->bi_vcnt > 0) { in bio_add_hw_page() 905 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page() 913 if (bio->bi_vcnt >= queue_max_segments(q)) in bio_add_hw_page() 916 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page() 920 bio->bi_vcnt++; in bio_add_hw_page() 1005 bio->bi_vcnt++; in __bio_add_page() 1062 bio->bi_vcnt = iter->nr_segs; in bio_iov_bvec_set() [all …]
|
A D | bounce.c | 185 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; in bounce_clone_bio() 189 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bounce_clone_bio() 242 for (i = 0, to = bio->bi_io_vec; i < bio->bi_vcnt; to++, i++) { in __blk_queue_bounce()
|
A D | blk-crypto-fallback.c | 149 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_fallback_clone_bio() 316 for (i = 0; i < enc_bio->bi_vcnt; i++) { in blk_crypto_fallback_encrypt_bio()
|
A D | blk-lib.c | 195 bio->bi_vcnt = 1; in __blkdev_issue_write_same()
|
A D | blk.h | 325 return q->limits.chunk_sectors || bio->bi_vcnt != 1 || in blk_may_split()
|
A D | blk-map.c | 316 for (i = 0; i < bio->bi_vcnt; i++) in bio_invalidate_vmalloc_pages()
|
/linux/drivers/md/bcache/ |
A 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()
|
A D | btree.c | 393 b->bio->bi_vcnt = 0; in do_btree_node_write()
|
/linux/Documentation/block/ |
A 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.
|
A D | biodoc.rst | 461 unsigned int bi_vcnt; /* how may bio_vec's */
|
/linux/include/linux/ |
A D | bio.h | 83 if (iter->idx >= bio->bi_vcnt) in bio_next_segment() 169 i < (bio)->bi_vcnt; i++, bvl++) \ 260 return &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_last_bvec_all()
|
A D | blk_types.h | 279 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
/linux/drivers/target/ |
A D | target_core_pscsi.c | 910 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
/linux/drivers/md/ |
A 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()
|
/linux/drivers/block/ |
A D | pktcdvd.c | 1258 pkt_dbg(2, pd, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
|
/linux/fs/f2fs/ |
A D | data.c | 721 unsigned int left_vecs = bio->bi_max_vecs - bio->bi_vcnt; in io_is_mergeable()
|
Completed in 45 milliseconds