blk-map.c (e4581105771b3523ced88f781eb2672195d217aa) blk-map.c (a892c8d52c02284076fbbacae6692aa5c5807d11)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Functions related to mapping data to requests
4 */
5#include <linux/kernel.h>
6#include <linux/sched/task_stack.h>
7#include <linux/module.h>
8#include <linux/bio.h>

--- 536 unchanged lines hidden (view full) ---

545 *bio = orig_bio;
546 }
547 return -EINVAL;
548 }
549
550 rq->biotail->bi_next = *bio;
551 rq->biotail = *bio;
552 rq->__data_len += (*bio)->bi_iter.bi_size;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Functions related to mapping data to requests
4 */
5#include <linux/kernel.h>
6#include <linux/sched/task_stack.h>
7#include <linux/module.h>
8#include <linux/bio.h>

--- 536 unchanged lines hidden (view full) ---

545 *bio = orig_bio;
546 }
547 return -EINVAL;
548 }
549
550 rq->biotail->bi_next = *bio;
551 rq->biotail = *bio;
552 rq->__data_len += (*bio)->bi_iter.bi_size;
553 bio_crypt_free_ctx(*bio);
553 }
554
555 return 0;
556}
557EXPORT_SYMBOL(blk_rq_append_bio);
558
559static int __blk_rq_unmap_user(struct bio *bio)
560{

--- 202 unchanged lines hidden ---
554 }
555
556 return 0;
557}
558EXPORT_SYMBOL(blk_rq_append_bio);
559
560static int __blk_rq_unmap_user(struct bio *bio)
561{

--- 202 unchanged lines hidden ---