Lines Matching refs:bv
157 void bvec_free_bs(struct bio_set *bs, struct bio_vec *bv, unsigned int idx) in bvec_free_bs() argument
162 mempool_free(bv, bs->bvec_pool); in bvec_free_bs()
166 kmem_cache_free(bvs->slab, bv); in bvec_free_bs()
393 struct bio_vec *bv; in zero_fill_bio() local
396 bio_for_each_segment(bv, bio, i) { in zero_fill_bio()
397 char *data = bvec_kmap_irq(bv, &flags); in zero_fill_bio()
398 memset(data, 0, bv->bv_len); in zero_fill_bio()
399 flush_dcache_page(bv->bv_page); in zero_fill_bio()
1559 struct bio_vec *bv; in bio_sector_offset() local
1569 __bio_for_each_segment(bv, bio, i, 0) { in bio_sector_offset()
1571 if (offset > bv->bv_offset) in bio_sector_offset()
1572 sectors += (offset - bv->bv_offset) / sector_sz; in bio_sector_offset()
1576 sectors += bv->bv_len / sector_sz; in bio_sector_offset()