Lines Matching refs:bv
36 struct bio_vec bv; member
87 static inline bool bvec_iter_advance(const struct bio_vec *bv, in bvec_iter_advance() argument
97 const struct bio_vec *cur = bv + iter->bi_idx; in bvec_iter_advance()
133 return &iter_all->bv; in bvec_init_iter_all()
139 struct bio_vec *bv = &iter_all->bv; in bvec_advance() local
142 bv->bv_page++; in bvec_advance()
143 bv->bv_offset = 0; in bvec_advance()
145 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance()
146 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance()
148 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance()
150 iter_all->done += bv->bv_len; in bvec_advance()