Home
last modified time | relevance | path

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

/Linux-v4.19/fs/crypto/
Dpolicy.c160 const struct fscrypt_info *parent_ci, *child_ci; in fscrypt_has_permitted_context() local
199 child_ci = child->i_crypt_info; in fscrypt_has_permitted_context()
201 if (parent_ci && child_ci) { in fscrypt_has_permitted_context()
202 return memcmp(parent_ci->ci_master_key, child_ci->ci_master_key, in fscrypt_has_permitted_context()
204 (parent_ci->ci_data_mode == child_ci->ci_data_mode) && in fscrypt_has_permitted_context()
206 child_ci->ci_filename_mode) && in fscrypt_has_permitted_context()
207 (parent_ci->ci_flags == child_ci->ci_flags); in fscrypt_has_permitted_context()