summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_crypto.c
AgeCommit message (Expand)Author
2015-07-27zap trailing linefeeds from sr_error() and panic() callsAlexander Hall
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'Kenneth R Westerback
2015-07-19Oops. Missed a file from offset commit.Kenneth R Westerback
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()Kenneth R Westerback
2015-07-05fix a format specifier used in SR_DEBUG printfs.Mike Larkin
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19bcopy to memcpy. ok deraadt millertTed Unangst
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-10-30zero the correct size, then free it.Ted Unangst
2014-10-30add some sizes to free()Ted Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-01-22Remove a pesky free that was supposed to be removed in an earlier commit.Joel Sing
2014-01-21Remove unused variable.Joel Sing
2014-01-21Do not bother calling splvm around crypto_invoke(), as crypto_invoke()Joel Sing
2014-01-21Remove sr_crypto_finish_io - we can just call sr_scsi_done instead now.Joel Sing
2014-01-21Instead of maintaining a completely separate list of crypto work units,Joel Sing
2014-01-21Allow for variable sized work units.Joel Sing
2014-01-21Remove pointless validation - these cases cannot be hit as they haveJoel Sing
2014-01-20Return a user friendly error if we ever encounter an unknown cryptoJoel Sing
2014-01-20Store the algorithm and key length in the discipline data structure,Joel Sing
2014-01-20Remove unused variable.Joel Sing
2014-01-20Do not bother setting crp_desc to NULL, since it does not really gain usJoel Sing
2013-12-21Don't assign a literal number to a variable that otherwise holds an errno.Philip Guenther
2013-11-19Print daddr_t's with %lld, size_t's with %zu, int's with %d andKenneth R Westerback
2013-11-04substantial namespace cleanup. Might go a little bit too far, but weTheo de Raadt
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-05-21Provide a function that handles the scheduling of work units. ThisJoel Sing
2013-04-01Rename sr_crypto_rw2() to sr_crypto_dev_rw(), which actually reflects theJoel Sing
2013-04-01Validate the I/O request when it is first received, rather than waitingJoel Sing
2013-03-31Use consistent error handling when validating the number of chunksJoel Sing
2013-03-31The return value of sd_free_resources() is never checked and all of theJoel Sing
2013-03-30Provide a default discipline interrupt handling function and migrate all ofJoel Sing
2013-03-29sd_wu_pending is only decremented when scsi_done() or scsi_io_put() areJoel Sing
2013-03-02sr_alloc_resources() and sr_free_resources() can never be called withoutJoel Sing
2013-01-18Convert softraid crypto to the new ccb and workunit completion functions.Joel Sing
2013-01-16Set resid to zero if the scsi transfer completed without error.Joel Sing
2013-01-15Always initialise the discipline name, not just when we are doing a create.Joel Sing
2013-01-15Keep a function pointer to the per-discipline I/O interrupt handler in theJoel Sing
2012-10-09Provide a mechanism for the kernel to directly pass a mask key through toJoel Sing
2012-10-08Provide a mechanism for the kernel to pass data through to the disciplineJoel Sing
2012-01-30Prevent softraid from being used with devices that do not have a sectorJoel Sing
2012-01-22Convert softraid(4) to new bio(4) status interface. This allows bioctl(8)Joel Sing
2012-01-22Move list initialisation to the start of the function - this prevents usJoel Sing
2011-12-26Provide default set chunk state and set volume state functions whichJoel Sing
2011-12-25Initialise discipline function pointers with defaults and only overrideJoel Sing
2011-09-20Mark softraid crypto volumes as being capable of auto assembly, since theyJoel Sing
2011-09-20Simplify the crypto descriptor handling by changing the list head, insteadJoel Sing
2011-09-18Add support for variable length optional metadata in softraid(4). ThisJoel Sing