Lines Matching refs:bi_vcnt
276 bio->bi_vcnt = 0;
913 if (bio->bi_vcnt >= bio->bi_max_vecs)
992 if (bio->bi_vcnt > 0) {
993 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1];
1001 if (bio->bi_vcnt >=
1013 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, offset);
1014 bio->bi_vcnt++;
1092 bvec_set_page(&bio->bi_io_vec[bio->bi_vcnt], page, len, off);
1094 bio->bi_vcnt++;
1106 * if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.
1118 if (bio->bi_vcnt > 0 &&
1119 bvec_try_merge_page(&bio->bi_io_vec[bio->bi_vcnt - 1],
1125 if (bio->bi_vcnt >= bio->bi_max_vecs)
1200 bio->bi_vcnt = iter->nr_segs;
1215 if (bio->bi_vcnt > 0 &&
1216 bvec_try_merge_page(&bio->bi_io_vec[bio->bi_vcnt - 1],
1256 unsigned short nr_pages = bio->bi_max_vecs - bio->bi_vcnt;
1257 unsigned short entries_left = bio->bi_max_vecs - bio->bi_vcnt;
1258 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt;
1364 return bio->bi_vcnt ? 0 : ret;