Lines Matching refs:bio_vec
31 struct bio_vec { struct
44 static inline void bvec_set_page(struct bio_vec *bv, struct page *page, in bvec_set_page() argument
59 static inline void bvec_set_folio(struct bio_vec *bv, struct folio *folio, in bvec_set_folio()
71 static inline void bvec_set_virt(struct bio_vec *bv, void *vaddr, in bvec_set_virt()
89 struct bio_vec bv;
115 ((struct bio_vec) { \
134 ((struct bio_vec) { \
140 static inline bool bvec_iter_advance(const struct bio_vec *bv, in bvec_iter_advance()
168 static inline void bvec_iter_advance_single(const struct bio_vec *bv, in bvec_iter_advance_single()
181 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
184 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
185 bvec_iter_advance_single((bio_vec), &(iter), (bvl).bv_len))
196 static inline struct bio_vec *bvec_init_iter_all(struct bvec_iter_all *iter_all) in bvec_init_iter_all()
204 static inline void bvec_advance(const struct bio_vec *bvec, in bvec_advance()
207 struct bio_vec *bv = &iter_all->bv; in bvec_advance()
233 static inline void *bvec_kmap_local(struct bio_vec *bvec) in bvec_kmap_local()
244 static inline void memcpy_from_bvec(char *to, struct bio_vec *bvec) in memcpy_from_bvec()
255 static inline void memcpy_to_bvec(struct bio_vec *bvec, const char *from) in memcpy_to_bvec()
266 static inline void memzero_bvec(struct bio_vec *bvec) in memzero_bvec()
277 static inline void *bvec_virt(struct bio_vec *bvec) in bvec_virt()