Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ecryptfs/keystore.c decrypt_passphrase_encrypted_session_key() -> ecryptfs_get_tfm_and_mutex_for_cipher_name()

Type Parameter Key Value
PARAM_VALUE 0 tfm 5900204185594527744
PARAM_VALUE 1 tfm_mutex 1153131395267223552
BUF_SIZE 2 cipher_name 32
RX_PATH
TASK_NOT_RUNNING
LOCK2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_inode->i_rwsem
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct ecryptfs_crypt_stat)->cs_mutex

fs/ecryptfs/keystore.c ecryptfs_parse_tag_70_packet() -> ecryptfs_get_tfm_and_mutex_for_cipher_name()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 1 tfm_mutex 4096-ptr_max
PARAM_VALUE 2 cipher_name 4096-ptr_max
BUF_SIZE 2 cipher_name 32
RX_PATH
TASK_NOT_RUNNING

fs/ecryptfs/keystore.c ecryptfs_write_tag_70_packet() -> ecryptfs_get_tfm_and_mutex_for_cipher_name()

Type Parameter Key Value
PARAM_VALUE 0 tfm 4096-ptr_max
PARAM_VALUE 1 tfm_mutex 4096-ptr_max
BUF_SIZE 2 cipher_name 32
RX_PATH
TASK_NOT_RUNNING

fs/ecryptfs/keystore.c write_tag_3_packet() -> ecryptfs_get_tfm_and_mutex_for_cipher_name()

Type Parameter Key Value
PARAM_VALUE 0 tfm 8692497792580349952
PARAM_VALUE 1 tfm_mutex 2652265105878896640
PARAM_VALUE 1 *tfm_mutex 0
BUF_SIZE 2 cipher_name 32
RX_PATH
TASK_NOT_RUNNING
LOCK2 &crypt_stat->keysig_list_mutex
LOCK2 &walker->global_auth_tok_key->sem
HALF_LOCKED2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct ecryptfs_crypt_stat)->keysig_list_mutex

fs/ecryptfs/crypto.c ecryptfs_set_f_namelen() -> ecryptfs_get_tfm_and_mutex_for_cipher_name()

Type Parameter Key Value
PARAM_VALUE 0 tfm 7484152862758092800
PARAM_VALUE 1 tfm_mutex 6867810419333640192
BUF_SIZE 2 cipher_name 32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount