Lines Matching refs:bio_vec

158 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs)  in bvec_free()
178 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
198 struct bio_vec *bvl; in bvec_alloc()
252 void bio_init(struct bio *bio, struct bio_vec *table, in bio_init()
479 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
533 struct bio_vec bv; in zero_fill_bio()
553 struct bio_vec bv; in bio_truncate()
794 static inline bool page_is_mergeable(const struct bio_vec *bv, in page_is_mergeable()
836 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page()
860 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg()
889 struct bio_vec *bvec; in bio_add_hw_page()
995 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page()
1039 struct bio_vec *bvec; in __bio_release_pages()
1063 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1078 #define PAGE_PTRS_PER_BVEC (sizeof(struct bio_vec) / sizeof(struct page *))
1094 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_iter_get_pages()
1141 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_append_get_pages()
1283 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1284 struct bio_vec dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1317 struct bio_vec *bvec; in bio_free_pages()
1356 struct bio_vec *bvec; in bio_set_pages_dirty()
1404 struct bio_vec *bvec; in bio_check_pages_dirty()
1626 bs->back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); in bioset_init()
1733 bvs->nr_vecs * sizeof(struct bio_vec), 0, in init_bio()