Lines Matching defs:bvec
587 * Don't touch bvec table here and make it really immutable, since
592 * correct bvec with the updated .bi_size for drivers.
795 struct bio_vec *bvec;
811 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1];
812 if (bvec_gap_to_prev(q, bvec, offset))
822 bvec = &bio->bi_io_vec[bio->bi_vcnt];
823 bvec->bv_page = page;
824 bvec->bv_len = len;
825 bvec->bv_offset = offset;
856 * __bio_try_merge_page - try appending data to an existing bvec.
863 * Try to add the data at @page + @off to the last bvec of @bio. This is a
901 * Add the data at @page + @off to @bio as a new bvec. The caller must ensure
902 * that @bio has space for another bvec.
951 struct bio_vec *bvec;
956 bio_for_each_segment_all(bvec, bio, iter_all) {
958 set_page_dirty_lock(bvec->bv_page);
959 put_page(bvec->bv_page);
966 const struct bio_vec *bv = iter->bvec;
997 * Pins pages from *iter and appends them to @bio's bvec array. The
1184 * complete doesn't align with a bvec boundary, then bv_len and bv_offset will
1185 * be updated on the last bvec as well.
1286 struct bio_vec *bvec;
1289 bio_for_each_segment_all(bvec, bio, iter_all)
1290 __free_page(bvec->bv_page);
1325 struct bio_vec *bvec;
1328 bio_for_each_segment_all(bvec, bio, iter_all) {
1329 set_page_dirty_lock(bvec->bv_page);
1372 struct bio_vec *bvec;
1376 bio_for_each_segment_all(bvec, bio, iter_all) {
1377 if (!PageDirty(bvec->bv_page))