Lines Matching defs:policy
80 static bool supported_iv_ino_lblk_policy(const struct fscrypt_policy_v2 *policy, in supported_iv_ino_lblk_policy()
130 static bool fscrypt_supported_v1_policy(const struct fscrypt_policy_v1 *policy, in fscrypt_supported_v1_policy()
164 static bool fscrypt_supported_v2_policy(const struct fscrypt_policy_v2 *policy, in fscrypt_supported_v2_policy()
265 const struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_new_context() local
281 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context() local
327 struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_policy_from_context() local
342 struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_policy_from_context() local
363 static int fscrypt_get_policy(struct inode *inode, union fscrypt_policy *policy) in fscrypt_get_policy()
387 const union fscrypt_policy *policy) in set_encryption_policy()
435 union fscrypt_policy policy; in fscrypt_ioctl_set_policy() local
501 union fscrypt_policy policy; in fscrypt_ioctl_get_policy() local
521 union fscrypt_policy *policy = (union fscrypt_policy *)&arg.policy; in fscrypt_ioctl_get_policy_ex() local
719 union fscrypt_policy *policy = NULL; in fscrypt_set_test_dummy_encryption() local
797 const union fscrypt_policy *policy = fscrypt_get_dummy_policy(sb); in fscrypt_show_test_dummy_encryption() local