Lines Matching refs:bvec
797 struct bio_vec *bvec; in bio_add_hw_page() local
813 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
814 if (bvec_gap_to_prev(q, bvec, offset)) in bio_add_hw_page()
824 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page()
825 bvec->bv_page = page; in bio_add_hw_page()
826 bvec->bv_len = len; in bio_add_hw_page()
827 bvec->bv_offset = offset; in bio_add_hw_page()
953 struct bio_vec *bvec; in bio_release_pages() local
958 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_release_pages()
960 set_page_dirty_lock(bvec->bv_page); in bio_release_pages()
961 put_page(bvec->bv_page); in bio_release_pages()
968 const struct bio_vec *bv = iter->bvec; in __bio_iov_bvec_add_pages()
1288 struct bio_vec *bvec; in bio_free_pages() local
1291 bio_for_each_segment_all(bvec, bio, iter_all) in bio_free_pages()
1292 __free_page(bvec->bv_page); in bio_free_pages()
1327 struct bio_vec *bvec; in bio_set_pages_dirty() local
1330 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_set_pages_dirty()
1331 set_page_dirty_lock(bvec->bv_page); in bio_set_pages_dirty()
1374 struct bio_vec *bvec; in bio_check_pages_dirty() local
1378 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_check_pages_dirty()
1379 if (!PageDirty(bvec->bv_page)) in bio_check_pages_dirty()