Home
last modified time | relevance | path

Searched refs:child_ci (Results 1 – 2 of 2) sorted by relevance

/fs/ext4/
Dcrypto_policy.c149 const struct ext4_crypt_info *parent_ci, *child_ci; in ext4_is_child_context_consistent_with_parent() local
188 child_ci = EXT4_I(child)->i_crypt_info; in ext4_is_child_context_consistent_with_parent()
189 if (parent_ci && child_ci) { in ext4_is_child_context_consistent_with_parent()
190 return memcmp(parent_ci->ci_master_key, child_ci->ci_master_key, in ext4_is_child_context_consistent_with_parent()
192 (parent_ci->ci_data_mode == child_ci->ci_data_mode) && in ext4_is_child_context_consistent_with_parent()
194 child_ci->ci_filename_mode) && in ext4_is_child_context_consistent_with_parent()
195 (parent_ci->ci_flags == child_ci->ci_flags); in ext4_is_child_context_consistent_with_parent()
/fs/crypto/
Dpolicy.c159 const struct fscrypt_info *parent_ci, *child_ci; in fscrypt_has_permitted_context() local
198 child_ci = child->i_crypt_info; in fscrypt_has_permitted_context()
200 if (parent_ci && child_ci) { in fscrypt_has_permitted_context()
201 return memcmp(parent_ci->ci_master_key, child_ci->ci_master_key, in fscrypt_has_permitted_context()
203 (parent_ci->ci_data_mode == child_ci->ci_data_mode) && in fscrypt_has_permitted_context()
205 child_ci->ci_filename_mode) && in fscrypt_has_permitted_context()
206 (parent_ci->ci_flags == child_ci->ci_flags); in fscrypt_has_permitted_context()