Searched refs:policy_u (Results 1 – 2 of 2) sorted by relevance
237 bool fscrypt_supported_policy(const union fscrypt_policy *policy_u, in fscrypt_supported_policy() argument240 switch (policy_u->version) { in fscrypt_supported_policy()242 return fscrypt_supported_v1_policy(&policy_u->v1, inode); in fscrypt_supported_policy()244 return fscrypt_supported_v2_policy(&policy_u->v2, inode); in fscrypt_supported_policy()261 const union fscrypt_policy *policy_u, in fscrypt_new_context() argument266 switch (policy_u->version) { in fscrypt_new_context()268 const struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_new_context()284 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context()318 int fscrypt_policy_from_context(union fscrypt_policy *policy_u, in fscrypt_policy_from_context() argument322 memset(policy_u, 0, sizeof(*policy_u)); in fscrypt_policy_from_context()[all …]
687 bool fscrypt_supported_policy(const union fscrypt_policy *policy_u,689 int fscrypt_policy_from_context(union fscrypt_policy *policy_u,