Lines Matching refs:bio_vec
157 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs) in bvec_free()
177 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
197 struct bio_vec *bvl; in bvec_alloc()
251 void bio_init(struct bio *bio, struct bio_vec *table, in bio_init()
477 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
531 struct bio_vec bv; in zero_fill_bio()
551 struct bio_vec bv; in bio_truncate()
775 static inline bool page_is_mergeable(const struct bio_vec *bv, in page_is_mergeable()
803 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg()
832 struct bio_vec *bvec; in bio_add_hw_page()
948 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page()
977 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page()
1021 struct bio_vec *bvec; in bio_release_pages()
1039 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in __bio_iov_bvec_set()
1072 #define PAGE_PTRS_PER_BVEC (sizeof(struct bio_vec) / sizeof(struct page *))
1088 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_iter_get_pages()
1135 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_append_get_pages()
1288 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1289 struct bio_vec dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1322 struct bio_vec *bvec; in bio_free_pages()
1361 struct bio_vec *bvec; in bio_set_pages_dirty()
1409 struct bio_vec *bvec; in bio_check_pages_dirty()
1631 bs->back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); in bioset_init()
1738 bvs->nr_vecs * sizeof(struct bio_vec), 0, in init_bio()