Home
last modified time | relevance | path

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

/fs/crypto/
Dpolicy.c237 bool fscrypt_supported_policy(const union fscrypt_policy *policy_u, in fscrypt_supported_policy() argument
240 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() argument
266 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() argument
322 memset(policy_u, 0, sizeof(*policy_u)); in fscrypt_policy_from_context()
[all …]
Dfscrypt_private.h687 bool fscrypt_supported_policy(const union fscrypt_policy *policy_u,
689 int fscrypt_policy_from_context(union fscrypt_policy *policy_u,