Searched refs:tfm_mutex (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | keystore.c | 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() 2183 struct mutex *tfm_mutex = NULL; write_tag_3_packet() local [all...] |
H A D | crypto.c | 1690 * @tfm_mutex: set to mutex for cached tfm found, or new tfm created 1693 * Sets pointers to @tfm & @tfm_mutex matching @cipher_name. 1698 struct mutex **tfm_mutex, in ecryptfs_get_tfm_and_mutex_for_cipher_name() 1705 (*tfm_mutex) = NULL; in ecryptfs_get_tfm_and_mutex_for_cipher_name() 1717 (*tfm_mutex) = &key_tfm->key_tfm_mutex; in ecryptfs_get_tfm_and_mutex_for_cipher_name() 2070 struct mutex *tfm_mutex; in ecryptfs_set_f_namelen() local 2079 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in ecryptfs_set_f_namelen() 2086 mutex_lock(tfm_mutex); in ecryptfs_set_f_namelen() 2088 mutex_unlock(tfm_mutex); in ecryptfs_set_f_namelen() 1697 ecryptfs_get_tfm_and_mutex_for_cipher_name(struct crypto_skcipher **tfm, struct mutex **tfm_mutex, char *cipher_name) ecryptfs_get_tfm_and_mutex_for_cipher_name() argument
|
H A D | ecryptfs_kernel.h | 663 struct mutex **tfm_mutex,
|
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | keystore.c | 594 struct mutex *tfm_mutex; member 645 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet() 652 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet() 844 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet() 864 struct mutex *tfm_mutex; member 971 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet() 979 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet() 1081 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet() 1651 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local 1664 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key() 2184 struct mutex *tfm_mutex = NULL; write_tag_3_packet() local [all...] |
H A D | crypto.c | 1662 * @tfm_mutex: set to mutex for cached tfm found, or new tfm created 1665 * Sets pointers to @tfm & @tfm_mutex matching @cipher_name. 1670 struct mutex **tfm_mutex, in ecryptfs_get_tfm_and_mutex_for_cipher_name() 1677 (*tfm_mutex) = NULL; in ecryptfs_get_tfm_and_mutex_for_cipher_name() 1689 (*tfm_mutex) = &key_tfm->key_tfm_mutex; in ecryptfs_get_tfm_and_mutex_for_cipher_name() 2043 struct mutex *tfm_mutex; in ecryptfs_set_f_namelen() local 2052 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in ecryptfs_set_f_namelen() 2059 mutex_lock(tfm_mutex); in ecryptfs_set_f_namelen() 2061 mutex_unlock(tfm_mutex); in ecryptfs_set_f_namelen() 1669 ecryptfs_get_tfm_and_mutex_for_cipher_name(struct crypto_skcipher **tfm, struct mutex **tfm_mutex, char *cipher_name) ecryptfs_get_tfm_and_mutex_for_cipher_name() argument
|
H A D | ecryptfs_kernel.h | 648 struct mutex **tfm_mutex,
|
Completed in 15 milliseconds