Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/crypto/
H A Dkeysetup.c140 tfm = fscrypt_allocate_skcipher(ci->ci_mode, raw_key, ci->ci_inode); in fscrypt_prepare_key()
175 const struct inode *inode = ci->ci_inode; in setup_per_mode_enc_key()
203 fscrypt_warn(ci->ci_inode, in setup_per_mode_enc_key()
210 fscrypt_warn(ci->ci_inode, in setup_per_mode_enc_key()
292 WARN_ON(ci->ci_inode->i_ino == 0); in fscrypt_hash_inode_number()
295 ci->ci_hashed_ino = (u32)siphash_1u64(ci->ci_inode->i_ino, in fscrypt_hash_inode_number()
334 if (ci->ci_inode->i_ino) in fscrypt_setup_iv_ino_lblk_32_key()
348 fscrypt_warn(ci->ci_inode, in fscrypt_setup_v2_file_key()
478 mk = fscrypt_find_master_key(ci->ci_inode->i_sb, &mk_spec); in setup_file_encryption_key()
584 crypt_info->ci_inode = inode; in fscrypt_setup_encryption_info()
H A Dinline_crypt.c49 struct super_block *sb = ci->ci_inode->i_sb; in fscrypt_get_dun_bytes()
72 const struct inode *inode = ci->ci_inode; in fscrypt_select_encryption_impl()
136 const struct inode *inode = ci->ci_inode; in fscrypt_prepare_inline_crypt_key()
H A Dkeysetup_v1.c308 if (key == ERR_PTR(-ENOKEY) && ci->ci_inode->i_sb->s_cop->key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
309 key = find_and_lock_process_key(ci->ci_inode->i_sb->s_cop->key_prefix, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
H A 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()
H A Dfscrypt_private.h218 struct inode *ci_inode; member
H A Dkeyring.c875 inode = ci->ci_inode; in evict_dentries_for_decrypted_inodes()
919 ci_master_key_link)->ci_inode; in check_for_busy_inodes()