Lines Matching refs:bvec
832 struct bio_vec *bvec; in bio_add_hw_page() local
848 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
849 if (bvec_gap_to_prev(q, bvec, offset)) in bio_add_hw_page()
859 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page()
860 bvec->bv_page = page; in bio_add_hw_page()
861 bvec->bv_len = len; in bio_add_hw_page()
862 bvec->bv_offset = offset; in bio_add_hw_page()
1021 struct bio_vec *bvec; in bio_release_pages() local
1026 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_release_pages()
1027 if (mark_dirty && !PageCompound(bvec->bv_page)) in bio_release_pages()
1028 set_page_dirty_lock(bvec->bv_page); in bio_release_pages()
1029 put_page(bvec->bv_page); in bio_release_pages()
1039 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in __bio_iov_bvec_set()
1322 struct bio_vec *bvec; in bio_free_pages() local
1325 bio_for_each_segment_all(bvec, bio, iter_all) in bio_free_pages()
1326 __free_page(bvec->bv_page); in bio_free_pages()
1361 struct bio_vec *bvec; in bio_set_pages_dirty() local
1364 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_set_pages_dirty()
1365 if (!PageCompound(bvec->bv_page)) in bio_set_pages_dirty()
1366 set_page_dirty_lock(bvec->bv_page); in bio_set_pages_dirty()
1409 struct bio_vec *bvec; in bio_check_pages_dirty() local
1413 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_check_pages_dirty()
1414 if (!PageDirty(bvec->bv_page) && !PageCompound(bvec->bv_page)) in bio_check_pages_dirty()