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()
241 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
532 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
587 struct bio_vec bv; in zero_fill_bio()
607 struct bio_vec bv; in bio_truncate()
854 static inline bool page_is_mergeable(const struct bio_vec *bv, in page_is_mergeable()
898 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page()
922 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg()
951 struct bio_vec *bvec; in bio_add_hw_page()
1057 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page()
1120 struct bio_vec *bvec; in __bio_release_pages()
1144 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1180 #define PAGE_PTRS_PER_BVEC (sizeof(struct bio_vec) / sizeof(struct page *))
1196 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_iter_get_pages()
1349 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1350 struct bio_vec dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1385 struct bio_vec *bvec; in bio_free_pages()
1424 struct bio_vec *bvec; in bio_set_pages_dirty()
1472 struct bio_vec *bvec; in bio_check_pages_dirty()
1693 bs->back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); in bioset_init()
1742 bvs->nr_vecs * sizeof(struct bio_vec), 0, in init_bio()