diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-12-18 13:22:03 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-06 17:18:00 +0100 |
commit | 86292abc5af206f64192a0b60da06fd604debdc0 (patch) | |
tree | 7b66d61bb987c976f934316e4b316c0191afe426 /kernel/power | |
parent | block, bfq: remove batches of confusing ifdefs (diff) | |
download | linux-86292abc5af206f64192a0b60da06fd604debdc0.tar.xz linux-86292abc5af206f64192a0b60da06fd604debdc0.zip |
block: introduce bio helpers for converting to multipage bvec
The following helpers are introduced for converting current users of
direct access to bvec table, and prepares for supporting multipage bvec:
bio_pages_all()
bio_first_bvec_all()
bio_first_page_all()
bio_last_bvec_all()
All are named as bio_*_all() to following bio_for_each_segment_all(),
they can only be used on bio of !bio_flagged(bio, BIO_CLONED), that means
the whole bvec table is covered.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions