VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Ming Lei <ming.lei@redhat.com> 2021-01-11 11:05:56 +0800 committer: Jens Axboe <axboe@kernel.dk> 2021-01-24 21:24:06 -0700 commit: eec716a1c18c796a69db0be5e2a6f282ba5bccd6 parent: baa2c7c97153b8064dbeeb99f2f72de3a75c90a7
Commit Summary:
block: move three bvec helpers declaration into private helper
Diffstat:
1 file changed, 4 insertions, 0 deletions
diff --git a/block/blk.h b/block/blk.h
index ab0aaf958553..0198335c5838 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -55,6 +55,10 @@ void blk_free_flush_queue(struct blk_flush_queue *q);
 
 void blk_freeze_queue(struct request_queue *q);
 
+struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *);
+void bvec_free(mempool_t *, struct bio_vec *, unsigned int);
+unsigned int bvec_nr_vecs(unsigned short idx);
+
 static inline bool biovec_phys_mergeable(struct request_queue *q,
 		struct bio_vec *vec1, struct bio_vec *vec2)
 {