async_tx: structify submission arguments, add scribble
authorDan Williams <dan.j.williams@intel.com>
Wed, 3 Jun 2009 18:43:59 +0000 (11:43 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 3 Jun 2009 21:07:35 +0000 (14:07 -0700)
commita08abd8ca890a377521d65d493d174bebcaf694b
tree987c149a2d7d6ab345f426ac28191627b4a02a3e
parent88ba2aa586c874681c072101287e15d40de7e6e2
async_tx: structify submission arguments, add scribble

Prepare the api for the arrival of a new parameter, 'scribble'.  This
will allow callers to identify scratchpad memory for dma address or page
address conversions.  As this adds yet another parameter, take this
opportunity to convert the common submission parameters (flags,
dependency, callback, and callback argument) into an object that is
passed by reference.

Also, take this opportunity to fix up the kerneldoc and add notes about
the relevant ASYNC_TX_* flags for each routine.

[ Impact: moves api pass-by-value parameters to a pass-by-reference struct ]

Signed-off-by: Andre Noll <maan@systemlinux.org>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Documentation/crypto/async-tx-api.txt
crypto/async_tx/async_memcpy.c
crypto/async_tx/async_memset.c
crypto/async_tx/async_tx.c
crypto/async_tx/async_xor.c
drivers/md/raid5.c
include/linux/async_tx.h