Home
last modified time | relevance | path

Searched refs:tfm_mutex (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/fs/ecryptfs/
Dkeystore.c607 struct mutex *tfm_mutex; member
658 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
665 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
858 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
878 struct mutex *tfm_mutex; member
985 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()
993 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1094 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1664 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local
1677 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
[all …]
Dcrypto.c1719 struct mutex **tfm_mutex, in ecryptfs_get_tfm_and_mutex_for_cipher_name() argument
1726 (*tfm_mutex) = NULL; in ecryptfs_get_tfm_and_mutex_for_cipher_name()
1738 (*tfm_mutex) = &key_tfm->key_tfm_mutex; in ecryptfs_get_tfm_and_mutex_for_cipher_name()
2091 struct mutex *tfm_mutex; in ecryptfs_set_f_namelen() local
2100 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in ecryptfs_set_f_namelen()
2107 mutex_lock(tfm_mutex); in ecryptfs_set_f_namelen()
2109 mutex_unlock(tfm_mutex); in ecryptfs_set_f_namelen()
Decryptfs_kernel.h677 struct mutex **tfm_mutex,