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()
268 const struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_new_context() local
284 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context() local
330 struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_policy_from_context() local
345 struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_policy_from_context() local
366 static int fscrypt_get_policy(struct inode *inode, union fscrypt_policy *policy) in fscrypt_get_policy()
390 const union fscrypt_policy *policy) in set_encryption_policy()
438 union fscrypt_policy policy; in fscrypt_ioctl_set_policy() local
504 union fscrypt_policy policy; in fscrypt_ioctl_get_policy() local
524 union fscrypt_policy *policy = (union fscrypt_policy *)&arg.policy; in fscrypt_ioctl_get_policy_ex() local
728 union fscrypt_policy *policy = NULL; in fscrypt_set_test_dummy_encryption() local
806 const union fscrypt_policy *policy = fscrypt_get_dummy_policy(sb); in fscrypt_show_test_dummy_encryption() local