Searched hist:"68154 e90c9d1492d570671ae181d9a8f8530da55" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-map.c | diff 68154e90c9d1492d570671ae181d9a8f8530da55 Fri Apr 25 05:47:50 CDT 2008 FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> block: add dma alignment and padding support to blk_rq_map_kern
This patch adds bio_copy_kern similar to bio_copy_user. blk_rq_map_kern uses bio_copy_kern instead of bio_map_kern if necessary.
bio_copy_kern uses temporary pages and the bi_end_io callback frees these pages. bio_copy_kern saves the original kernel buffer at bio->bi_private it doesn't use something like struct bio_map_data to store the information about the caller.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|
/openbmc/linux/include/linux/ |
H A D | bio.h | diff 68154e90c9d1492d570671ae181d9a8f8530da55 Fri Apr 25 05:47:50 CDT 2008 FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> block: add dma alignment and padding support to blk_rq_map_kern
This patch adds bio_copy_kern similar to bio_copy_user. blk_rq_map_kern uses bio_copy_kern instead of bio_map_kern if necessary.
bio_copy_kern uses temporary pages and the bi_end_io callback frees these pages. bio_copy_kern saves the original kernel buffer at bio->bi_private it doesn't use something like struct bio_map_data to store the information about the caller.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|