Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- crypto/algapi.c, line 969
- crypto/cryptd.c, line 142
- crypto/crypto_engine.c, line 202
- drivers/crypto/atmel-aes.c, line 904
- drivers/crypto/atmel-tdes.c, line 556
- drivers/crypto/hifn_795x.c, line 1975
- drivers/crypto/inside-secure/safexcel_cipher.c
- drivers/crypto/inside-secure/safexcel_hash.c
- drivers/crypto/marvell/cesa/cesa.c, line 171
- drivers/crypto/mxs-dcp.c
- drivers/crypto/qce/core.c, line 99
- drivers/crypto/s5p-sss.c, line 1985
- include/crypto/internal/hash.h, line 265
Smatch caller information:
drivers/crypto/qce/core.c qce_handle_queue() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 1 | request | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_enqueue() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_exit_inv() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4939993345779593216 |
| PARAM_VALUE | 1 | request->complete | 1624078799481573376 |
| PARAM_VALUE | 1 | request->data | 6925003494585454592 |
| PARAM_VALUE | 1 | request->tfm | 4096-ptr_max |
| MEM_ZERO | 1 | request | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/inside-secure/safexcel_hash.c safexcel_handle_inv_result() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 1 | request | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/inside-secure/safexcel_cipher.c safexcel_cipher_exit_inv() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 736519818148593664,1361383780169351200 |
| PARAM_VALUE | 1 | request->complete | 1624078799481573376 |
| PARAM_VALUE | 1 | request->data | 6648109292769538048,6900334816095891456 |
| PARAM_VALUE | 1 | request->flags | 1024 |
| PARAM_VALUE | 1 | request->tfm | 4096-ptr_max |
| PARAM_VALUE | 1 | request->tfm->__crt_ctx->base.exit_inv | 1 |
| DATA_SOURCE | 1 | request | $1 |
| MEM_ZERO | 1 | request | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/crypto/inside-secure/safexcel_cipher.c safexcel_handle_inv_result() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 1 | request | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | _T->lock |
drivers/crypto/inside-secure/safexcel_cipher.c safexcel_queue_req() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| PARAM_VALUE | 1 | request->tfm->__crt_ctx->base.ctxr | 1-u64max |
| PARAM_VALUE | 1 | request->tfm->__crt_ctx->base.priv->context_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | request->tfm->__crt_ctx->base.priv->context_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | request->tfm->__crt_ctx->base.priv->context_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | request->tfm->__crt_ctx->base.priv->context_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | request->tfm->__crt_ctx->base.priv->context_pool->size | 0-s32max |
| DATA_SOURCE | 1 | request | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh |
crypto/crypto_engine.c crypto_transfer_request() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 1 | request | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &engine->queue_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct crypto_engine)->queue_lock |
drivers/crypto/s5p-sss.c ahash_enqueue_request() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 0 | queue | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dd->hash_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct s5p_aes_dev)->hash_lock |
drivers/crypto/s5p-sss.c s5p_aes_handle_req() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex | ||
| TYPE_LOCK | (struct s5p_aes_dev)->lock |
drivers/crypto/atmel-sha.c ahash_enqueue_request() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 0 | queue | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dd->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct atmel_sha_dev)->lock |
drivers/crypto/img-hash.c ahash_enqueue_request() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 0 | queue | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct img_hash_dev)->lock |
drivers/crypto/marvell/cesa/cesa.c mv_cesa_queue_req() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 1 | request | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &engine->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mv_cesa_engine)->lock |
drivers/crypto/atmel-tdes.c atmel_tdes_handle_queue() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dd->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex | ||
| TYPE_LOCK | (struct atmel_tdes_dev)->lock |
drivers/crypto/atmel-aes.c atmel_aes_handle_queue() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| DATA_SOURCE | 1 | request | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dd->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct atmel_aes_dev)->lock |
crypto/cryptd.c cryptd_enqueue_request() -> crypto_enqueue_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 4096-ptr_max |
| PARAM_VALUE | 1 | request->data | 4096-ptr_max |
| DATA_SOURCE | 1 | request | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh |