Lines Matching refs:tfm_mutex
593 struct mutex *tfm_mutex; member
644 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
651 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
843 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
863 struct mutex *tfm_mutex; member
970 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()
978 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1080 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1650 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local
1663 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
1693 mutex_lock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1696 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1710 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1719 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
2183 struct mutex *tfm_mutex = NULL; in write_tag_3_packet() local
2196 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in write_tag_3_packet()
2278 mutex_lock(tfm_mutex); in write_tag_3_packet()
2282 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2290 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2307 mutex_unlock(tfm_mutex); in write_tag_3_packet()