Lines Matching defs:bio_vec
20 * struct bio_vec - a contiguous range of physical memory addresses
31 struct bio_vec {
44 static inline void bvec_set_page(struct bio_vec *bv, struct page *page,
59 static inline void bvec_set_folio(struct bio_vec *bv, struct folio *folio,
71 static inline void bvec_set_virt(struct bio_vec *bv, void *vaddr,
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,
168 static inline void bvec_iter_advance_single(const struct bio_vec *bv,
181 #define for_each_bvec(bvl, bio_vec, iter, start) \
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)
204 static inline void bvec_advance(const struct bio_vec *bvec,
207 struct bio_vec *bv = &iter_all->bv;
233 static inline void *bvec_kmap_local(struct bio_vec *bvec)
244 static inline void memcpy_from_bvec(char *to, struct bio_vec *bvec)
255 static inline void memcpy_to_bvec(struct bio_vec *bvec, const char *from)
266 static inline void memzero_bvec(struct bio_vec *bvec)
277 static inline void *bvec_virt(struct bio_vec *bvec)