Lines Matching refs:bvec
889 struct bio_vec *bvec; in bio_add_hw_page() local
905 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
906 if (bvec_gap_to_prev(q, bvec, offset)) in bio_add_hw_page()
916 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page()
917 bvec->bv_page = page; in bio_add_hw_page()
918 bvec->bv_len = len; in bio_add_hw_page()
919 bvec->bv_offset = offset; in bio_add_hw_page()
1039 struct bio_vec *bvec; in __bio_release_pages() local
1041 bio_for_each_segment_all(bvec, bio, iter_all) { in __bio_release_pages()
1042 if (mark_dirty && !PageCompound(bvec->bv_page)) in __bio_release_pages()
1043 set_page_dirty_lock(bvec->bv_page); in __bio_release_pages()
1044 put_page(bvec->bv_page); in __bio_release_pages()
1063 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1317 struct bio_vec *bvec; in bio_free_pages() local
1320 bio_for_each_segment_all(bvec, bio, iter_all) in bio_free_pages()
1321 __free_page(bvec->bv_page); in bio_free_pages()
1356 struct bio_vec *bvec; in bio_set_pages_dirty() local
1359 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_set_pages_dirty()
1360 if (!PageCompound(bvec->bv_page)) in bio_set_pages_dirty()
1361 set_page_dirty_lock(bvec->bv_page); in bio_set_pages_dirty()
1404 struct bio_vec *bvec; in bio_check_pages_dirty() local
1408 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_check_pages_dirty()
1409 if (!PageDirty(bvec->bv_page) && !PageCompound(bvec->bv_page)) in bio_check_pages_dirty()