Searched refs:tfm_mutex (Results 1 – 3 of 3) sorted by relevance
600 struct mutex *tfm_mutex; member654 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()661 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()869 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()887 struct mutex *tfm_mutex; member997 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()1005 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()1101 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()1671 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local1685 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()[all …]
1879 struct mutex **tfm_mutex, in ecryptfs_get_tfm_and_mutex_for_cipher_name() argument1886 (*tfm_mutex) = NULL; in ecryptfs_get_tfm_and_mutex_for_cipher_name()1898 (*tfm_mutex) = &key_tfm->key_tfm_mutex; in ecryptfs_get_tfm_and_mutex_for_cipher_name()2254 struct mutex *tfm_mutex; in ecryptfs_set_f_namelen() local2263 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in ecryptfs_set_f_namelen()2270 mutex_lock(tfm_mutex); in ecryptfs_set_f_namelen()2272 mutex_unlock(tfm_mutex); in ecryptfs_set_f_namelen()
658 struct mutex **tfm_mutex,