mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Fix typos in modules/icp/
Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Closes #9239
This commit is contained in:
committed by
Tony Hutter
parent
bcfa65802c
commit
8c01eb1c4a
@@ -103,7 +103,7 @@ kcf_mech_entry_tab_t kcf_mech_tabs_tab[KCF_LAST_OPSCLASS + 1] = {
|
||||
* Per-algorithm internal thresholds for the minimum input size of before
|
||||
* offloading to hardware provider.
|
||||
* Dispatching a crypto operation to a hardware provider entails paying the
|
||||
* cost of an additional context switch. Measurments with Sun Accelerator 4000
|
||||
* cost of an additional context switch. Measurements with Sun Accelerator 4000
|
||||
* shows that 512-byte jobs or smaller are better handled in software.
|
||||
* There is room for refinement here.
|
||||
*
|
||||
|
||||
@@ -182,7 +182,7 @@ kcf_areqnode_alloc(kcf_provider_desc_t *pd, kcf_context_t *ictx,
|
||||
* reached, signal the creator thread for more threads.
|
||||
*
|
||||
* If the two conditions above are not met, we don't need to do
|
||||
* any thing. The request will be picked up by one of the
|
||||
* anything. The request will be picked up by one of the
|
||||
* worker threads when it becomes available.
|
||||
*/
|
||||
static int
|
||||
@@ -1182,7 +1182,7 @@ kcf_aop_done(kcf_areq_node_t *areq, int error)
|
||||
|
||||
/*
|
||||
* Handle recoverable errors. This has to be done first
|
||||
* before doing any thing else in this routine so that
|
||||
* before doing anything else in this routine so that
|
||||
* we do not change the state of the request.
|
||||
*/
|
||||
if (error != CRYPTO_SUCCESS && IS_RECOVERABLE(error)) {
|
||||
@@ -1432,7 +1432,7 @@ crypto_cancel_req(crypto_req_id_t id)
|
||||
/*
|
||||
* There is no interface to remove an entry
|
||||
* once it is on the taskq. So, we do not do
|
||||
* any thing for a hardware provider.
|
||||
* anything for a hardware provider.
|
||||
*/
|
||||
break;
|
||||
default:
|
||||
@@ -1535,7 +1535,7 @@ kcf_misc_kstat_update(kstat_t *ksp, int rw)
|
||||
}
|
||||
|
||||
/*
|
||||
* Allocate and initiatize a kcf_dual_req, used for saving the arguments of
|
||||
* Allocate and initialize a kcf_dual_req, used for saving the arguments of
|
||||
* a dual operation or an atomic operation that has to be internally
|
||||
* simulated with multiple single steps.
|
||||
* crq determines the memory allocation flags.
|
||||
@@ -1551,7 +1551,7 @@ kcf_alloc_req(crypto_call_req_t *crq)
|
||||
if (kcr == NULL)
|
||||
return (NULL);
|
||||
|
||||
/* Copy the whole crypto_call_req struct, as it isn't persistant */
|
||||
/* Copy the whole crypto_call_req struct, as it isn't persistent */
|
||||
if (crq != NULL)
|
||||
kcr->kr_callreq = *crq;
|
||||
else
|
||||
@@ -1579,7 +1579,7 @@ kcf_next_req(void *next_req_arg, int status)
|
||||
kcf_provider_desc_t *pd = NULL;
|
||||
crypto_dual_data_t *ct = NULL;
|
||||
|
||||
/* Stop the processing if an error occured at this step */
|
||||
/* Stop the processing if an error occurred at this step */
|
||||
if (error != CRYPTO_SUCCESS) {
|
||||
out:
|
||||
areq->an_reqarg = next_req->kr_callreq;
|
||||
|
||||
Reference in New Issue
Block a user