Home
last modified time | relevance | path

Searched refs:i_crypt_info (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/fs/crypto/
Dfname.c43 struct crypto_skcipher *tfm = inode->i_crypt_info->ci_ctfm; in fname_encrypt()
97 struct crypto_skcipher *tfm = inode->i_crypt_info->ci_ctfm; in fname_decrypt()
187 int padding = 4 << (inode->i_crypt_info->ci_flags & in fscrypt_fname_encrypted_size()
270 if (inode->i_crypt_info) in fscrypt_fname_disk_to_usr()
337 if (dir->i_crypt_info) { in fscrypt_setup_filename()
Dpolicy.c198 parent_ci = parent->i_crypt_info; in fscrypt_has_permitted_context()
199 child_ci = child->i_crypt_info; in fscrypt_has_permitted_context()
249 ci = parent->i_crypt_info; in fscrypt_inherit_context()
Dkeyinfo.c297 if (inode->i_crypt_info) in fscrypt_get_encryption_info()
393 if (cmpxchg(&inode->i_crypt_info, NULL, crypt_info) == NULL) in fscrypt_get_encryption_info()
406 put_crypt_info(inode->i_crypt_info); in fscrypt_put_encryption_info()
407 inode->i_crypt_info = NULL; in fscrypt_put_encryption_info()
Dcrypto.c101 struct fscrypt_info *ci = inode->i_crypt_info; in fscrypt_get_ctx()
148 struct fscrypt_info *ci = inode->i_crypt_info; in fscrypt_do_page_crypto()
335 dir_has_key = (d_inode(dir)->i_crypt_info != NULL); in fscrypt_d_revalidate()
/Linux-v4.19/include/linux/
Dfscrypt_supp.h52 return (inode->i_crypt_info != NULL); in fscrypt_has_encryption_key()
Dfs.h683 struct fscrypt_info *i_crypt_info; member