Searched refs:child_ci (Results 1 – 2 of 2) sorted by relevance
149 const struct ext4_crypt_info *parent_ci, *child_ci; in ext4_is_child_context_consistent_with_parent() local188 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()
159 const struct fscrypt_info *parent_ci, *child_ci; in fscrypt_has_permitted_context() local198 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()