Lines Matching defs:policy
36 int fscrypt_policy_to_key_spec(const union fscrypt_policy *policy, in fscrypt_policy_to_key_spec()
120 static bool supported_iv_ino_lblk_policy(const struct fscrypt_policy_v2 *policy, in supported_iv_ino_lblk_policy()
176 static bool fscrypt_supported_v1_policy(const struct fscrypt_policy_v1 *policy, in fscrypt_supported_v1_policy()
210 static bool fscrypt_supported_v2_policy(const struct fscrypt_policy_v2 *policy, in fscrypt_supported_v2_policy()
340 const struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_new_context() local
356 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context() local
403 struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_policy_from_context() local
418 struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_policy_from_context() local
440 static int fscrypt_get_policy(struct inode *inode, union fscrypt_policy *policy) in fscrypt_get_policy()
464 const union fscrypt_policy *policy) in set_encryption_policy()
512 union fscrypt_policy policy; in fscrypt_ioctl_set_policy() local
578 union fscrypt_policy policy; in fscrypt_ioctl_get_policy() local
598 union fscrypt_policy *policy = (union fscrypt_policy *)&arg.policy; in fscrypt_ioctl_get_policy_ex() local
814 union fscrypt_policy *policy; in fscrypt_parse_test_dummy_encryption() local
901 const union fscrypt_policy *policy = fscrypt_get_dummy_policy(sb); in fscrypt_show_test_dummy_encryption() local