Defined in 1 files as a function:

Referenced in 20 files:

Smatch caller information:

net/ceph/messenger_v2.c setup_crypto() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
NOCHECK_CALL
LOCK2 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

crypto/adiantum.c adiantum_setkey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ac->mutex
HALF_LOCKED2 &crypt_stat->cs_mutex
HALF_LOCKED2 &crypt_stat->cs_tfm_mutex
HALF_LOCKED2 &crypt_stat->keysig_list_mutex
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 &walker->global_auth_tok_key->sem
HALF_LOCKED2 global &key_tfm_list_mutex
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/inside-secure/eip93/eip93-common.c eip93_hmac_setkey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 6353082116963323904
PARAM_VALUE 0 wait->err 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

crypto/gcm.c crypto_gcm_setkey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &sdata->sec_mtx
HALF_LOCKED2 sk

fs/erofs/decompressor_crypto.c __z_erofs_crypto_decompress() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 3876212091128655872
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pcl->lock
LOCK2 global &z_erofs_crypto_rwsem
TYPE_LOCK (struct z_erofs_pcluster)->lock

drivers/crypto/starfive/jh7110-hash.c starfive_hash_long_setkey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 3909069926577106944
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

drivers/crypto/qce/sha.c qce_ahash_hmac_setkey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 1289589584987193344
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c kmb_ocs_hcu_setkey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4359561375826522112
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

crypto/algif_aead.c aead_accept_parent_nokey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
MEM_ZERO 0 wait
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk
HALF_LOCKED2 &pool->lock

mm/zswap.c zswap_cpu_comp_prepare() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
NOCHECK_CALL

crypto/akcipher.c crypto_akcipher_sync_prep() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 1775690338895724584,5614711960568672296
PARAM_VALUE 0 wait->completion.done 0
NOCHECK_CALL

crypto/testmgr.c do_test_kpp() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 5242030953232142336
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_acomp() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 2851200260468441088
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_acomp() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 2851200260468441088
PARAM_VALUE 0 wait->completion.done 0
PARAM_VALUE 0 wait->completion.wait.task_list.next 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_acomp() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 2851200260468441088
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_akcipher_one() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 5760331999032782848
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

crypto/testmgr.c test_akcipher_one() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 5760331999032782848
PARAM_VALUE 0 wait->completion.done 0
PARAM_VALUE 0 wait->completion.wait.task_list.next 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 global &once_lock

crypto/rsassa-pkcs1.c rsassa_pkcs1_verify() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 2436159083210842112
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/tls/tls_sw.c init_ctx_rx() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk
HALF_LOCKED2 global &device_offload_lock

net/tls/tls_sw.c init_ctx_tx() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk

crypto/algif_skcipher.c skcipher_accept_parent_nokey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
MEM_ZERO 0 wait
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk
HALF_LOCKED2 &pool->lock

drivers/nvme/common/auth.c nvme_auth_gen_pubkey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 6382118708182814720
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &nvmet_config_sem

drivers/nvme/common/auth.c nvme_auth_gen_session_key() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 6344943969125990400
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

crypto/tcrypt.c test_aead_speed() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 5051785739103870976
NOCHECK_CALL

crypto/tcrypt.c test_ahash_speed_common() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 1939467133127630848
NOCHECK_CALL

crypto/tcrypt.c test_mb_aead_speed() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
NOCHECK_CALL

crypto/tcrypt.c test_mb_skcipher_speed() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
NOCHECK_CALL

crypto/tcrypt.c test_skcipher_speed() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 7479753319029510144
NOCHECK_CALL

crypto/algif_hash.c hash_accept_parent_nokey() -> crypto_init_wait()

Type Parameter Key Value
PARAM_VALUE 0 wait 4096-ptr_max
MEM_ZERO 0 wait
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk
HALF_LOCKED2 &pool->lock