Home
last modified time | relevance | path

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

/Linux-v6.1/fs/crypto/
Dkeysetup.c143 tfm = fscrypt_allocate_skcipher(ci->ci_mode, raw_key, ci->ci_inode); in fscrypt_prepare_key()
177 const struct inode *inode = ci->ci_inode; in setup_per_mode_enc_key()
270 WARN_ON(ci->ci_inode->i_ino == 0); in fscrypt_hash_inode_number()
273 ci->ci_hashed_ino = (u32)siphash_1u64(ci->ci_inode->i_ino, in fscrypt_hash_inode_number()
312 if (ci->ci_inode->i_ino) in fscrypt_setup_iv_ino_lblk_32_key()
438 mk = fscrypt_find_master_key(ci->ci_inode->i_sb, &mk_spec); in setup_file_encryption_key()
498 fscrypt_destroy_prepared_key(ci->ci_inode->i_sb, in put_crypt_info()
537 crypt_info->ci_inode = inode; in fscrypt_setup_encryption_info()
Dkeysetup_v1.c235 dk->dk_sb = ci->ci_inode->i_sb; in fscrypt_get_direct_key()
309 if (key == ERR_PTR(-ENOKEY) && ci->ci_inode->i_sb->s_cop->key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
310 key = find_and_lock_process_key(ci->ci_inode->i_sb->s_cop->key_prefix, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
Dinline_crypt.c44 struct super_block *sb = ci->ci_inode->i_sb; in fscrypt_get_dun_bytes()
97 const struct inode *inode = ci->ci_inode; in fscrypt_select_encryption_impl()
160 const struct inode *inode = ci->ci_inode; in fscrypt_prepare_inline_crypt_key()
Dcrypto.c89 WARN_ON_ONCE(ci->ci_inode->i_ino > U32_MAX); in fscrypt_generate_iv()
90 lblk_num |= (u64)ci->ci_inode->i_ino << 32; in fscrypt_generate_iv()
Dfscrypt_private.h221 struct inode *ci_inode; member
Dkeyring.c888 inode = ci->ci_inode; in evict_dentries_for_decrypted_inodes()
932 ci_master_key_link)->ci_inode; in check_for_busy_inodes()