Lines Matching refs:bio_vec
163 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs) in bvec_free()
183 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
203 struct bio_vec *bvl; in bvec_alloc()
246 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
556 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
611 struct bio_vec bv; in zero_fill_bio_iter()
631 struct bio_vec bv; in bio_truncate()
906 static bool bvec_try_merge_page(struct bio_vec *bv, struct page *page, in bvec_try_merge_page()
937 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv, in bvec_try_merge_hw_page()
976 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
1149 struct bio_vec *bvec; in __bio_release_pages()
1173 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1213 #define PAGE_PTRS_PER_BVEC (sizeof(struct bio_vec) / sizeof(struct page *))
1230 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_iter_get_pages()
1394 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1395 struct bio_vec dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1430 struct bio_vec *bvec; in bio_free_pages()
1469 struct bio_vec *bvec; in bio_set_pages_dirty()
1518 struct bio_vec *bvec; in bio_check_pages_dirty()
1740 bs->back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); in bioset_init()
1791 bvs->nr_vecs * sizeof(struct bio_vec), 0, in init_bio()