Lines Matching refs:bvec
951 struct bio_vec *bvec; in bio_add_hw_page() local
967 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
968 if (bvec_gap_to_prev(&q->limits, bvec, offset)) in bio_add_hw_page()
978 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_hw_page()
979 bvec->bv_page = page; in bio_add_hw_page()
980 bvec->bv_len = len; in bio_add_hw_page()
981 bvec->bv_offset = offset; in bio_add_hw_page()
1120 struct bio_vec *bvec; in __bio_release_pages() local
1122 bio_for_each_segment_all(bvec, bio, iter_all) { in __bio_release_pages()
1123 if (mark_dirty && !PageCompound(bvec->bv_page)) in __bio_release_pages()
1124 set_page_dirty_lock(bvec->bv_page); in __bio_release_pages()
1125 put_page(bvec->bv_page); in __bio_release_pages()
1144 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1385 struct bio_vec *bvec; in bio_free_pages() local
1388 bio_for_each_segment_all(bvec, bio, iter_all) in bio_free_pages()
1389 __free_page(bvec->bv_page); in bio_free_pages()
1424 struct bio_vec *bvec; in bio_set_pages_dirty() local
1427 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_set_pages_dirty()
1428 if (!PageCompound(bvec->bv_page)) in bio_set_pages_dirty()
1429 set_page_dirty_lock(bvec->bv_page); in bio_set_pages_dirty()
1472 struct bio_vec *bvec; in bio_check_pages_dirty() local
1476 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_check_pages_dirty()
1477 if (!PageDirty(bvec->bv_page) && !PageCompound(bvec->bv_page)) in bio_check_pages_dirty()