Home
last modified time | relevance | path

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

/include/linux/
Dbvec.h36 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()
[all …]
Dbio.h178 struct bio_vec bv; in bio_segments() local
197 bio_for_each_segment(bv, bio, iter) in bio_segments()
248 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec() argument
250 *bv = bio_iovec(bio); in bio_get_first_bvec()
253 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec() argument
259 *bv = bio_iovec(bio); in bio_get_last_bvec()
270 *bv = bio->bi_io_vec[idx]; in bio_get_last_bvec()
277 bv->bv_len = iter.bi_bvec_done; in bio_get_last_bvec()
Dblkdev.h680 #define dma_map_bvec(dev, bv, dir, attrs) \ argument
681 dma_map_page_attrs(dev, (bv)->bv_page, (bv)->bv_offset, (bv)->bv_len, \
/include/linux/ceph/
Dmessenger.h120 struct bio_vec bv; \
125 __bio_for_each_segment(bv, (it)->bio, __cur_iter, __cur_iter) \
153 struct bio_vec bv; \
158 for_each_bvec(bv, (it)->bvecs, __cur_iter, __cur_iter) \