Searched refs:policy_u (Results 1 – 2 of 2) sorted by relevance
302 bool fscrypt_supported_policy(const union fscrypt_policy *policy_u, in fscrypt_supported_policy() argument305 switch (policy_u->version) { in fscrypt_supported_policy()307 return fscrypt_supported_v1_policy(&policy_u->v1, inode); in fscrypt_supported_policy()309 return fscrypt_supported_v2_policy(&policy_u->v2, inode); in fscrypt_supported_policy()326 const union fscrypt_policy *policy_u, in fscrypt_new_context() argument331 switch (policy_u->version) { in fscrypt_new_context()333 const struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_new_context()349 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context()384 int fscrypt_policy_from_context(union fscrypt_policy *policy_u, in fscrypt_policy_from_context() argument388 memset(policy_u, 0, sizeof(*policy_u)); in fscrypt_policy_from_context()[all …]
714 bool fscrypt_supported_policy(const union fscrypt_policy *policy_u,716 int fscrypt_policy_from_context(union fscrypt_policy *policy_u,