Home
last modified time | relevance | path

Searched refs:iter_all (Results 1 – 1 of 1) sorted by relevance

/include/linux/
Dbvec.h172 static inline struct bio_vec *bvec_init_iter_all(struct bvec_iter_all *iter_all) in bvec_init_iter_all() argument
174 iter_all->done = 0; in bvec_init_iter_all()
175 iter_all->idx = 0; in bvec_init_iter_all()
177 return &iter_all->bv; in bvec_init_iter_all()
181 struct bvec_iter_all *iter_all) in bvec_advance() argument
183 struct bio_vec *bv = &iter_all->bv; in bvec_advance()
185 if (iter_all->done) { in bvec_advance()
193 bvec->bv_len - iter_all->done); in bvec_advance()
194 iter_all->done += bv->bv_len; in bvec_advance()
196 if (iter_all->done == bvec->bv_len) { in bvec_advance()
[all …]