Searched refs:i_crypt_info (Results 1 - 9 of 9) sorted by path

/linux-master/fs/crypto/
H A Dbio.c114 const struct fscrypt_inode_info *ci = inode->i_crypt_info;
H A Dcrypto.c187 const struct fscrypt_inode_info *ci = inode->i_crypt_info;
246 return fscrypt_crypt_data_unit(inode->i_crypt_info, FS_ENCRYPT,
270 const struct fscrypt_inode_info *ci = inode->i_crypt_info;
321 return fscrypt_crypt_data_unit(inode->i_crypt_info, FS_DECRYPT,
H A Dfname.c97 const struct fscrypt_inode_info *ci = inode->i_crypt_info;
154 const struct fscrypt_inode_info *ci = inode->i_crypt_info;
296 return __fscrypt_fname_encrypted_size(&inode->i_crypt_info->ci_policy,
565 const struct fscrypt_inode_info *ci = dir->i_crypt_info;
H A Dhooks.c180 ci = inode->i_crypt_info;
H A Dinline_crypt.c231 return inode->i_crypt_info->ci_inlinecrypt;
275 ci = inode->i_crypt_info;
365 if (bc->bc_key != inode->i_crypt_info->ci_enc_key.blk_key)
368 fscrypt_generate_dun(inode->i_crypt_info, next_lblk, next_dun);
470 ci = inode->i_crypt_info;
H A Dkeysetup.c595 * For existing inodes, multiple tasks may race to set ->i_crypt_info.
597 * fscrypt_get_inode_info(). I.e., here we publish ->i_crypt_info with
600 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) {
602 * We won the race and set ->i_crypt_info to our crypt_info.
634 * Set up ->i_crypt_info, if it hasn't already been done.
636 * Note: unless ->i_crypt_info is already set, this isn't %GFP_NOFS-safe. So
639 * Return: 0 if ->i_crypt_info was set or was already set, *or* if the
694 * If the directory is encrypted, set up its ->i_crypt_info in preparation for
696 * encrypted, set up its ->i_crypt_info and set *encrypt_ret=true.
753 put_crypt_info(inode->i_crypt_info);
[all...]
H A Dpolicy.c728 return &dir->i_crypt_info->ci_policy;
747 struct fscrypt_inode_info *ci = inode->i_crypt_info;
772 struct fscrypt_inode_info *ci = inode->i_crypt_info;
/linux-master/include/linux/
H A Dfs.h734 struct fscrypt_inode_info *i_crypt_info; member in struct:inode
H A Dfscrypt.h202 * I.e., another task may publish ->i_crypt_info concurrently, executing
206 return smp_load_acquire(&inode->i_crypt_info);

Completed in 255 milliseconds