Lines Matching refs:bio_vec
162 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs) in bvec_free()
182 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
202 struct bio_vec *bvl; in bvec_alloc()
245 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
304 struct bio_vec *bv = bio->bi_io_vec; in bio_reset()
611 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
660 return kmalloc(sizeof(*bio) + nr_vecs * sizeof(struct bio_vec), in bio_kmalloc()
667 struct bio_vec bv; in zero_fill_bio_iter()
687 struct bio_vec bv; in bio_truncate()
966 static bool bvec_try_merge_page(struct bio_vec *bv, struct page *page, in bvec_try_merge_page()
997 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv, in bvec_try_merge_hw_page()
1071 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_page()
1202 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1225 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_iov_iter_align_down()
1319 struct bio_vec *bv; in bio_free_folios()
1425 static void bvec_unpin(struct bio_vec *bv, bool mark_dirty) in bvec_unpin()
1529 struct bio_vec bv; in bdev_rw_virt()
1579 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1580 struct bio_vec dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1615 struct bio_vec *bvec; in bio_free_pages()
1938 bs->back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); in bioset_init()
1987 bvs->nr_vecs * sizeof(struct bio_vec), 0, in init_bio()