Searched refs:bi_vcnt (Results 1 - 21 of 21) sorted by relevance

/linux-master/block/
H A Dbio.c276 bio->bi_vcnt = 0;
902 if (bio->bi_vcnt >= bio->bi_max_vecs)
981 if (bio->bi_vcnt > 0) {
982 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1];
990 if (bio->bi_vcnt >=
1002 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, offset);
1003 bio->bi_vcnt++;
1081 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, off);
1083 bio->bi_vcnt++;
1095 * if either bio->bi_vcnt
[all...]
H A Dbounce.c161 * - Lastly, bi_vcnt should not be looked at or relied upon by code
183 bio->bi_io_vec[bio->bi_vcnt++] = bv;
242 for (i = 0, to = bio->bi_io_vec; i < bio->bi_vcnt; to++, i++) {
H A Dblk-crypto-fallback.c149 for (i = 0; i < enc_bio->bi_vcnt; i++)
180 bio->bi_io_vec[bio->bi_vcnt++] = bv;
317 for (i = 0; i < enc_bio->bi_vcnt; i++) {
H A Dblk-map.c365 for (i = 0; i < bio->bi_vcnt; i++)
H A Dblk.h330 return lim->chunk_sectors || bio->bi_vcnt != 1 ||
/linux-master/drivers/md/bcache/
H A Dutil.c225 * Generally it isn't good to access .bi_io_vec and .bi_vcnt directly,
228 * .bi_vcnt & .bi_io_vec in this way even after multipage bvec is
237 BUG_ON(bio->bi_vcnt);
242 for (; size; bio->bi_vcnt++, bv++) {
263 * Allocates pages up to @bio->bi_vcnt.
277 for (i = 0, bv = bio->bi_io_vec; i < bio->bi_vcnt; bv++, i++) {
H A Dbtree.c393 b->bio->bi_vcnt = 0;
/linux-master/include/linux/
H A Dbio.h84 if (iter->idx >= bio->bi_vcnt)
170 i < (bio)->bi_vcnt; i++, bvl++)
264 return &bio->bi_io_vec[bio->bi_vcnt - 1];
289 if (unlikely(i >= bio->bi_vcnt)) {
H A Dblk_types.h264 unsigned short bi_vcnt; /* how many bio_vec's */ member in struct:bio
/linux-master/fs/bcachefs/
H A Dio_read.c150 BUG_ON(rbio->bio.bi_vcnt > bio->bi_max_vecs);
153 sizeof(struct bio_vec) * rbio->bio.bi_vcnt);
154 swap(bio->bi_vcnt, rbio->bio.bi_vcnt);
862 if (pick.crc.compressed_size > orig->bio.bi_vcnt * PAGE_SECTORS)
H A Dcompress.c230 BUG_ON(!bio->bi_vcnt);
H A Dfs-io-buffered.c20 if (bio->bi_vcnt >= bio->bi_max_vecs)
108 bio->bi_vcnt < bio->bi_max_vecs) {
H A Ddata_update.c345 BUG_ON(!m->op.wbio.bio.bi_vcnt);
H A Dmove.c335 io->rbio.bio.bi_vcnt = pages;
H A Dio_write.c106 bio->bi_vcnt = 0;
/linux-master/drivers/md/
H A Ddm-flakey.c396 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */
H A Draid5.c1285 bi->bi_vcnt = 1;
1290 * If this is discard request, set bi_vcnt 0. We don't
1294 bi->bi_vcnt = 0;
1332 rbi->bi_vcnt = 1;
1337 * If this is discard request, set bi_vcnt 0. We don't
1341 rbi->bi_vcnt = 0;
H A Ddm-crypt.c1748 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */
/linux-master/fs/erofs/
H A Dfscache.c213 iov_iter_bvec(&io->io.iter, ITER_DEST, io->bvecs, bio->bi_vcnt,
/linux-master/drivers/target/
H A Dtarget_core_pscsi.c880 pr_debug("PSCSI: bio->bi_vcnt: %d nr_vecs: %d\n",
883 pr_debug("PSCSI: Reached bio->bi_vcnt max:"
885 " bio\n", bio->bi_vcnt, i, bio);
/linux-master/drivers/block/
H A Dpktcdvd.c1287 dev_dbg(ddev, "vcnt=%d\n", pkt->w_bio->bi_vcnt);

Completed in 364 milliseconds