diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-08-28 08:05:58 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:11 +0200 |
commit | 879040742cf09f2360a9ac41846288707e4e567c (patch) | |
tree | 7768750efd0d8ef28a183f8cd781b0c878212795 /crypto | |
parent | bio: convert bio_copy_kern to use bio_copy_user (diff) | |
download | linux-879040742cf09f2360a9ac41846288707e4e567c.tar.xz linux-879040742cf09f2360a9ac41846288707e4e567c.zip |
block: add blk_rq_aligned helper function
This adds blk_rq_aligned helper function to see if alignment and
padding requirement is satisfied for DMA transfer. This also converts
blk_rq_map_kern and __blk_rq_map_user to use the helper function.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions