Lines Matching refs:bvec
794 struct bio_vec *bvec; in bio_add_hw_page() local
810 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
811 if (bvec_gap_to_prev(q, bvec, offset)) in bio_add_hw_page()
821 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page()
822 bvec->bv_page = page; in bio_add_hw_page()
823 bvec->bv_len = len; in bio_add_hw_page()
824 bvec->bv_offset = offset; in bio_add_hw_page()
950 struct bio_vec *bvec; in bio_release_pages() local
955 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_release_pages()
956 if (mark_dirty && !PageCompound(bvec->bv_page)) in bio_release_pages()
957 set_page_dirty_lock(bvec->bv_page); in bio_release_pages()
958 put_page(bvec->bv_page); in bio_release_pages()
965 const struct bio_vec *bv = iter->bvec; in __bio_iov_bvec_add_pages()
1277 struct bio_vec *bvec; in bio_free_pages() local
1280 bio_for_each_segment_all(bvec, bio, iter_all) in bio_free_pages()
1281 __free_page(bvec->bv_page); in bio_free_pages()
1316 struct bio_vec *bvec; in bio_set_pages_dirty() local
1319 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_set_pages_dirty()
1320 if (!PageCompound(bvec->bv_page)) in bio_set_pages_dirty()
1321 set_page_dirty_lock(bvec->bv_page); in bio_set_pages_dirty()
1364 struct bio_vec *bvec; in bio_check_pages_dirty() local
1368 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_check_pages_dirty()
1369 if (!PageDirty(bvec->bv_page) && !PageCompound(bvec->bv_page)) in bio_check_pages_dirty()