Lines Matching refs:bvec
795 struct bio_vec *bvec; in bio_add_hw_page() local
811 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
812 if (bvec_gap_to_prev(q, bvec, offset)) in bio_add_hw_page()
822 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page()
823 bvec->bv_page = page; in bio_add_hw_page()
824 bvec->bv_len = len; in bio_add_hw_page()
825 bvec->bv_offset = offset; in bio_add_hw_page()
951 struct bio_vec *bvec; in bio_release_pages() local
956 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_release_pages()
957 if (mark_dirty && !PageCompound(bvec->bv_page)) in bio_release_pages()
958 set_page_dirty_lock(bvec->bv_page); in bio_release_pages()
959 put_page(bvec->bv_page); in bio_release_pages()
966 const struct bio_vec *bv = iter->bvec; in __bio_iov_bvec_add_pages()
1286 struct bio_vec *bvec; in bio_free_pages() local
1289 bio_for_each_segment_all(bvec, bio, iter_all) in bio_free_pages()
1290 __free_page(bvec->bv_page); in bio_free_pages()
1325 struct bio_vec *bvec; in bio_set_pages_dirty() local
1328 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_set_pages_dirty()
1329 if (!PageCompound(bvec->bv_page)) in bio_set_pages_dirty()
1330 set_page_dirty_lock(bvec->bv_page); in bio_set_pages_dirty()
1373 struct bio_vec *bvec; in bio_check_pages_dirty() local
1377 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_check_pages_dirty()
1378 if (!PageDirty(bvec->bv_page) && !PageCompound(bvec->bv_page)) in bio_check_pages_dirty()